Javascript Math Art

Enter a valid Javascript expression into each of the boxes below and press "Draw!" to evaluate your created image below. Note that some functions take a minute - you can see the progress by opening the console. You have all standard Javascript functions available, as well as the getRandom(min,max) function and the variables x and y, corresponding to the pixel currently being drawn. An example function could be "return Math.cos(x)*getRandom(0,255)". Note that changing the size will not change the shape of the drawing area, but when you save the image it will be the correct dimensions. The default values draw the Mandelbrot Set.

Red Green Blue
Width: Height: