Gravity Balls

Sunday, April 20th, 2008



The excellent Processing tool is being constantly improved, and I downloaded it again recently to see what fun could be had. I had embedded the actual app here as a Java applet, but support for applets is pretty bad so I’ve replaced it with a video.

There’s not much to it, but it’s something you could built more interesting stuff on.

Because Processing apps are Java in disguise, you can link in pretty much any existing Java library. Here I made use of the superb Phys2D library to simulate the falling.

Source code: Balls Helpers

Leave a Reply