It is currently Wed Jun 26, 2024 9:29 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: A sliding horizontal kaleidoscope script
PostPosted: Sat Dec 24, 2016 5:22 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 198
This script
Attachment:
sliding-horizontal-kaleidoscope.scm [3.43 KiB]
Downloaded 213 times

located at "<Image>/Filters/Animation/Sliding kaleidoscope"

is a .scm file, that when run on an image will create a sliding horizontal kaleidoscope animation, as seen in the example shown in the following post

To create an image to use the script on

1. Choose or create your initial image, the pixel width MUST be a multiple of 6, in the example below 138 wide x 200 height (height doesn’t matter)

Attachment:
138x200.tif
138x200.tif [ 81.2 KiB | Viewed 4411 times ]

2. Copy and paste this initial image 3 times into a second image that is 3 times the width, as seen below

Attachment:
138x200x3.tif
138x200x3.tif [ 242.92 KiB | Viewed 4411 times ]

3. Run the script on this second image, it takes a couple of minutes on the example above

4. Save as a .gif file or play in the Filters > Animation > Playback

Notes:

The number of layers created is equal to (the pixel width of the image divided by 3) - 1, so bigger images take much longer for the script to run with file byte size increasing massively

The script should really do step 2 for the user and should create the gif as a new image, sorry it doesn’t, my bad

If it crashes other than the image size not being a multiple of 6 I’d be grateful to know

Steve


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: A sliding horizontal kaleidoscope script
PostPosted: Sat Dec 24, 2016 5:25 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 198
Attachment:
138x200x3gif.gif
138x200x3gif.gif [ 5.96 MiB | Viewed 4410 times ]


Top
 Post subject: Re: A sliding horizontal kaleidoscope script
PostPosted: Sat Dec 24, 2016 11:14 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Thank You Steve, this is cool script appreciate :bigthup
It works perfectly on images without transparency, I tried first with a .png and it leaves something behind each frame.
Adding "replace" tag did not help as you can see. But thanks again I like this one.


Attachments:
killbur.gif
killbur.gif [ 250.1 KiB | Viewed 4331 times ]
Trilbur.gif
Trilbur.gif [ 200.11 KiB | Viewed 4331 times ]
Top
 Post subject: Re: A sliding horizontal kaleidoscope script
PostPosted: Mon Dec 26, 2016 11:18 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 198
Nidhogg wrote:
Thank You Steve, this is cool script appreciate :bigthup
It works perfectly on images without transparency, I tried first with a .png and it leaves something behind each frame.
Adding "replace" tag did not help as you can see. But thanks again I like this one.

Thanks Nidhogg, glad to see you got it working :) Although some gifs make use of transparency it doesn’t really work with these gifs, its best to flatten the image before running the script.

Below is an updated version of the script which runs on the initial image. The script creates a new image with the 3 copies pasted in. Also no need to ensure the pixel width is a multiple of 6, if it’s not a multiple of 6 the script scales it up so.
Attachment:
sliding-horizontal-kaleidoscope-mk2.scm [4.85 KiB]
Downloaded 227 times


Top
 Post subject: Re: A sliding horizontal kaleidoscope script
PostPosted: Tue Dec 27, 2016 2:27 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12702
Location: Spain, Aragón
Steve, thank you so much for your nice script to play. I like it a lot. :tyspin :coolthup


Attachments:
Sliding horizontal kaleidoscope.gif
Sliding horizontal kaleidoscope.gif [ 3.81 MiB | Viewed 4189 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: A sliding horizontal kaleidoscope script
PostPosted: Tue Dec 27, 2016 5:52 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 198
Issabella wrote:
Steve, thank you so much for your nice script to play. I like it a lot. :tyspin :coolthup

:tyspin Issabella
Your ballerina works well with the sea and sky background :bigthup


Top
 Post subject: Re: A sliding horizontal kaleidoscope script
PostPosted: Wed Dec 28, 2016 6:44 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Thank you for the update Steve, it´s even better now. :clap


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Sliding-into-Place Animation Plug-in

5

No new posts Kaleidoscope & Mandala Art

19

No new posts Slow Change Kaleidoscope

7

No new posts Attachment(s) Access built-in Kaleidoscope with Python

7

No new posts Attachment(s) Kaleidoscope Plugin Source Code

1



* Login  



Powered by phpBB3 © phpBB Group