You are browsing as a guest. Sign up (or log in) to start making projects!

3h 54m 7s logged

Building Orbitune

What is Orbitune?

Orbitune is a browser based musical instrument that uses a 2D orbital physics engine to translate the gravitational interactions into real-time ambient music.

Phase 1: Core Orbital Physics & Canvas Setup

I started working on the project: I created the HTML Canvas environment handling responsive viewport scaling. Built a 2D Euler integration loop to run the orbital physics engine. Core Logic: Implemented Newton’s law of universal gravitation with a distance softening factor to prevent infinite forces during tight encounters. Defined the parent attractors (suns) and orbiting particles (planets), coding a collision system where planets merge into suns to dynamically increase their mass and physical radius over time.

0
4

Comments 0

No comments yet. Be the first!