?

Log in

No account? Create an account

t3knomanser's Fustian Deposits

Stupid java update...

How Random Babbling Becomes Corporate Policy

run the fuck away

Mad science gone horribly, horribly wrong(or right).

Stupid java update...

Previous Entry Share Next Entry
run the fuck away
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?
Powered by LiveJournal.com