about summary refs log tree commit diff
path: root/test/Xanthous/Data/EntityMap/GraphicsSpec.hs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-10T23·44-0400
committerGriffin Smith <root@gws.fyi>2020-05-10T23·44-0400
commit2320cfa8cd2540cd0caf91f2e7cdc81045c9504c (patch)
treefb631f55079e7154e79fb2526784dc6123146bc8 /test/Xanthous/Data/EntityMap/GraphicsSpec.hs
parent78a323ec7a2be18325604829122b7bf95e232b9b (diff)
Use open circles to generate filled circles
Rather than leaning on rasterific to generate filled circles for us,
instead start with an open circle, then fill it by scanning line-by-line
and filling in points that are "inside" of the circle, based on keeping
track with a boolean. Also adds a couple of helper functions for
displaying these kinda "boolean graphics" things we're passing around,
as sets of points.
Diffstat (limited to 'test/Xanthous/Data/EntityMap/GraphicsSpec.hs')
0 files changed, 0 insertions, 0 deletions