14.04.2014 Views

Hello Processing - Vula

Hello Processing - Vula

Hello Processing - Vula

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

An Introduction To Programming With <strong>Processing</strong><br />

The typical “<strong>Hello</strong> World” program is many a programmers first attempt at coding.<br />

If your console window has the phrase “<strong>Hello</strong> World” printed in it,<br />

congratulations you've successfully completed the <strong>Hello</strong> World 1.0 program!<br />

Like I said earlier, don't expect to be impressed right away, building a more useful<br />

program is going to take a little more practice. Nonetheless let's have a look at<br />

what is going on here.<br />

Firstly you'll notice that the text editor has formatted the text we input in different<br />

colors.<br />

The colors denote specific meanings in <strong>Processing</strong>, for example in our <strong>Hello</strong><br />

World 1.0 program:<br />

Orange<br />

Orange is used to identify a command.<br />

Black<br />

Black identifies syntax formatting characters such as parenthesis and a statement<br />

terminator.<br />

Blue<br />

Blue identifies a string of data.<br />

<strong>Hello</strong> World Program 1.0 46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!