First version of the three.js function grapher