From aa77b6b96694496c46a9f99fa23ba2edbf973aa2 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 29 Apr 2022 08:03:23 -0700 Subject: 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 --- src/modules/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/Makefile.am') diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am index 92a4145..e5c9971 100644 --- a/src/modules/Makefile.am +++ b/src/modules/Makefile.am @@ -1 +1 @@ -SUBDIRS = blinds checkers compose drizzle flui2d julia meta2d montage pixbounce plasma plato ray roto rtv snow sparkler spiro stars submit swab swarm +SUBDIRS = blinds checkers compose drizzle flui2d julia meta2d montage pixbounce plasma plato ray roto rtv snow sparkler spiro stars submit swab swarm voronoi -- cgit v1.2.1