Saturday, June 25, 2016

vector - Fisheye Effect in Inkscape?


Is anyone aware of a way to create a fisheye effect with elements in InkScape? Freehand used to have an xtra tool that did just that.


The specific effect I'm trying to achieve is applying horizontal lines on a spherical object...akin to the latitude marks on globe. If you're staring at the equator, the latitude lines above bend upwards towards the pole and the reverse for those below the equator.


I could do this a number of ways and have some alternatives in mind, but Freehand's Fisheye tool seemed the easiest if there was something similar to that in Inkscape.



Answer



This isn't perfect, but one way is to use the Envelope Deformation path effect.



First convert your object to a path (you have to remove all groups and just end up with one path -- yes this is limiting). Then choose "Path" > "Path Effects Editor...". Select the Envelope Deformation path effect and click "Add". I suggest only enabling top and bottom paths. Then click the icons to edit the top/bottom paths on screen. You can play with them a bit to get the desired effect.


The downside of course is that using path effects necessitates destructive editing and can't be applied to groups of objects.


See this image for an example: example


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...