potlood

Crates.iopotlood
lib.rspotlood
version0.1.0
sourcesrc
created_at2022-12-26 19:07:16.579631
updated_at2022-12-26 19:07:16.579631
descriptionA tiny library for drawing points and shapes to a ppm file.
homepage
repositoryhttps://github.com/koenwestendorp/potlood/
max_upload_size
id745906
size14,066
Marieke Westendorp (ma3ke)

documentation

README

Potlood

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.

Other output formats

When I desire a different output format, I simply convert the .ppm image to something else. For example:

$ magick output.ppm output.png
Commit count: 0

cargo fmt