Giter Site home page Giter Site logo

waldenn / up-there-webvr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flimshaw/up-there-webvr

0.0 2.0 0.0 46.87 MB

A 3D Planetarium for WebVR. Supports GearVR, Cardboard, Vive, Oculus and more.

Home Page: http://uptherevr.com

License: MIT License

CSS 0.83% HTML 67.03% JavaScript 31.68% GLSL 0.47%

up-there-webvr's Introduction

Up There - WebVR edition

Screenshot

Up There is a VR planetarium that contains true 3D positions and other information for over 100k nearby stars. Interact with any star to learn more about it, about any planets we've discovered orbiting it, and to see what the sky looks like from its point of view. Toggle constellation lines or highlights for stars with known exoplanets. See if you can find the sun without cheating.

How To Try It Now

GearVR

Install the Carmel browser, and then click the GearVR link on the Up There website. It should prompt you to insert your phone into the GearVR, and then the app will load. Use the controls on the side of your headset to move forward and back, interact with switches, or scroll forward and backward in time.

Cardboard

Open the Up There site in Chrome and hit the goggles icon in the bottom right, and then place the phone in your Cardboard compatible headset. A bluetooth gamepad is required for control. No time controls currently enabled.

Desktop (limited support)

If you're using an Oculus or Vive, get a copy of Firefox Nightly or Chromium that has WebVR enabled and visit the website. Limited controller support currently but many possibilities in the future.

Development

This is a side project for me, so I have made it public and open source under the MIT License. There's a lot I wish it did that it doesn't do yet. I'll create tickets for new features I would like to implement, and if you'd like to help please get in touch in the comments on an feature you find interesting and I'll try to help you get started.

Installation

npm install

Local dev server

npm start

Then, load http://localhost:8080 in your browser.

Building Documentation

npm run docs

Note: docs are INCOMPLETE at the moment, I'm chipping away at them when I can. They're being generated with docco.

Origins in A-Painter

I forked the wonderful A-Painter from Mozilla when I started porting this project over from Unreal Engine 4. It is wonderful boilerplate, and is a good structure to start with. They get a lot done with not a lot of code.

Sources

Star position and velocity data is sourced from the HYG Database, and it was processed through scripts to calculate radius, temperature, color etc. These are yet to be documented but will be included in this repository at a later date.

Exoplanet data was sourced from the NASA Exoplanet Archive and cross referenced with stars in the HYG Database where possible.

More info

For bugs or feature requests, please submit an issue above. Pull requests and new ideas are welcome, and please create an issue when you start working on a new feature so I can help or let you know if it's already in the works. Additional questions can be sent to Charlie.

up-there-webvr's People

Contributors

fernandojsg avatar flimshaw avatar dmarcos avatar feiss avatar ngokevin avatar msfeldstein avatar robertlong avatar cvan avatar darkwing avatar utopiah avatar machenmusik avatar

Watchers

James Cloos avatar  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.