dx and dy

Short names for the change in x and the change in y, the distance a shape moves across and down in one step.

In more detail

d comes from delta, the mathematical sign for a change. move(dx, dy) shifts a shape by that amount, and reversing dx or dy makes a bouncing ball change direction at a wall.

Related terms

Taught in

References