diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-05-20 21:25:39 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-05-21 13:20:55 -0700 |
commit | 192a89a7f9f396fff4eb6b0836f597c376e98932 (patch) | |
tree | 69d8da7758b4587fdfa8646ebf53d0aac277e876 /src/til.c | |
parent | 04553f39b81db2cf07c32a94665c7ab65a420a5c (diff) |
modules/shapes: add procedural 2D shapes module
Mostly for compositing purposes, here will be a corpus of 2D
shapes, parameterized/procedurally generated and able to rotate
and perhaps have other dynamics added.
What shapes are there presently I had started implementing in
checkers as "styles", before realizing they really should just be
a separate module checkers can call into.
Not terribly interesting by itself, but as blinds and checkers
demonstrated, these things deliver a lot of value in
compositional situations. They're creating the palette to draw
from.
Diffstat (limited to 'src/til.c')
-rw-r--r-- | src/til.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,7 @@ extern til_module_t plato_module; extern til_module_t ray_module; extern til_module_t roto_module; extern til_module_t rtv_module; +extern til_module_t shapes_module; extern til_module_t snow_module; extern til_module_t sparkler_module; extern til_module_t spiro_module; @@ -61,6 +62,7 @@ static const til_module_t *modules[] = { &ray_module, &roto_module, &rtv_module, + &shapes_module, &snow_module, &sparkler_module, &spiro_module, |