An open API service indexing awesome lists of open source software.

https://github.com/lichtso/freeformgradients

WebGL2 based implementation of distance transform and diffusion curves
https://github.com/lichtso/freeformgradients

diffusion-curves distance-transform image-processing webgl2

Last synced: about 1 year ago
JSON representation

WebGL2 based implementation of distance transform and diffusion curves

Awesome Lists containing this project

README

          

# Free Form Gradients
[This online demo](https://lichtso.github.io/FreeFormGradients/index.html)
is optimized for Firefox and fills transparent areas (alpha channel = 0) with free form color gradients from their edges.
As input you most likely want to use hard edges (disable antialiasing) to prevent semi transparent pixels from spreading.

## Algorithms

### Distance Transform
[GPU-based real-time discrete euclidean distance transforms with precise error bounds](https://wwwcg.in.tum.de/fileadmin/user_upload/Lehrstuehle/Lehrstuhl_XV/Persons/Kraus/visapp09.pdf)

### Diffusion Curves
[A GPU Laplacian Solver for Diffusion Curves and Poisson Image Editing](http://peterwonka.net/Publications/pdfs/2009.SGA.Jeschke.LaplacianSolver.final.pdf)