Bike Jump with p5.js

Playing with vectors, motion and gravity

This page is the next step in working with gravity and motion (after a year-long hiatus). I am going to start working with the physics library Matter.js (2D rigid body). I will start here with my basic bike ramp and bumpy landing from February 23. I also have code for making a spoked wheel that rotates as it translates, and a version with a circle that rolls off the edge. I will use the static part of bikeJump1 and gradually add in stuff from Matter and these other old scripts. This is actually an intermediate version where I do not use Matter yet, but get rid of the Yeti image and make wheels with hubs and a BB. Actually looks realistic but the physics is crude...

Frame count: Real time: seconds