Learn creative coding writing simple programs

14. New directions for our moving circle

We introduce the strokeWeight() function to change the width of the lines we draw. If we don't use strokeWeight(), the lines are very thin.
We also review some basic animation. Then (after minute 4:30) we find out how to move our circle not only from left to right, but in another directions, by making the X and Y values larger or smaller.


Code editor

You can make changes to the code below. Then
Below you can ask and answer questions related to this video. If your question is unrelated to the video, please post it at the Processing Forum as I'm unable to help with all of your programs and still have enough free time to eat and sleep :)
comments powered by Disqus