It is currently 06 Dec 2020, 00:46

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Wiggle Animation Plug-in

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger

Wiggle Animation Plug-in

Post#1 by tim » 20 Nov 2020, 13:19


Okay so there's wiggle photography where you take multiple shots of a scene from slightly different angles to create wiggle animation.
I thought it would be neat to create wiggle animations out of different layers.
So here it is.
wiggle-animation.py
(2.42 KiB) Downloaded 25 times
wiggle-animation.py
version 2. Allow you specify "Use Active Path" to move frames around according to path and number of frames to generate (like moving camera effect)
(3.88 KiB) Downloaded 12 times
wiggle-animation.py
version 3. Restore your layers to original positions after animation is created (so if you want it to run plug-in again it doesn't produce different results [to have same starting point again])
(4.15 KiB) Downloaded 16 times
wiggle-animation.py
version 4. Cross-eye animation (so you can cross your eyes to merge 2 images side by side into one image and see depth)
(6.21 KiB) Downloaded 11 times
wiggle-animation.py
version 5. Cross-eye Wiggle type added (without using path) and restore everything to starting condition after finishing
(7.21 KiB) Downloaded 17 times
Plug-in Menu Location: Python-Fu/Wiggle Animation

Instructions:
1. Create an image with 2 or more layers.
2. Name each layer with z-coordinate representing depth of layer. For example on top layer you might name it as 1 to tell plug-in that you want top layer to be at depth of 1 unit. z-coordinates must be 1 or higher. The higher the number means the further away from you the layer is. So lower layers would have incremented z values. (See working image below as example).
3. Run plug-in.
4. Selection "Wiggle" or "Use Active Path" and enter number of frames (if Using activing path) (Available in release/version 2).
5. That's it. You'll get a new image with animation layers that you export as animated .gif.

Screenshot of example of layer-names (z-coordinates) below:
working-on-wiggle-animation-screenshot.png
working-on-wiggle-animation-screenshot.png (51 KiB) Viewed 552 times
example output (exported as animated .gif):
wiggle-animation-example-output.gif
wiggle-animation-example-output.gif (42.34 KiB) Viewed 552 times
example .xcf so you can see how i set this up in-order to run plug-in.
wiggle-animation-example.xcf
(30.19 KiB) Downloaded 16 times

rel/version 2 example output:
version 2 example output
version 2 example output
wiggle-animation-example-output-version-2-target-practice.gif (379.11 KiB) Viewed 358 times
rel/version 2 example .xcf to run plug-in on:
wiggle-animation-example-version-2-target-practice.xcf
version 2 example input
(36.38 KiB) Downloaded 14 times
aka Tin

         

tim
GL Blogger

Post#2 by tim » 21 Nov 2020, 00:53


25K.gif
25K.gif (7.92 KiB) Viewed 495 times
another play with this (this is the Icon I use for https://reddit.com/r/25k/ [a subreddit I just created yesterday]).
aka Tin

         

Cross_Stitcher
Forum Member

Post#3 by Cross_Stitcher » 22 Nov 2020, 09:29


Amazing plugin!!
GIMP Learn rocks...

tim
GL Blogger

Post#4 by tim » 23 Nov 2020, 00:42


some more fun with version 2 of plug-in
mario-bros.gif
mario-bros.gif (139.57 KiB) Viewed 322 times
mario-bros-v2.gif
mario-bros-v2.gif (132.5 KiB) Viewed 320 times
mario-bros.xcf
file used to create the above animation
(193.21 KiB) Downloaded 10 times
aka Tin

         

tim
GL Blogger

Post#5 by tim » 23 Nov 2020, 16:26


extend ground into the background bushes and hill/moutain
mario-bros-v5.gif
mario-bros-v5.gif (148.62 KiB) Viewed 277 times
mario-bros.xcf
(1.12 MiB) Downloaded 10 times
aka Tin

         


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 31 guests