Graphing Program

I wrote a graphing program in JavaScript that colors each pixel based on a function of the x and y values of the pixel. This graph is created when red = (x/3)^2+(y/3)^2, green = (x/3)^2+(y/3)^2, and blue = (x/3)+(y/3).

Shaded graph

I might add more to this in the future, I think it’s a pretty interesting idea. You can try the program out for yourself here or look at the code here.