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
pub mod lattice;

use crate::geometry::Coordinate;

pub trait PointSet {
    type Index;

    fn index_iter(&self) -> Box<dyn Iterator<Item = Self::Index>>;
    fn index_to_coordinate(&self, index: &Self::Index) -> Coordinate;
    fn bounding_box(&self) -> Coordinate;
}