2021-04-14 21:00:48 +02:00
|
|
|
Convenience library to create art using [geo](https://georust.org/).
|
2021-03-30 22:27:12 +02:00
|
|
|
|
|
|
|
* Creates CLI interface (including random seed management)
|
|
|
|
* renders SVGs and PNG
|
2021-04-14 21:00:48 +02:00
|
|
|
* comes with helper functions and extensions, to make live more convenient.
|
2021-03-30 22:27:12 +02:00
|
|
|
* load SVGs
|
|
|
|
* scaling
|
|
|
|
|
2021-04-16 11:02:11 +02:00
|
|
|
# Binaries
|
|
|
|
|
|
|
|
I deliver some binaries to give you an impression and ideas
|
|
|
|
for your own images.
|
|
|
|
|
|
|
|
All binaries created by polygon art have the same
|
|
|
|
command line interface.
|
|
|
|
|
|
|
|
## Asteroids
|
2021-04-14 21:00:48 +02:00
|
|
|
|
|
|
|
asteroids is an example binary which renders an
|
|
|
|
image inspired by the
|
|
|
|
[asteroids game from the 1979](https://de.wikipedia.org/wiki/Asteroids).
|
|
|
|
|
|
|
|
![image](./images/asteroids.png)
|
|
|
|
|
2021-04-16 11:02:11 +02:00
|
|
|
## Rings
|
|
|
|
|
|
|
|
![image](./images/rings.png)
|
2021-03-30 22:27:12 +02:00
|
|
|
|
2021-04-16 11:02:11 +02:00
|
|
|
# How to run /examples
|
2021-03-30 22:27:12 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
cargo run --example clipping -- --help # run the examples/clipping
|
|
|
|
```
|