Your browser does not support the canvas tag.

Translate

Notice how the circle and square are in the same place even though they have different coordinates. This is done via the use of translate().

Source code: Translate

Built with Processing and Processing.js