Diffusion curves in matlab

Alec Jacobson

January 29, 2014

weblog/

I wrote a little demo to compute and render Diffusion Curves using matlab.

The demo lets the user draw a set of curves,

diffusion curves in matlab curves

meshes the curves with a properly slitted and constrained Delaunay triangulation

diffusion curves in matlab curves

and then applies random colors varying along each of the curves to compute diffusion curves using an FEM solver.

diffusion curves in matlab curves

Try it for yourself, unzip the code and issue:

diffusion_curves_demo