Skip to content


Simple Javascript 3D Function Plotter

sin(sqrt(sq(x)+sq(y)))/sqrt(sq(x)+sq(y))

http://antimatter15.com/misc/f(x).html?sin(sqrt(sq(x)+sq(y)))/5

http://antimatter15.com/misc/f(x).html?sin(sqrt(sq(x)+sq(y)))/sqrt(sq(x)+sq(y))

I think function plotters are cool, and since 3d is all the hype nowadays, why not make a 3d function plotter? I like how WolframAlpha does it quite nicely, but it doesn’t allow panning/moving of the camera. Just as a disclaimer, I made this because it’s cool, not because I spent lots of time on it, on the contrary, it’s taken from the three.js 3D Canvas library floor demo with a 3 line change to make it pull a function from the URL.

Posted in Uncategorized.

Tagged with , , , , , , .


3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Matt says

    Would love to see a working demo but it seems to be broke. Looks like the resource links have changed in github.

  2. ebook reader says

    Bill Cosby: “You can turn painful situations around through laughter. If you can find humor in anything –even poverty–you can survive it.”

Continuing the Discussion

  1. Antimatter 3D Graph Plotter and a little animation linked to this post on May 17, 2011

    [...] year I stumbled upon this blog post by @antimatter15 who added a little three line modification to mr.doobs particle floor demo and [...]



Some HTML is OK

or, reply to this post via trackback.