basic usage: jg_plot("./test", rand(4, 25)) will give you a test.html file with 4 randomly coloured squiggly lines, currently likes it’s column vectors transposed, ie jg_plot("./test", rand(25)')
Would you be interested in collaborating on a WebGL plotting backend for Makie?
I’ve a simple prototype for sending GLVisualize OpenGL shader to ThreeJS via WebIO!
We can expand that for all GLVisualize primitives and get a nice high level plotting API via Makie
Let me know if you’re interested, I can publish the repository containing the prototype.
Looks pretty nice, could possibly use gl.Points with pointsize instead of triangles for the demo if you wanted to save using a few coords. I’d guess textures would still be allowed
It’s getting there, translated forward a bit, still has the z-cutoff / static coloured squares in place of the nice circles, not much done on the julia side though. Added the mesh function
All generated from julia, but with manual tweaks of the embedded webgl in jg_plot. This might have to do for now =)
Cobbled together a bit of network IO, plotting to localhost:8088/Graph seems pretty nice
79 sec html string generation with mesh 200x200x200 / 3 point per poly
10 sec / 350Mb browser transfer returned an "allocation size overflow browser-side =)
~10 frames per sec on 100x200x100 points -Firefox w/ LLano integrated graphics
~20 fps with 1,000,000 points / +300,000 polys / 11 sec html string gen /
1:1 point packing - transfer size 42Mb