diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-04-29 08:03:23 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-04-29 13:30:02 -0700 |
commit | aa77b6b96694496c46a9f99fa23ba2edbf973aa2 (patch) | |
tree | 388ba7b2f08b6f7a726cd41f8cc4f0dc1b048305 /src/modules/plasma/plasma.c | |
parent | 34811cbe4bf6da3e6e22860890fca4c9fff71252 (diff) |
modules/voronoi: voronoi diagram module
This adds a voronoi diagram module, which when used as an overlay
produces a mosaic effect.
Some settings:
cells=N number of voronoi cells
randomize={on,off} randomizes the cell locations every frame
dirty={on,off} uses a faster sloppy/dithery-looking method
Some TODO items:
- use a more space efficient representation of the distance
buffer, maybe use uint16_t relative offsets into the cells
rather than pointers - capping their quantity to 64KiB
- anti-alias edges between cells
Diffstat (limited to 'src/modules/plasma/plasma.c')
0 files changed, 0 insertions, 0 deletions