replaced update() call with window.requestAnimationFrame() and minor improvements
replaced update() call with window.requestAnimationFrame()
and minor improvements

peternerlich/IsoPix,peternerlich/IsoPix