Hello Processing - Vula
Hello Processing - Vula
Hello Processing - Vula
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 />
Logical Errors<br />
Logical errors are errors that do not cause the program to halt, crash or throw an<br />
error but will cause the program to act in an unexpected manner or produce<br />
unintended results. Logical errors can therefore be difficult to track down and<br />
rectify because the PDE does not indicate the specific location of an error.<br />
Keeping track of your data through documentation and organizing it into small<br />
manageable chunks can be one method of avoiding logical errors. If your program<br />
seems to have a logical error you might have to use the println() function to track<br />
the values you were hoping to have your program return to you.<br />
Display Window<br />
In our <strong>Hello</strong> World 1.0 program after pressing the Run button you will notice that<br />
a new smaller window was created. This is the Display Window and because<br />
<strong>Processing</strong> is a visually oriented language it automatically creates this window<br />
which you will usually use to draw to.<br />
The default Display window has dimensions 100 pixels in width by 100 pixels in height.<br />
<strong>Hello</strong> World Program 1.0 50