| name: |
Collision |
| language: |
Java |
| last updated: |
2004.07.13 |
i was bored in class and decided came up with a little java applet
with some letters bouncing around. i then modified it to have colored
circles with little trails. you can also freeze dots by clicking on
them or freeze a region of them by right-clicking. i will put the
source up shortly too.
the applets don't work with microsofts default jvm, so you need sun's java virtual
machine installed.
the first one
the second (prettier) one
the collision detection seems to work ok, but the way they bounce off
each other is not quite perfect. if you watch closely you can see
some weird bounces happening.