zomgistania

Main page | About | Articles | Previous Posts | Archives

Sunday, September 10, 2006

Gravity and collisions

I was kind of bored yesterday, so I made this with JavaScript.

Doesn't require much code to get a realistic-ish looking bouncing done.
It has a few flaws though... the ball goes like one of those superballs when it goes up or down which isn't necessarily a bad thing but for anything else than a superball simulation...

Labels: ,

2 Comments:

  • it has a certain gravity to it :)

    By Anonymous Anonymous, at 6:21 AM  

  • How Do I make gravity in C#?

    By Anonymous Anonymous, at 6:46 PM  

Post a Comment

<< Home