Labs
Home
Previous
Next
var ball = { x: 300, y: 200, r: 15, vx: 1, vy: 0 }; // ... ball.x += ball.vx; ball.y += ball.vy;