| Crates.io | potlood |
| lib.rs | potlood |
| version | 0.1.0 |
| created_at | 2022-12-26 19:07:16.579631+00 |
| updated_at | 2022-12-26 19:07:16.579631+00 |
| description | A tiny library for drawing points and shapes to a ppm file. |
| homepage | |
| repository | https://github.com/koenwestendorp/potlood/ |
| max_upload_size | |
| id | 745906 |
| size | 14,066 |
A tiny library for drawing points and shapes to a ppm file.
Every once in a while, I create a project for which I want to create a small visualization.
Many of the methods for generating images feel too heavy for my purposes.
This crate provides a paper to draw on with a few drawing functions.
From the paper, a .ppm image can be generated.
When I desire a different output format, I simply convert the .ppm image to something else.
For example:
$ magick output.ppm output.png