Switch to full style
Post your GIMP animations here
Post a reply

A sliding horizontal kaleidoscope script

Sat Dec 24, 2016 5:22 am

This script
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)

138x200.tif
138x200.tif (81.2 KiB) Viewed 4421 times

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

138x200x3.tif
138x200x3.tif (242.92 KiB) Viewed 4421 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

Re: A sliding horizontal kaleidoscope script

Sat Dec 24, 2016 5:25 am

138x200x3gif.gif
138x200x3gif.gif (5.96 MiB) Viewed 4420 times

Re: A sliding horizontal kaleidoscope script

Sat Dec 24, 2016 11:14 am

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.

Re: A sliding horizontal kaleidoscope script

Mon Dec 26, 2016 11:18 am

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.
sliding-horizontal-kaleidoscope-mk2.scm
(4.85 KiB) Downloaded 227 times

Re: A sliding horizontal kaleidoscope script

Tue Dec 27, 2016 2:27 am

Steve, thank you so much for your nice script to play. I like it a lot. :tyspin :coolthup

Re: A sliding horizontal kaleidoscope script

Tue Dec 27, 2016 5:52 pm

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

Re: A sliding horizontal kaleidoscope script

Wed Dec 28, 2016 6:44 am

Thank you for the update Steve, it´s even better now. :clap
Post a reply