A simple Shape
type to render vectorial shapes through golang.org/x/image/vector#Rasterizer.
This code was originally part of etxt, but I decided to move it out for v0.0.9. The code now doesn't depend on etxt nor Ebitengine.
Check out a cool online example, or run it yourself with:
go run github.com/tinne26/sfntshape/examples/rng@latest
(Instructions can be hidden with H and fullscreen can be switched with F)