It is currently Fri May 03, 2024 9:49 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Fri Apr 17, 2020 3:54 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Just type "ofnuts" in Google and the first suggestion is the right one.

Otherwise: http://sourceforge.net/projects/gimp-to ... s/scripts/

_________________
Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Fri Apr 17, 2020 8:46 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 644
Useful script, thank you Ofnuts :tyspin

I wonder if it would be worth having an option for the user to specify a maximum number of frames produced? For example when the layer to be scrolled is more tiled less frames are needed.

e.g. for a layer of size image 640x480 with Step V -5 of course the script generates 96 frames.

But I made the layer a 2x2 tile, so only need 48 frames. I can get this by deleting the unwanted frames but that would be more awkward the more frames are involved.

(Minor point but the champagne images aren't showing in the ofn-scroll-layer.html page, think the filenames changed case).

Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Fri Apr 17, 2020 9:47 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
The plugin looks good with excellent documentation. This is just the animation ofnuts made from the html.


Image


I'm going to finish a gif I started with the old plugin before I start with this one. I suspect there is a new effect hiding in these plugins.

It's not easy writing a plugin that is used across multiple systems. Also in animation the eye seems to be drawn to any defect in the animation.
I've found bubbles are easy because the beginning and end can just be a space in the 'flow'.

Hi teapot. You started all of these rising bubbles :) The following deletes every second file either even or odd numbers on linux:

rm -f *[13579].png

rm -f *[24680].png


Note. If you use the top one then file 2 becomes file 1 after you re-number. Running it again would delete 2 files in the series. That means alternate between these and re-number if removing multiple files.


Last edited by Tas_mania on Sat Apr 18, 2020 6:13 am, edited 1 time in total.

Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Sat Apr 18, 2020 3:08 am  (#14) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
teapot wrote:
I wonder if it would be worth having an option for the user to specify a maximum number of frames produced? For example when the layer to be scrolled is more tiled less frames are needed.

e.g. for a layer of size image 640x480 with Step V -5 of course the script generates 96 frames.

But I made the layer a 2x2 tile, so only need 48 frames. I can get this by deleting the unwanted frames but that would be more awkward the more frames are involved.

Give a max number, no, but a pair of tiling factors, yes.

teapot wrote:
(Minor point but the champagne images aren't showing in the ofn-scroll-layer.html page, think the filenames changed case).


As far as I can tell they have matching cases in the ZIP and in the HTML (I'm on Linux, so case-sensitivity of file names is a fact of life). The final animation is a WEBP image that is supported in decent browsers.

_________________
Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Sat Apr 18, 2020 5:28 am  (#15) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Updated with support for tiles.

_________________
Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Sat Apr 18, 2020 6:10 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Image


Maybe this should come with some sort of health warning? :rofl

This started as 400 frames and I reduced it to 200, then 100 using the method above.


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Sat Apr 18, 2020 9:37 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 644
Tas_mania, I'm going boggle eyed :hehe

ofnuts wrote:
Give a max number, no, but a pair of tiling factors, yes.
Thank you :bigthup

ofnuts wrote:
As far as I can tell they have matching cases in the ZIP and in the HTML (I'm on Linux, so case-sensitivity of file names is a fact of life). The final animation is a WEBP image that is supported in decent browsers.
Thanks, it was me mucking up my directory :oops:

Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Sun Apr 19, 2020 5:18 am  (#18) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
teapot wrote:

[ Image ]


Cleverly done :)

_________________
Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Mon Apr 20, 2020 6:47 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Hi ofnuts.
I found a problem using the scroll-layer script. I would like to animate this image horizontally.
Image


With settings of 1 horizontal step and 1 horizontal tile I get 3840 layers at 87Gb image size. That's too big for my computer to use. Is it possible to get less layers? The script works OK with animated GIFs but I like making 1280X720px images for video.


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Mon Apr 20, 2020 7:14 pm  (#20) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Your image is 960px (zoomed at 25%, so 3840px wide). If each frame is shifted 1px, you need 3840 frames for a full cycle... if you had less frames the animation wouldn't be continuous. If you want less frames use a bigger step or a smaller image o( tile the image). Note also that the layer is much taller (4x) than necessary... this costs you RAM.

_________________
Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Mon Apr 20, 2020 7:40 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Your absolutely right. I reduced the image size by 50% and used Horizontal Steps =1 and Horizontal Tiles =2.
The animation works perfectly.

Now I changed the Canvas Size to 1280X720 and it looks good.
Reason for the blank space is for a background image.

This is a base size for HD video.
Anyone using the script with big images will discover this problem. It's not the script. :clap

If the script shifts each frame by 1 pixel this could be increased to 10 pixels.
That would result in less frames and the animation would still look smooth IMHO.

It looks like you aimed for professional animation. I think you achieved that.


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Tue Apr 21, 2020 2:55 am  (#22) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Tas_mania wrote:
Reason for the blank space is for a background image


The layer doesn't need be the size of the image (of course, if you use ofn-interleave-layers later in the process, all you frames will have the size of the image...). If you look at the example that comes with the script, the bubbles layer is much smaller than the image.

_________________
Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Tue Apr 21, 2020 6:08 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Image


Finished the cars animation. A cut-down from a video clip - they are Holdens no longer in production.


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Tue Apr 21, 2020 8:59 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: Apr 05, 2020
Posts: 41
Hello, :)

Pretty animation Tas_mania.

A little detail to make more "realistic"... add shadows under the cars.

Have fun. :)
@+++

_________________


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Tue Apr 21, 2020 5:39 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Thanks Jimmy Marco for the suggestion.
I experimented and used 'Long Shadow' and cut it off below the cars so it looks like its only the road.

Image


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Wed Apr 22, 2020 2:55 am  (#26) 
Offline
GimpChat Member
User avatar

Joined: Apr 05, 2020
Posts: 41
Hello, :)

I think it's too dark and too strong.

I have tried with a simple black line aligned with the bottom of each car wheels...
3 pixels thickness, 90 opacity, and fade each front and back of cars :

Attachment:
Shadows01.png
Shadows01.png [ 1.24 KiB | Viewed 4604 times ]

Attachment:
Shadows02.png
Shadows02.png [ 10.39 KiB | Viewed 4604 times ]

As you work on transparency with the png's cars, it will be easier for you.
Perhaps it'll be better with 4 pixels thickness... you'll see as you prefer.

Have fun. :)
@+++

_________________


Last edited by JimmyMarco on Wed Apr 22, 2020 6:03 am, edited 1 time in total.

Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Wed Apr 22, 2020 4:43 am  (#27) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Thanks Jimmy Marco.
That's a good idea. I already used the drop shadow so maybe next time.

Image


This time I used ofn-interleave-layers to mix the left moving cars with the right moving cars.

A good learning experience for me and appreciate the help from friends in France.
Just realised - Australia drives on the LHS not RHS. What was I thinking LoL.

BTW. Some cars are 'tailgating' other cars. I think it happens all over the World :)


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Wed Apr 22, 2020 5:41 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Looks good Tas. Here's something, similar?

Attachment:
RoadRunner.gif
RoadRunner.gif [ 1.02 MiB | Viewed 4585 times ]


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Wed Apr 22, 2020 5:45 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1334
Hi racer - nice background animation - good to see the coyote and road runner are keeping to the wrong side of the road :)


Top
 Post subject: Re: Made An Animated GIF With An Ofnuts Script
PostPosted: Wed Apr 22, 2020 11:41 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 644
Very nice cars animation Tas_mania :jumpclap

I like your idea to have a scrolling background racer-x :clap

Have given it a try:

Image


Top
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Made an animated brush from unsplash image

1

No new posts Attachment(s) Falling snow animated Scheme Script for Gimp

121

No new posts Attachment(s) Was Ofnuts' WrapMap 0.4 plug-in a casualty of v2.10?

12

No new posts Attachment(s) Outline Layer Contents by Ofnuts

2

No new posts Attachment(s) Made with new filter in G'mic

23



* Login  



Powered by phpBB3 © phpBB Group