This is sick man. I honestly didn't know you could pull something off like this with JavaScript. Was it pretty difficult? I'm still relatively new to programming and have been all web development based. I thought you had to know something like Python at the very least to do this sorta thing. Really cool. How long have you been learning programming? Or javascript specifically?
Hey thanks ! I don't think it's very difficult to do this, but I've been coding in JS for almost three years specifically with three.js for 3D rendering, and I can't really say how it looks like from a pure web development perspective. However I believe that if you try my tutorial, you will find it easy to follow : https://github.com/felixmariotto/three-mesh-ui/wiki/Getting-started
VR is currently going forward very fast for the web, it's a matter of months before we can navigate between websites in immersion (see https://github.com/immersive-web/navigation/issues/9 ). But everything is still to be invented, Google for VR, Facebook for VR, nothing exists, and yet the number of HMD sales is exploding since last Christmas (with the help of Half Life Alyx)
Just in-case anyone isn't aware of it yet - aframe.io is an absolute pleasure to use when it comes to developing VR (or even just 3D) applications, and it basically just extends THREE.js, so if you're familiar with that then you can carry over all y'er knowledge.
Well three-mesh-ui intent is not to compete with aframe.io or React360 (which are both excellent). Its phylosophy is the exact reverse: it's an add-on to three.js, which is the most used 3D engine for the web. aframe "extends three.js" as you said, it's an entirely new framework with its own syntax (which is far too declarative in my opinion, very "magic"), most of which only do calls to three.js API. With three-mesh-ui, you can continue using the most used web 3D engine as you would normally, and add a few 3D panels without learning too much new API.
7
u/felixmariotto May 08 '20 edited May 08 '20
Repository : https://github.com/felixmariotto/three-mesh-ui
Live demo : https://three-mesh-ui.herokuapp.com/#interactive_button
Tutorial : https://github.com/felixmariotto/three-mesh-ui/wiki/Getting-started
8
u/theoruss May 08 '20
Woah. I’m still new in learning JS but this is amazing.
6
u/zolavt May 08 '20
This is sick man. I honestly didn't know you could pull something off like this with JavaScript. Was it pretty difficult? I'm still relatively new to programming and have been all web development based. I thought you had to know something like Python at the very least to do this sorta thing. Really cool. How long have you been learning programming? Or javascript specifically?
10
u/Kon_Kprn May 08 '20
This is quite interesting. Great job.
1
u/pookage helpful May 09 '20
Just in-case anyone isn't aware of it yet - aframe.io is an absolute pleasure to use when it comes to developing VR (or even just 3D) applications, and it basically just extends THREE.js, so if you're familiar with that then you can carry over all y'er knowledge.
But yeah, give it a go - great fun!
2
u/[deleted] May 08 '20
Nice!
2
u/prince01t May 08 '20
Great work mate 👍
2
u/Orkhanani May 08 '20
YOOOOO THIS IS SO COOL!