How Random Babbling Becomes Corporate Policy (t3knomanser) wrote,
How Random Babbling Becomes Corporate Policy

  • Music:

Stupid java update...

Added a bit of primitive collision detection to my bouncing ball app. Now multiple balls can bounce off of each other. Of course, i didn't feel like doing math, or at least nothing more complicated than remembering the distance formula, so now they bounce off of each other in a very unrealistic manner. When two balls collide, they just reverse directions. When more than two balls collide, some of them reverse directions multiple times in a single hit, so sometimes they just keep on going right through each other.

And you know what? I don't care. I'm not about to write or find vector libraries and brush up on my physics and geometry enough to put realistic collision detection in. It's good enough to write a jezz-ball clone off of, and that's good enough for me.

Speaking of, that'll be the next step for this app. And then... maybe 3d?

  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded