HTML5 formula visualizer inspired by this article

WARNING: may lag or freeze your browser.

WARNING: may cause seizures.

WARNING: dont paste anything but math formulas into formula box (its like pasting into javascript console, a security hazard)

Controls

1-3: Change render mode

R: Decrease Resolution
T: Increase resolution (gets laggy fast)

Scroll wheel: zoom

Space bar: toggle autozoom (laggy, use only with low resolutions)

Q: Reverse autozoom

F: Reset zoom

W: Toggle autorender on mouse-move (on by default)

Click: Clear and render

Function variables

x: x coordinate (offset by cursor)
y: y coordinate (offset by cursor)
mod: 2, modified by zoom level
slope(): primitive slope
ran(1,5): random int between 1 and 5
rotx(x,angle,pointx,pointy): rotate x coord around point (defaults around cursor)
roty(y,angle,pointx,pointy): rotate y coord around point (defaults around cursor)
(Standard js Math functions apply)

Some functions to try (some dont zoom well in this system, you can substitue mod for 2 or just dont zoom)

x*y*mod
Math.pow(x,mod)+Math.pow(y,mod)
Math.pow(x,mod)*Math.pow(y,mod)
(Math.pow(x,2)*Math.pow(y,2))*mod
(mod*x+y)*(mod*x - y )*(x+mod*y)*(x - mod*y)
(x/y+y/x)*mod
Math.sin(x/y+y/x)*mod
Math.pow(x,2)+(mod*x*y)+Math.pow(y,2)
Math.pow(x,2)*(mod*x*y)*Math.pow(y,2)
(x*(x-y)-y)*mod
rotx(x,y,mod)*roty(x,y,mod)
rotx(20/x,20/y,mod)

var x2=Math.pow(x,2);var y2=Math.pow(y,2);return rotx(x2,y2,mod)+(mod*x*y)+roty(x2,y2,mod)

Launch Visualizer