NanamiMio / three-body

A webGL project for Udacity CS291 contest entry

Home Page:http://leav.github.io/three-body/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Three Body

Launch in Browser

https://leav.github.io/three-body/

Description

This project idea is from the science fiction Three Body. In this simulation, a planet is orbiting around a triple star system, where the planet has three suns. Because of the unpredictable nature of the three body system, chaos things happen, such as one of the sun getting ejected off, or the planet being consumed by the suns.

Inside the simulation, you can set various initial conditions for the star system. Press and drag the mouse to rotate the camera. Use mouse wheel to zoom. Click on the small screen at the right bottom corner to switch between stellar view and planetary view.

To run the demo locally, please refer to this page. Otherwise, the security setting of the browser would not let you load the textures.

Screenshots

Stellar View

star01 star02

Planetary View

planet01 planet02

Credits

sun texture: NASA

space texture: NASA

planet texture (Mercury): NASA

About

A webGL project for Udacity CS291 contest entry

http://leav.github.io/three-body/


Languages

Language:JavaScript 99.6%Language:HTML 0.4%Language:Ruby 0.0%