kanoko 0.2.0

Generate a random pattern inspired by the traditional Japanese kanoko pattern
Documentation
1
2
3
4
5
6
7
8
9
10
11
mod polygon;

pub use polygon::KanokoShape as Polygon;

use svg::node::element::Path;

pub trait Shape {
    type Index;

    fn generate_path(&self, index: &Self::Index) -> Path;
}