Skip to content

rasberry/AreaSmoother

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages