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
Questions and comments are welcome! :) But please try to stay close to the topic of this episode. Use the Processing forums for help with your Processing projects (or hire me for help ;-)