Home
README.md
adjacent layers(source)

Call enterLayer() with two different keys, in order to create two Graphics that are drawn side by side.

createGraphics(source)

use enterLayer() to modify the (global) p5.js functions to operate on a Graphics instead of the canvas.

lissajous(source)

Use a Graphics in order for one object to allow one object to leave a trail, while the rest of the canvas is fully erased.

slices(source)
trail(source)

One shape leaves a trail (because a semi-transparent color is drawn over it), while another does not.