Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 776 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 776 Bytes

AreaSmoother

Blends adjacent areas of flat color together

How it works

Area Smoother was born out of wanting to smooth out flat single color areas produced by fractals and blen them into each other. For each pixel, the algorithm looks for the shortest line between the nearest boundary colors and computes a new color in a linear gradient between the boundary colors and the original color of the pixel.
In effect it creates gradients between centers of flat color areas.

Examples

Original Smoothed
red circle plain red circle smoothed
circles plain circles smoothed

See the examples folder for more examples.