Giter VIP home page Giter VIP logo

day-and-night-webvr's Introduction

Day & Night

Day & Night

Jump into outer-space to witness the sun bathe one hemisphere of Earth in daylight as the sleeping side twinkles with its own artificial lights of night. Has your child asked what makes day and night? How can it be morning on one side of Earth but evening on another? Show them. Day & Night is an educational virtual reality experience for children using WebVR to explore how sunshine creates our most basic unit of time.

Experience Day & Night right now in your WebVR-capable browser: https://dayandnight.moar.io

Requirements

  1. Day & Night supports the HTC Vive, Oculus Rift, Google Daydream, and similar virtual reality devices. Be aware that the Vive and Rift do require some mighty powerful desktop hardware to run.
  2. You will also need a WebVR-capable browser. For the latest list of browsers that support WebVR — as well as download and setup instructions — see WebVR Rocks.
  3. Bring your senses of curiosity and wonder. VR is still new and exciting — don’t become jaded. (Also, if the earth does not appear in your VR goggles after clicking the “View in VR” button, try clicking it again to disengage, and then again to re-engage. Your pioneer spirit is appreciated!)

Run locally

The simplest way to fire this up on your own desktop machine is to start a simple Python server. Open up a command line prompt, navigate to wherever you’ve stored this code package, then type the following command depending on the version of Python you have installed.

Python 2: python -m SimpleHTTPServer 8000
Python 3: py -m http.server 8000

In your browser you can now navigate to http://localhost:8000/ to see Day & Night running locally. You can shutdown the local server by returning to the command line and hitting Control + C.

Colophon

Day & Night is the first edition of the Virtual Reality Learning Series, created by Stewart Smith and brought to you by Moar, a virtual reality consultancy in Brooklyn, New York. For more information read Stewart’s Day & Night post on Medium or direct your questions and comments to @stew_rtsmith on Twitter.

Thanks to NASA and other parties for providing license-free textures of our solar system to the public. Thanks to the authors of Three.js for their fine toolkit and code examples. Finally, thanks to virtual reality hardare and software creators, and the browser keepers who make delivering VR over the Web possible.

Caution, kids! Day & Night is not suitable for celestial navigation. While the heavenly bodies represented are more or less to scale, the radii and nature of their orbits are not.

Copyright © Stewart Smith 2016, 2017. See LICENSE for details.

day-and-night-webvr's People

Contributors

stewdio avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.