Copy car demo from p2.js