Gravity WebGL experiment in the Solar System
JavaScript GLSL
Switch branches/tags
Nothing to show
Latest commit 06b5ad5 Sep 22, 2016 @valentinvichnal Version 1.4.2
Permalink
Failed to load latest commit information.
assets
libs
music
scripts Create Libs Sep 22, 2016
.gitignore Add .gitignore Jul 19, 2016
History.md Version 1.4.2 Sep 22, 2016
LICENSE Update License Sep 22, 2016
README.md Create Libs Sep 22, 2016
package.json Version 1.4.2 Sep 22, 2016

README.md

gravity.js

Gravity WebGL experiment in the Solar System

Demo - http://valentinvichnal.com/gravity alt tag

Controls

Now with better movement controls, which are based on the camera view position and not the ball's absolute position.

Button
Move up left down right
Move (Secondary) W A S D
Fly spacebar
Fall CTRL

Source

Todos

Minor

  • Make the Apple Tree on Earth move with the ground
  • Make Apples on Earth move with the ground
  • Make Ball on Earth move with the ground

Major

  • Make planets rotate realistic
  • Make planets orbit around the Sun
  • Make gravitational field for all planets and apply the force to the Apples and Ball if they close

Credits

Engine

Music:

Models:

  • Low-Poly planets: Christian Dinkelborg, Martin Niehoff