pencil lines
2022-01-11
2022-01-11
p5.js
Ben Bleything (b. 198x)
p5.js on <canvas>
press 's' for settings
get the code >>

This started as an attempt to draw Sol LeWitt’s Wall Drawing 16:

Bands of lines 12 inches (30 cm) wide, in three directions (vertical, horizontal, diagonal right) intersecting.

As you can see, I didn’t do a great job of following the instructions. I got sidetracked trying to implement this nice animated pencil drawing effect.

See the code for details but in a nutshell it works by breaking each line down into lots of tiny segments. Each segment is drawn with a randomized width on each frame, giving it that wiggly appearance.

This sketch includes p5.gui and quicksettings.

This started as an attempt to draw Sol LeWitt’s Wall Drawing 16:

Bands of lines 12 inches (30 cm) wide, in three directions (vertical, horizontal, diagonal right) intersecting.

As you can see, I didn’t do a great job of following the instructions. I got sidetracked trying to implement this nice animated pencil drawing effect.

See the code for details but in a nutshell it works by breaking each line down into lots of tiny segments. Each segment is drawn with a randomized width on each frame, giving it that wiggly appearance.

This sketch includes p5.gui and quicksettings.