Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Processing
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Examples== The simplest possible version of a "Hello World" program in Processing is: <syntaxhighlight lang="arduino"> // This prints "Hello World." to the IDE console. println("Hello World."); </syntaxhighlight> However, due to the more visually oriented nature of Processing, the following code<ref name="hellomouse">{{cite web |last1=Tayste |title=Hello Mouse - OpenProcessing |url=https://openprocessing.org/sketch/1503488 |website=OpenProcessing.org |access-date=3 March 2022}}</ref> is a better example of the look and feel of the language. <syntaxhighlight lang="arduino"> // Hello mouse. void setup() { size(400, 400); stroke(255); background(192, 64, 0); } void draw() { line(150, 25, mouseX, mouseY); } </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)