Skip to content

leav/three-body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages