datavis

eggsyntax 2015-12-31T22:21:38.000928Z

Sweet WebVR demo using three.js, lets you navigate in a hyperbolic space. WASD + arrow keys. Via @yogthos https://vihart.github.io/webVR-playing-with/hypTiling

meow 2015-12-31T23:06:57.000929Z

@eggsyntax: That's very cool. I've been learning a bit about WebVR and A-Frame.

meow 2015-12-31T23:30:58.000930Z

And that's Vi Hart - no wonder it's good.

meow 2015-12-31T23:32:15.000931Z

I learned a lot about what I've been working on from stuff written by her father, George.

eggsyntax 2015-12-31T23:32:23.000932Z

Haven’t gone down that road yet myself, but nice to know that I can easily call on three.js when I do (there are templates: https://github.com/MozVR/vr-web-examples/tree/master/threejs-vr-boilerplate).

eggsyntax 2015-12-31T23:32:38.000934Z

Not familiar with either child or parent.

meow 2015-12-31T23:33:21.000935Z

Yeah, A-Frame is built on top of three.js as well.

eggsyntax 2015-12-31T23:33:41.000936Z

Oh, cool, didn’t know.

meow 2015-12-31T23:34:39.000937Z

A-Frame is just declarative HTML that let's you specify WebVR content and under the covers it uses three.js

meow 2015-12-31T23:35:12.000938Z

And I guess its easy to use three.js stuff directly as well so you get the best of both worlds.

meow 2015-12-31T23:35:53.000939Z

And Mathbox uses three.js, right? Looks like I need to learn me some three.js

meow 2015-12-31T23:36:31.000940Z

What's the best way to use three.js from Clojurescript?

eggsyntax 2015-12-31T23:37:52.000941Z

Well, I haven’t tried to use it directly, except through the medium of MB.

eggsyntax 2015-12-31T23:38:09.000942Z

MB author also wrote threestrap, which looks like it saves some hassle: https://github.com/unconed/threestrap

eggsyntax 2015-12-31T23:39:17.000944Z

I see this, which looks handy: https://github.com/roman01la/threejs-cljs-playground

eggsyntax 2015-12-31T23:40:06.000946Z

If you find a good cljs wrapper, let me know. Or if you end up writing one, I’d be totally down to beta-test and/or possibly contribute some.

eggsyntax 2015-12-31T23:42:29.000947Z

Looks like there’s at least a cljsjs wrapper from @martinklepsch, so that’s a nice start… https://clojars.org/cljsjs/three

eggsyntax 2015-12-31T23:43:25.000948Z

But if I wanted to really get into it, I’d be inclined to put together a simple idiomatic cljs wrapper along the same lines as cljs-mathbox...

meow 2015-12-31T23:47:10.000949Z

Cool, thanks.

meow 2015-12-31T23:48:09.000950Z

Not sure I want to write a wrapper myself. Still need to finish the mesh library I've started. Just trying to figure out my other targets for meshes beyond just outputting X3D files.

meow 2015-12-31T23:48:41.000951Z

Want to generate VR content as well.

eggsyntax 2015-12-31T23:49:20.000952Z

Totally.

eggsyntax 2015-12-31T23:50:37.000953Z

Earlier today I ran into some pretty awesome stuff that Ana Tudor’s doing with pure CSS: http://codepen.io/thebabydino/pen/wKbEXE