# Inside the Matrix VR

**URL:** <https://discourse.threejs.org/t/inside-the-matrix-vr/8898>\
**Category:** Showcase\
**Tags:** webvr, animation\
**Created:** [August 7, 2019, 8:12am UTC](https://discourse.threejs.org/t/inside-the-matrix-vr/8898 "2019-08-07T08:12:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rad5](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/rad5/32/6618_2.png) [@rad5](https://discourse.threejs.org/u/rad5)\
**Post date:** [August 7, 2019, 8:12am UTC](https://discourse.threejs.org/t/inside-the-matrix-vr/8898/1 "2019-08-07T08:12:22Z")

</div>

I’d like to share a WebVR demo which I made using three.js. It’s a short animation inspired by [The Matrix](https://www.imdb.com/title/tt0133093/) (which was released in June 1999. Can’t believe that was 20 years ago!). It starts in the construct scene and then changes to a 3D interpretation of the digital rain.

Here’s the demo: [https://radek.io/matrix-vr/](https://radek.io/matrix-vr/)  
Here’s the code: [https://github.com/pazdera/matrix-vr](https://github.com/pazdera/matrix-vr)

I wanted to make it cross-platform so I switch between OrbitControls and VR depending on whether that’s available in the browser. Overall, I was very impressed how straight-forward it was to make a VR experience (although a simple one) in the browser using three.js. Everything I needed was right there. It’s one of those things that feel like they should be more difficult 😄.

Let me know what you think, and feel free to use any code from the above!
