Re: [Inkscape-devel] "Grid" transformations and water imitation
You can do this using a DisplacementMap filter... but it is not necessarily easy or the best way. See:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Filters-Pixel.html#Filters-Disp...
Tav
Thanks Tav, but actually I'm looking for a solution that's not based on bitmaps.
PS: I'm resending this message because I forgot to send it to the mailing list.
On Fri, Jul 10, 2009 at 12:01 AM, Pajarico <pajarico@...400...> wrote:
You can do this using a DisplacementMap filter... but it is not necessarily easy or the best way. See:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Filters-Pixel.html#Filters-Disp...
Tav
Thanks Tav, but actually I'm looking for a solution that's not based on bitmaps.
Indeed, a DisplacementMap filter can do it (if you don't demand the result to be an editable path). And it works with any objects, not only bitmaps. See the file I attached to this mail. It has been made looking how the filters under the "Distort" filter category are made.
Steren
The lattice deform lpe goes in this direction, but you most likely want many waves: lattice deform does not have enough control atm, and if it had, moving all the handles by hand would be painfull. Moreover, you certainly are not interested in fine tuning the result, but only on the global aspect.
I think it can be worth writing a specific effect for that. There are many aspects you would like to control globally: magnitude and wave length, plus the same for a few harmonics, random strength/size, decay, choose between cartesian or radial waves... or the waves could be generated by superposing many circular waves around random points, like rain drops. There are many choices to make, and a blueprint is a good idea at this point.
The best would be to make it as general as possible (maybe someone will come with it's own preferred deformation right after that one is implemented?). Maybe, we could have a dialog where you enter the "deforming" formula ( dX(x,y)=..., dY(x,y)=... ) but I'm affraid this is too technical, and would terrify the user. Maybe worth another lpe ;-)...
Cheers, jfb.
participants (3)
-
jf barraud
-
Pajarico
-
Steren