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
@eggsyntax: That's very cool. I've been learning a bit about WebVR and A-Frame.
And that's Vi Hart - no wonder it's good.
I learned a lot about what I've been working on from stuff written by her father, George.
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).
Not familiar with either child or parent.
Yeah, A-Frame is built on top of three.js as well.
Oh, cool, didn’t know.
A-Frame is just declarative HTML that let's you specify WebVR content and under the covers it uses three.js
And I guess its easy to use three.js stuff directly as well so you get the best of both worlds.
And Mathbox uses three.js, right? Looks like I need to learn me some three.js
What's the best way to use three.js from Clojurescript?
Well, I haven’t tried to use it directly, except through the medium of MB.
MB author also wrote threestrap, which looks like it saves some hassle: https://github.com/unconed/threestrap
I see this, which looks handy: https://github.com/roman01la/threejs-cljs-playground
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.
Looks like there’s at least a cljsjs wrapper from @martinklepsch, so that’s a nice start… https://clojars.org/cljsjs/three
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...
Cool, thanks.
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.
Want to generate VR content as well.
Totally.
Earlier today I ran into some pretty awesome stuff that Ana Tudor’s doing with pure CSS: http://codepen.io/thebabydino/pen/wKbEXE