js-spheresAs part of the always-fascinating Google Chrome Experiments, “Mr. doob” has a demo online which shows a group of spheres animating in space with full depth-of-field effects.

300 balls form a plane, a cube, a little universe, a sphere and then disappear.

Unfortunately this piece is shy and doesn’t want to interact with you yet. But nothing stops you from watching it from any angle.

The effect is done entirely with Sprites, so no real reflections or 3d geometry. I recommend you don’t try this page unless you have Chrome or Safari4.  FireFox3.5 couldn’t really handle it when I tried it.  Check after the break for a Youtube Video of it in action.

Mr.doob | Depth of Field, 100% Javascript.