SquiggleDraw will create a SVG file from an image, using the brightness to change the amplitude of sine waves. It is easier to look at the examples below to better understand. 🙂 You can use the saved SVG file to print from Inkscape/AI/etc, draw with a pen on a pen plotter (like the awesome AxiDraw), or engrave with a lasercutter (it looks cool!)

The Nature of Code

This is an amazing ressource for learning advanced Processing (and p5)

absolutely fab

The Nature of Code

How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital worlds? This book focuses on the programming strategies and techniques behind computer simulations of natural systems using Processing.