Racing Lines

Racing through two planes of cuboids determined to slide

Mouse/Touch to zoom in, slide around to change camera angle.

Made using Three and TweenMax, this features the appearance of infinite cubes but there are 320 in total which are recycled when they go behind the camera.

An early exploration into shaders, this experiment offered some learnings into simulated lighting and depth of field.

Most importantly, this performed very well on mobile devices even back in the day when it was written.

Originally posted on codepen