string_art 0.1.0-alpha.1

Convert images into thread patterns for creating string art. It generates detailed instructions in text format and provides graphical previews of the resulting patterns.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub enum Message {
    CreatingNail(usize),
    Baking,
    Dithering(usize, usize),
    Computing(usize),
}

pub trait Verboser {
    fn verbose(&mut self, message: Message);
}

pub struct Silent;

impl Verboser for Silent {
    fn verbose(&mut self, _: Message) {}
}