#geometric #pattern

geopattern

Beautiful generative geometric background images from a string, a Rust implementation of geo_pattern from @jasonlong

5 releases (breaking)

0.5.0 Aug 4, 2020
0.4.0 Jul 14, 2020
0.3.0 Feb 10, 2019
0.2.0 Feb 19, 2018
0.1.0 Feb 17, 2018

#550 in Images

23 downloads per month

MIT/Apache

81KB
2K SLoC

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.

Dependencies

~83KB