Play with my balls
Some simple physics-based animation with an unnecessary double entendre
Published at 22:13 on Sunday 15th February 2009 by xerode
Filed under Animation, Experiments, Flash, Laboratory
Recently I had to a test as part of an application for a job as a Flash developer at a London digital agency. Here’s the brief:
Have three balls bouncing around the screen.
- There must be gravity
- The balls should bounce off the sides of the screen and back in
- The balls should bounce off each other
I’ve yet to hear back from them, so I decided to do a little bit more tweaking and post it up here. The different types of balls have slightly different properties such as bounciness, mass and size.
There’s some basic interactivity, allowing the balls to be picked up and dropped. This can cause a few problems when a ball is dropped in a position that intersects another ball, so I’ve still got a little bit bug-fixing to do but overall I’m happy with it.
Discussion
You can leave a response or trackback from your own site
Reply