Skip to content

NathanNgo/PhysicsSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics Simulation

This project is a React application coupled with a custom lightweight physics engine designed to simulate collisions between objects.

View Online At

https://physics-simulation.netlify.app/

To Do

  • Polygon Rendering
  • Polygon Collisions
  • Interactive Options
  • Polygon-Circle Collisions
  • Damping and Air Friction
  • Particle Excitation (Especially when stuck)
  • Pause time when tabbed out.
  • Rework the SettingsList components to be reuasable and modular. Move specific cases to a json file.
  • Maybe implement wrapper components around input types so that we can spread the javascript objects in.
  • Pause time or implement a max time delta when user tabs away. Prevents objects teleporting in time.

Bugs to Fix

  • Need to fix prediction techniques with boundary collisions, as decoupling the engine from frame rate has broken some assumptions of the prediction technique.

About

A small physics engine built in Javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published