Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Jaymun723/vysics-engine

Open more actions menu

Repository files navigation

Vysics Engine

⚠️ This project is still in early development !

A 2D impulse based, rigid body physics engine for the web. The goal of this project is not to create a state of the art physics engine. The goal is to create an understandable code that people can read & used to better understand classic physics.

🚀 Try it online

Based on:

Implemented & Todos

✅: Implemented

🔧: Still needs some work

🔜: Not implemented but planned

Physics parts

  • Shapes:
    • Circle ✅
    • Rectangle ✅
    • Convex Polygons ✅
    • Any type of Polygons (decomposition in convex polygons) 🔜
  • Forces:
    • Gravity ✅
    • Drag ✅
    • Linear / Angular dumping 🔜
    • Constraints 🔜
    • Joints 🔜
  • Integrations:
    • Verlet integration ✅
  • Collisions:

More engine related parts

  • Debug drawings (using Vancas) 🔜
  • Tests (using jest) 🔜 (maybe never 😞)
  • Integration with Vancas 🔜
  • Optimisation (not a priority) 🔜

Examples

The playground and more importantly its code are a good example on how to use the vysics engine.

More examples will come after 🔜...

Documentation

W.I.P.

For the moment you may want to generate docs using TypeDoc.

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.