GIMP Chat
http://gimpchat.com/

A sliding horizontal kaleidoscope script
http://gimpchat.com/viewtopic.php?f=25&t=15108
Page 1 of 1

Author:  Steve [ Sat Dec 24, 2016 5:22 am ]
Post subject:  A sliding horizontal kaleidoscope script

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 4417 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 4417 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

Author:  Steve [ Sat Dec 24, 2016 5:25 am ]
Post subject:  Re: A sliding horizontal kaleidoscope script

Attachment:
138x200x3gif.gif
138x200x3gif.gif [ 5.96 MiB | Viewed 4416 times ]

Author:  Nidhogg [ Sat Dec 24, 2016 11:14 am ]
Post subject:  Re: A sliding horizontal kaleidoscope script

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 4337 times ]
Trilbur.gif
Trilbur.gif [ 200.11 KiB | Viewed 4337 times ]

Author:  Steve [ Mon Dec 26, 2016 11:18 am ]
Post subject:  Re: A sliding horizontal kaleidoscope script

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

Author:  Issabella [ Tue Dec 27, 2016 2:27 am ]
Post subject:  Re: A sliding horizontal kaleidoscope script

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 4195 times ]

Author:  Steve [ Tue Dec 27, 2016 5:52 pm ]
Post subject:  Re: A sliding horizontal kaleidoscope script

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

Author:  Nidhogg [ Wed Dec 28, 2016 6:44 am ]
Post subject:  Re: A sliding horizontal kaleidoscope script

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

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/