Working out how to replicate gravity in Javascript without peaking in my book is a bit tricky. #canvasnoob