On Thu, 2011-04-14 at 14:55 +0200, Jasper van de Gronde wrote:
On 2011-04-14 14:19, Tavmjong Bah wrote:
On Thu, 2011-04-14 at 15:05 +0200, Moritz Moeller wrote:
Attached is a screen shot from the high-end compositing app 'Nuke'. Though this is raster-based, the depicted effect is purely steered by Beziers.
.mm
It looks like this effect could be simulated with mesh gradients. I've been working on getting mesh gradients added to the SVG standard.
I think that this particular effect is probably more similar to diffusion curves. Mesh gradients are cool, but in this particular case might not be the easiest to handle (you'd have to figure out how to subdivide the space within the outer curve). I expect the method in Moritz's screenshot to essentially use a simple (linear?) interpolation between two curves though, like can be done with this method: http://srufaculty.sru.edu/david.dailey/svg/SVGOpen2010/replicate.htm (Note that Inkscape also has some functionality to do this, by means of the Interpolate extension.)
If the offset path is originally created by duplicating the first then you already have matching sets of Bezier curves (or segments that can be converted to Bezier curves). The endpoints of each pairs of Beziers would simply need to be connected to form a mesh patch.