Inspiration

Dynamic screensavers, 0-player games, agar.io, Osmos

What it does

Simulates stellar and planetary systems. Allows players to create and control the dynamics of stars, planets, and moons.

How we built it

Created physics engine to simulate 2-body problem and calculate acceleration of bodies. Developed front-end user interface, implementing features like zooming, panning, and an intuitive object creation system.

Challenges we ran into

Detecting mouse events, handling timing and animating
Transforming coordinate vectors into canvas vectors
Splitting project into enough files such that all team members could work simultaneously while minimizing idle time

Accomplishments that we're proud of

Building physics engine from ground up using basic Newtonian mechanics
Computational aspects of simulating motion
Animation and graphics (the bloop!), overall look-and-feel of app

What we learned

Javascript, for the majority of us
Object-oriented programming
Model-View-Controller (MVC)

What's next for SpaceBox

Polish more, make interface and aesthetics look more sleek
Tweak physics parameters to better balance challenge vs. fun
More developed scoring system

Share this project:

Updates