Tuesday, April 7, 2020


I put together this little app to demonstrate to students what writing software is all about and make it flashy at the same time.  The code draws a triangle, waits a number of milliseconds (1/1000's of a second), changes the color a little bit, rotates it counterclockwise by two degrees and draws the new triangle on top.  The arrow keys can be used to make it spin faster or slower, and to change the rate the colors change.  Due to technical restrictions with Google Sites (the web hosting environment), you will have to click inside the input box on the left before the arrows will work.


No comments:

Post a Comment