Monday, 16 May 2011

EXAMPLE OF VARIABLE


This is just a simple example of what a variable is in processing and what a variable does to effect a code.



The example is using the int variable where int is placed at the front of a given value so when the loop is written in this code it uses the variable for a specific reason for example (int x1=0) is code foe giving the x1 which is a co-ordinate a value which is 0. 

No comments:

Post a Comment