philFernandez / physics_playground

Matter.js physics engine using P5.js as a renderer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Philthy's World 'O Physics!

matter.js and p5.js combined to make a physics playground.

Features

  • Toggle physics on and off
  • Interact with objects via mouse
    • Throw them around
    • Knock them into each other
    • etc
  • Adjust a platitude of options which effect the playground's physics (under development)
    • Gravity strength
    • Gravity direction
    • Viscosity of the air/fluid
    • Bounciness
    • Density
    • Friction
  • Choose between randomly sized/colored circles or rectangles as object representations in the playground

About

Matter.js physics engine using P5.js as a renderer.


Languages

Language:JavaScript 63.1%Language:HTML 29.7%Language:CSS 7.2%