Gimp-Forum.net
Is there a faster way to duplicate and rotate layers? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Is there a faster way to duplicate and rotate layers? (/Thread-Is-there-a-faster-way-to-duplicate-and-rotate-layers)



Is there a faster way to duplicate and rotate layers? - iZeus - 11-26-2017

Looking to make a gif for my birthday.

Essentially I'll have a circle image with my face rotating to a song.
However I really don't want to be repeating the "Duplicate Layer +1 Degree Rotate" for 360 layers. Is there a faster way of doing this? Or maybe I could do bigger degree portions instead of 1 to 360? A script perhaps?


RE: Is there a faster way to duplicate and rotate layers? - rich2005 - 11-26-2017

There is a script script-fu-copy-rotate-nLayer.scm from http://registry.gimp.org/node/22254

Works on a selection so select the whole layer with the design, apply the script. Find it in the Select menu.

looks like this: https://i.imgur.com/mJ48tie.jpg

Edit: Since reg.gimp.org is long gone that file now attached. Unzip and put in your User Profile scripts folder


RE: Is there a faster way to duplicate and rotate layers? - Ofnuts - 11-26-2017

If you want to emulate a 33rpm you need a turn every 2 seconds, and if you use the "slow" rate of 10fps, that's just 20 frames (18 degrees apart). At the standard rate of 25fps, you need 50 frames. Note that each rotation will introduce a slight blur, so you have to rotate the initial layer with increasing angles, and not rotate the previous layer with a fixed angle. It is however possible that you get a slightly smoother look if you apply a light radial blur to all frames

Otherwise, yes, a script.