I'm currently attempting to alter this into javascript based animation. My progress can be found



Built with Actionscript 2.0 this was a simple way of visulaing the optical illusion shown below. I was interested in the way the balls moved to give the effect of a rotating circle so built the animation in Flash, then added user controls to allow different levels of rotation and depth.


Set the offset to about 13 to achieve a similar effect to the one in the original gif.