forked from: Old Skool [Optimised]

Old school demo effects [Optimised]
Did some optimisation there,
Fast integer maths gained around 30% cpu,
Vector calls with uint casting then gained around 50% cpu,
enabling the jump from 128 to 256 resolution in 60fps easily (ok, on my little mac)
update: more optimisation enabling to jump from 256 to 512 resolution @~60fps with fast math integer (again) instead of using _xres
update: uint casting now done with >>0
ensured stable @60 fps with pixel snapping off.
Added around 40 more "magic" equations
Click on stage to loop through them
thx @devon_o
@Hasufel 2010

import flash.display.PixelSnapping;

old school demo effects: http://iquilezles.org/www/articles/deform/deform.htm
@author Devon O.
@optimisation Hasufel