p5-matter-examples

x gif

p5.js × matter.js

Examples and documentation on how to combine p5.js and matter.js

👉 Class reference & examples

About

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

Some of the examples are based on the matter.js demos by liabru 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.