ext_5395 ([identity profile] joedecker.livejournal.com) wrote in [personal profile] cjsmith 2004-03-14 08:58 am (UTC)

I thought about the cheating, and it might be a coding bogon instead of an intentional effect. If they move the pixie some distance (d) on each step and then check for collisios in the x and y planes separately, and flip direction on both collisions if both trigger, as d gets large they'll get more and more bouncing off of sharp corners (something that would happen only infinitesimally often in the Real World TM.)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting