#ppm #image #graphics

nightly potlood

A tiny library for drawing points and shapes to a ppm file

1 unstable release

0.1.0 Dec 26, 2022

#676 in Images

MIT license

9KB
214 lines

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

No runtime deps