Happy new 2024!

2023

Animation

  • Javascript
  • C++
  • WebGL

url - https://gnikoloff.github.io/2d-phy-dojo/

code - https://github.com/gnikoloff/2d-phy-dojo/tree/main

Happy new 2024!

2D physics from scratch with WebGL2, JS and C++ to celebrate the new year.

project render

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

Outlines

outline only

References and readings

Happy new 2024!