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

A cosmic Simulator

  • 0 Devlogs
  • 0 Total hours

Cosmic Canvas is an interactive 2D physics sandbox that simulates real-time orbital mechanics, gravity vectors, and momentum conservation. Built entirely as a single file using vanilla HTML, CSS, and JavaScript canvas rendering for the NASA x AMD Stardance Challenge.

Project Features:

  • Universal Gravitation: Objects exert dynamic gravitational pulls on each other based on mass and distance, calculated frame-by-frame.
  • Inelastic Merging Collisions: Colliding bodies merge using conservation of momentum to calculate combined mass and new trajectory vectors.
  • Real-Time Data Dashboard: Tracks live object speed, directional velocities, adjustable gravity constants, and active body data.
  • Controls & Presets: Features a vector launch system (click and drag) along with preset buttons for binary stars and asteroid belts.

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…