Skip to content
HHackerTube.videoSurprise me

RiftSketch: Live coding in VR with the Oculus Rift, Firefox WebVR, JavaScript and Three.js

RiftSketch: Live coding in VR with the Oculus Rift, Firefox WebVR, JavaScript and Three.js on HackerTube: recommended by 5 Hacker News commenters across 6 separate months, 2014–2020.

Brian Peiris

demo · intermediate · dated

Open on YouTube

Brian Peiris demonstrates RiftSketch, a web app where you write JavaScript with Three.js while wearing an Oculus Rift and watch the world around you change live. It runs on Firefox builds with WebVR.

Why Hacker News recommends it

Repeatedly cited as an inspiring demo of what programming in VR could look like, which led some commenters to buy headsets.

people recommended it
5
separate months
6
strong recommendations
2
discussed on HN
2014–2020
“this was an impressive demo of someone coding their environment in the Rift.”
— jfoster, Jun 2015, in “Oculus Rift”

What HN commenters said

7 Hacker News comments link this video. Each one links back to its thread.

moron4hireJul 2020Strongly recommends

Part 2: That was right about when Google Cardboard hit. That was 2014? I saw it during a Google I/O livestream and just so happened to have a few lenses left over from some still-photography experiments involving lasers and... never mind, another thing that went nowhere, I just had some lenses around. I quit watching the Google I/O stream and immediately hacked together a new cardboard box viewer with the lenses. Saw Versailles, which I have never been to, but I have been to Linderhof Palace in Bavaria, which is modelled after Versailles. Saw the Galapagos, where my wife and I had just spent our honeymoon about a year or so before. I immediately saw the experience was closer on the spectrum to really being somewhere than it was to seeing it on TV. So I'm sitting there, this cardboard box in my hand, this powerful smartphone in my hand, thinking to myself "I have to do this, I have to make these things". But all I knew was C# and JavaScript. Unity was garbage at the time. It's still garbage, but also back then. I had tried my hand at native app development and just didn't have the patience for Xcode or Android Studio. So I started hacking with Three.js and JavaScript. I ended up making the first JavaScript API for VR, releasing the first version about a month before the first announcements of WebVR. Then I saw RiftSketch ( ▶ this video ). It blew my mind. Started chatting with people. Brian Pieris talked about wishing he could get syntax highlighting into the app, and complained ab

in “Holographic optics for thin and lightweight virtual reality” · View on HN

mmanfrinJan 2018Strongly recommends

I think the less cynical answer is that HTC often has good ideas for physical devices but then often fails to follow through and iterate well. They're also just struggling as a company in general. But damn, so I 1000% agree with being bummed about it not being the hackers headset. I preordered the Vive because of a VR video of a guy programming the environment he was in at the moment: ▶ this video I would love to use a VR IDE some day.

in “Relativ – A VR headset that you can build yourself for $100” · View on HN

mmanfrinNov 2016Recommends

Does anyone know of any other threejs talk/walkthrough posts? I love watching the development of things with it, like this video: ▶ this video

in “Wind Waker Graphics Analysis” · View on HN

jfosterJun 2015Recommends

It doesn't (yet) seem particularly comfortable, but this was an impressive demo of someone coding their environment in the Rift. ▶ this video

in “Oculus Rift” · View on HN

corysamaJan 2015Recommends

Yep. To glimpse the potential for this, people should check out Peiris's demo vid: ▶ this video If anyone is interested in working on something like this, there's a very small community germinating in [link]

in “Show HN: Primrose – a text editor that runs in a WebGL texture” · View on HN

digi_owlDec 2014Recommends

> Basically, I won't be satisfied until I get the holodeck... or a neural jack. How about a Rift work space? ▶ this video

in “My Adventures with “4K” 2160p and Linux” · View on HN

Show 1 more comment
noir_lordDec 2015Cites it

What I want (and I suspect we'll have due to gaming) is super high resolution Oculus, imagine programming in an environment where your screens can be tiled onto a sphere and moved and re-ordered arbitrarily. Could do something very interesting with that :). ▶ this video Imagine what we could do in 10 years with ^ if the technology takes off this time.

in “How will you be programming in a decade?” · View on HN

Topics & tags