https://triangles.paulishing.com
An almost daily blog on whatever futuristic, technical tip, general interest or humor I find interesting and want to share.
Tuesday, April 7, 2020
Triangles
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.
https://triangles.paulishing.com
https://triangles.paulishing.com
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment