WindfoilDrawer
Draws shapes from a WindfoilMap with the windfoil algorithm. The coverage of a pixel is the box filtered coverage of the shape over the pixel, computed from the winding integral of its curves. Strokes are drawn from the distance to the curves within reach of the stroke.
Properties
How much the coverage of edges in dark colors is increased, see org.openrndr.draw.slug.SlugDrawer.contrast
When larger than 0, coverage is the fraction of exactSamples x exactSamples points in the pixel that are inside the shape according to its fill rule, instead of the winding integral. Slow, meant as a reference.
The instance buffer that commands are prepared in by default
Shapes that are at most this many pixels in width and height are drawn from the winding densities of their bands instead of from their curves, which is faster but approximate. Up to 1.5 times this size the two are blended. Shapes with a stroke are always drawn from their curves. 0.0 draws all shapes from their curves.
Functions
Creates a map for the boundaries this drawer draws
Draws the commands last prepared in instances