So, I revived the "shelf" section, where I post my toys; Updated it with an animation written in JavaScript. I might write some more animations and put them on here. The animation generates a predetermined number of "stars", and makes them have the colors present in an array (you can change the amount of colors by changing the array in the big file; the smaller is not flexible) and gives them some vector so they go bouncing from the walls.

The stars can't collide with each other, and energy isn't gained or lost; to ensure that, I never change the any stars' vector's magnitude, only its orientation.



Leave a Reply.