Skip to content
forked from willdady/swirlr

Experimental generative art app written in Rust!

Notifications You must be signed in to change notification settings

DebugUself/swirlr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swirlr

Experimental command line app written in Rust which takes an input image and renders an SVG by sampling points along the path of an Archimedean spiral.

The input image will be center-cropped to a square. For best results use a high-contrast input image.

Building

Build with cargo

cargo build --release

Usage

swirlr input.jpg > output.svg

You may optionally set a color with --color.

swirlr --color "red" input.jpg > output.svg

Note if you're running via cargo don't forget the -- so cargo doesn't interpret the option on itself.

cargo run -- --color "red" input.jpg > output.svg

To see a version of this compiled to Web Assembly check out swirlr-wasm!

About

Experimental generative art app written in Rust!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%