Skip to content
Sign UpLog In

Matter.js + P5.js Template

Online Compiler & IDE

Integrate matter.js with your next p5.js project and start using advanced physics, collisions, and so much more.

Repls using this template

tombola
tombola
humanhackerNOT
humanhackerNOT
physics-based music. Keyboard controls arrow keys: change rotation and speed middle and upper keyboard rows (a, s, z / x: synth keyboard octave down/up c: next synth spacebar: clear
tombola
tombolaphysics-based music. Keyboard controls arrow keys: change rotation and speed middle and upper keyboard rows (a, s, d, ...): synth keyboard z / x: synth keyboard octave down/up c: next synth spacebar: clear balls
Fun Shape Physics
Fun Shape PhysicsYou can play around with different shapes which are static or not static and releive your stress, see the instructions to see how it is done. Instructions C to change object shape V toggle static
Physics-based music physics
Physics-based music physicsphysics-based music. Keyboard controls arrow keys: change rotation and speed middle and upper keyboard rows (a, s, d, ...): synth keyboard z / x: synth keyboard octave down/up c: next synth spacebar: clear ball
tombola v1.0
tombola v1.0physics-based music. Keyboard controls arrow keys: change rotation and speed middle and upper keyboard rows (a, s, d, ...): synth keyboard z / x: synth keyboard octave down/up c: next synth spacebar: clear ball
Polygon Physics + Ball Physics
Polygon Physics + Ball PhysicsYou can play around with different shapes which are static or not static and releive your stress, see the instructions to see how it is done. Instructions C to change object shape V toggle static

Build anything with zero setup.

Instantly start and rapidly develop projects in any programming language or framework.
zero setup

Instantly host everything.

All your projects are instantly live. With zero setup deployment and custom domains, sharing your work with the world is easy.
host your projects instantly.

Create together, wherever.

Live collaboration is built-in. Create together with others from anywhere in the world, on any device.
multiplayer collaboration

Power up your projects.

Accelerate your coding with AI assistance. Boost your speed, storage, and memory. Keep your app running forever. Take your project to the next level.
power up your projects

Learn while you build.

Take step-by-step tutorials that teach you how to build your dream project, whatever it may be.
learning projects on Replit

More templates

HTML, CSS, JS
HTML, CSS, JSThe languages that make up the web. HTML provides the basic structure, CSS controls formatting, and JavaScript controls the behavior of different elements.
CPlusPlus
CPlusPlusC++ is a low-level and cross-platform imperative language. It has object-oriented, generic, and functional features.
C
C C is a general-purpose computer programming language. It's used in operating systems, device drivers, and protocol stacks.