suyash / geopattern-rs

Beautiful generative geometric images from a string, based on @jasonlong's geo_pattern, with a WASM demo

Home Page:https://suy.io/geopattern-rs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geopattern

Continuous Integration crates.io badge docs.rs badge

This has been rewritten to be leaner and actually usable.

The sha1 stuff is out, now essentially a bunch of functions that return svg::Document.

In the cleanup, removed error handling and now the code has a bunch of assert_eq! calls. Maybe reconsider that.

Examples

Generated using

cargo run --example create_readme_examples

Chevrons

Circle Packing

Concentric Circles

Cubic Disarray

Diamonds

Hexagons

Hypnotic Squares

Joy Division

Mosaic Squares

Nested Squares

Octagons

Overlapping Circles

Overlapping Rings

Piet Mondrian

Plaid

Plus Signs

Sine Waves

Squares

Tesselation

Tiled Lines

Triangles

Triangular Mesh

Un Deus Trois

Xes

License

geopattern-rs is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

About

Beautiful generative geometric images from a string, based on @jasonlong's geo_pattern, with a WASM demo

https://suy.io/geopattern-rs/

License:Apache License 2.0


Languages

Language:Rust 100.0%