diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-12-03 21:58:34 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-12-03 21:58:34 -0800 |
commit | 531657799d853dc727d834c7f180dacdbfa76380 (patch) | |
tree | ccd221686a16b23825fdabbb2e063fd6f3a32567 /src/modules/shapes | |
parent | 9c6575344bbba510836de9a3222d779434cb67f7 (diff) |
modules/spokes: make spokes count configurable
This switches the perimeter and stride math to use floating
point, done in a kind of fast and nasty naive substitution
manner.
That's necessary for getting away from the even stride
calculation / spokes calculation in favor of supporting arbitrary
spoke counts, without introducing discontinuities at the
boundaries of the mirrored sides
The new setting is count= with a handful of reasonable presets.
It's a little awkward since this is expressed as half the actual
count, naming could probably be improved.
Diffstat (limited to 'src/modules/shapes')
0 files changed, 0 insertions, 0 deletions