Hyperbolic VR using Raymarching
Switch branches/tags
Clone or download



Hyperbolic VR using Raymarching.

alt text

Based on the websperience by Vi Hart, Andrea Hawksley, Sabetta Matsumoto and Henry Segerman featured over at https://github.com/hawksley/hypVR. This project seeks to improve upon the original by using raymarching as a technique to improve the visible depth of the environment. HypVR-Ray is being worked by Michael Woodard, Henry Segerman, and Roice Nelson and is helped by the work of Jeff Week's Curved Spaces, Mozilla's webVR framework for THREEjs, and Jamie Wong's Ray Marching and Signed Distance Functions.

This project is partially supported by NSF grant DMS-1708239.

Check out this project at www.michaelwoodard.net/hypVR-Ray/


Running Locally

Running this locally requires a simple web server (to source the shader files at runtime), with the root at the same level as index.html. This can be done in python 3 by running the command "python -m http.server". On Windows, you can set up a server in the Control Panel Administrative Tools, in the IIS Manager (you may need to turn this feature on first). NOTE: The server will need to have a MIME type configuration for .glsl files set to "text/plain".


Use arrow keys to move and "wasd" to rotate the camera. To enter VR mode press "v", "enter", or "space".