p5.js with matter.js examples

Examples showing how to combine p5.js and matter.js.

x gif

The examples have been derived from the course Programmiertes Entwerfen (Sketching with Code) @ the HfG Schwäbisch Gmünd by Benedikt Groß.

Some of the examples are based on the matter.js demos and p5-matter by Daniel Shiffman.

👀 It is also highly recommended to watch the Introduction to Matter.js videos by Coding Train to complement the examples here.