07 - Processing 101 - Setup and Draw
Loading...
5,682
Loading...
Uploader Comments (ste1438)
see all
All Comments (9)
-
it will not let me change framerate it sends me to the processing web page
-
Sample Text, awe yeah(;
-
awesome tutorials man, just started watching them tonight and i think i just skipped ahead a quarter semester.
-
damn, im loving these tutorials man...
-
hou je gedachte is bij de les
-
y does my ellipse have a trail behind it?
-
why can the variables be only defined between setup and draw instead of (also) being defined inside 'draw' ??
Loading...
how i'm doing an assignment at the moment using processing, it has a white ball bouncing around the screen and when it hits say a red wall it changes to red, though after hitting the red wall, once it's the equal distance of 2 ball lengths away it has faded back to white... hopefully that made some sense, thank you for an help you can give =)
Brisben10 1 year ago
@Brisben10 I can't determine much without seeing the actual code - there could be a number of things that could cause that.
ste1438 1 year ago
You can define variables anywhere - but if you define variables in a function like draw they become encapsulated, not able to use by any other function. When you define a variable outside of a function they can be shared globally. It is fine to create variables anywhere as long as you understand the scope.
ste1438 2 years ago