May I ask how to animate a box moving from left to right in 2 second interval?
I searched the forum and it seems the delay(), function is not working in a for loop...
What I actually want to do is to animate a serious of rectangular shapes one by one in about 1 second interval, each of them is drawn by referring to an external file.
see my post:
http://forum.processing.org/topic/how-to-create-a-color-legend-with-red-indicating-the-max-value-and-blue-the-min-value#25080000001741593
Thanks in advance!
- J
I searched the forum and it seems the delay(), function is not working in a for loop...
What I actually want to do is to animate a serious of rectangular shapes one by one in about 1 second interval, each of them is drawn by referring to an external file.
see my post:
http://forum.processing.org/topic/how-to-create-a-color-legend-with-red-indicating-the-max-value-and-blue-the-min-value#25080000001741593
Thanks in advance!
- J
1