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. :-)
 
Go to file
Windell Oskay f9b3f12a95 Re-organize code for ease of use
Added a "SquiggleDraw" directory with the sketch and a "data" folder.
This prevents Processing from requesting that you move the sketch into
a like-named folder. (And, thus, prevents the situation where the
Carson image cannot be found because it wasn't moved along with the
sketch.)

Added note to the readme about ControlP5 dependency.

Both of these changes are made in response to multiple instances
reported to us of people running into these issues.
2017-03-30 18:34:52 -07:00
SquiggleDraw Re-organize code for ease of use 2017-03-30 18:34:52 -07:00
README.md Re-organize code for ease of use 2017-03-30 18:34:52 -07:00
license.md Create license.md 2017-01-26 13:19:22 -08:00

README.md

SquiggleDraw

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!)

This is code for Processing (http://processing.org)

Additional dependency: Download and install controlP5 in your processing libraries directory. ( http://www.sojamo.de/libraries/controlP5/ )

Features:

  • Simple UI to load/save images, adjust parameters related to the sine waves, and basic image adjustements
  • Saved SVG is larger than original image for detail

Example output: SquiggleDraw Example Output

SquiggleDraw UI: SquiggleDraw UI