Skip to content

gwygonik/SquiggleDraw

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Added fix for ControlP5 controls not working correctly in P5 v4

Updated toggle buttons to be non-ambiguous for state
2d2131d

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 28, 2023 11:58
January 26, 2017 13:19

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

About

Processing app to create an SVG based on the brightness of an image transformed into sine waves.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •