


An expansion on my previous day's work included cleaning up my code a little and adding in keyboard controls for both color and animation speed. If the controls don't work - please make sure you click inside the Processing animation window and then try to press a button, otherwise it doesn't recognize your keyPress. Thanks.
==CONTROLS==
'r' or 'R' = sets fill color to Red
'g' or 'G' = sets fill color to Green
'b' or 'B' = sets fill color to Blue
Up Arrow = frame rate is 120 fps
Down Arrow = frame rate is 30 fps
I just saw Danny's comments regarding random color generation for my previous assignment, if I have some free time later I'll include a keyboard control for that as well.
No comments:
Post a Comment