Wracking my brain to remember math — embarrassingly simple math — that I really haven’t thought much about in twenty years is both rewarding and titillating, and highly frustrating at the same time. I’m going to switch over to some late night reading, but I wrote about half of the collision detection and “angle-of-reflection” type code for the new game (which really would have been much easier to just write in Flash). Of course, the balls don’t actually do anything but detect a collision — while they do bounce off the sides, they ignore the game architecture (which is randomly twitching) and the other balls, just passing through them, although they do light up to indicate the collision and also render the line representing the collision angle between the two in brown, as well the white lines that show the direction and, in a thicker stroke, that ball’s kinetic energy. Hopefully this holds my attention long enough to finish it…
-
‹ Home
FRIENDS
VACCINATION
MY SITES
CONTACT ME
CODE+SOFTWARE
STUFF
-
RSS Feeds
-
Meta
One Comment
Inmediately thought of your old swimming ways
https://www.i-am-bored.com/bored_link.cfm?link_id=46655
enjoy!
Post a Comment