Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.33 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.33 KB

2D-Phy Dojo

2D physics from scratch with WebGL2, JS and C++

See live

export image

Dependencies

  • 2d-phy - lightweight 2D physics engine written in C++. Constructs and methods are exposed to JS via embind
  • hwoa-rang-gl2 - drawing utilities for WebGL2

Rendering

This demo instances all shapes aggressively by shape type:

Boxes

boxes only

Circles

circles only

Triangles

triangles only

Outline

outline only

Running locally

Clone the repo, npm install and npm run dev

References and readings