Skip to content

adambelis/SquiggleDrawInkscape

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SquiggleDraw Inkscape Extension

NOTE: this repo does not yet include an installer. You can copy the .inx and .py files to your extension folder on your computer and things will work. (See: Inkscape Documentation on Installing Extensions)

Inkscape 1.3+ "native" version of the SquiggleDraw Processing app.

This extension will convert the brightness or color intensity of a grayscale or color image into sinewave SVG paths that can then be pen plotted, laser engraved, or used for any purpose you desire!

SquiggleDraw output example in grayscale

There are user-editable parameters for how detailed the resulting paths are, the intensity and density of the sinewaves, and how the paths are rendered.

SquiggleDraw UI with CMYK Example

This is a complete rewrite with new version of the primary algorithm, taking into account differences in programming language and host application.

Compared to the Processing version, this extension:

  • is faster
  • can handle large images with ease
  • produces smoother "squiggles"
  • can output CMYK color separations for use with CMY pens
  • can process transparent images (makes background white)

Notes:

  • This extension has only been tested with Inkscape 1.3, but might work in previous versions.

  • CMYK is actually CMY due to the way Inkscape converts RGB to CMYK (they remove K). C + M + Y will produce K when overlapping ("rich black") and with cyan, magenta, and yellow ink pens, plots should mix appropriately.

  • Use of this extension on images created via Inkscape's "Make Bitmap Copy" feature will sometimes produce unexpected results. It is better to create your bitmaps outside of Inkscape.


SquiggleDraw UI with close-up of CMYK Example

About

Inkscape version of SquiggleDraw image-to-SVG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%