It is currently 27 May 2020, 02:16

• 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

Jiggle Visible Layers Plug-in.

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

Jiggle Visible Layers Plug-in.

Post#1 by tim » 07 Dec 2019, 20:58


Requested by SweenyMark.
This plug-in will allow you to apply jiggles to your VISIBLE layers.
jiggle-visible-layers.py
(3.16 KiB) Downloaded 65 times
jiggle-visible-layers.py
version 2. Set minimum values for jiggles to 1 (so random range funcdtion wouldn't error out)
(3.19 KiB) Downloaded 51 times
jiggle-visible-layers.py
version 3. Recursivly work through visible layers that are under layer groups as well
(3.81 KiB) Downloaded 76 times
Plug-in Menu Location: Python-Fu/Jiggle Visible Layers...

Instructions:
1. For layers you want to apply jiggle to, turn on visibility (have other layers visiblity turned off).
2. Run plug-in. That's it.

This plug-in was designed to work on layers created by Custom Font and Custom Font on Path plug-in.
For quick standard font (not custom font), you can use Character Layers from Text plug-in.
But it'll work on other artworks as well, as long as they're visible layers.
Jiggle-Visible-Layers-Options.png
Jiggle-Visible-Layers-Options.png (42.35 KiB) Viewed 3299 times
Before on left, After on right
Before on left, After on right
jiggle-visble-layers-applied-to-custom-fonts.png (253.9 KiB) Viewed 3299 times
Example result provided by SweenyMark:
Image

https://www.youtube.com/watch?v=TJuxe-E1SLU
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
1

tim
GL Blogger

Post#2 by tim » 09 Dec 2019, 15:09


version 3 added (works recursively through layers under layer-groups as well).
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
1

sweeneyMark
Forum Member

Post#3 by sweeneyMark » 15 Dec 2019, 14:46


hi,

Anyway of redrawing the image as each letter is jiggled?
Then you can see what your getting as it works it's magic.
GIMP Learn rocks...
0

tim
GL Blogger

Post#4 by tim » 15 Dec 2019, 21:49


sweeneyMark wrote:
15 Dec 2019, 14:46
hi,

Anyway of redrawing the image as each letter is jiggled?
Then you can see what your getting as it works it's magic.
find this code

Code: Select all

	pdb.gimp_context_pop()
add this line of code above found code

Code: Select all

		pdb.gimp_displays_flush()
for me it happens too fast when i was testing anyways, you might observe intermittent changes if you font is larger and takes longer to rotate/transform.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
1

sweeneyMark
Forum Member

Post#5 by sweeneyMark » 16 Dec 2019, 13:10


Thanks, that worked. :)
Although the cancel button doesn't, so it can't be stopped.
It's quite slow on my machine, about 1 letter a second. Thats a 16K image though.
GIMP Learn rocks...
0

tim
GL Blogger

Post#6 by tim » 16 Dec 2019, 23:45


Yeah the Cancel button is built by GIMP I have no control over that.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0


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
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 15 guests