Mobile app version of vmapp.org
Login or Join
Gloria351

: GIMP: annulus of increasing radius? How would I go about creating an animation in GIMP which gives the following result: The animation starts with an annulus at the centre of a transparent background,

@Gloria351

Posted in: #Animation #Gimp

How would I go about creating an animation in GIMP which gives the following result: The animation starts with an annulus at the centre of a transparent background, which then enlarges until it disappears off the edge of the image entirely? Say the "thickness" of the annulus is 20 pixels. Is this even possible?

I guess I could echieve the result if I could at least create an animation which enlarged a circle from 0 radius to a radius equal to max(width/2, height/2) of the image. I could then subtract two such animations to get my animated annulus. However, I'm not even sure how to do the enlarging circle animation !

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria351

2 Comments

Sorted by latest first Latest Oldest Best

 

@Lee3735518

There are scripts for this:


use ofn-path-to-shape to create two circle paths (inner and outer).
use path-inbetweener to generate the intermediate paths
use stroke-visible-paths to generate the frames.




The image above was generated using the "swing" option in path-inbetweener to have a sine-function spacing (but of course there is also a "linear" option), and the mirror-layers script to generate and inverted copy of the stack.

Note: path-inbetweener requires the start and end paths to have the same number of anchors. Using ofn-path-to-shape to create them guarantees this. Making a path from a circle selection doesn't.

10% popularity Vote Up Vote Down


 

@Samaraweera207

Yes, of course. You could do it like this.


Create a new 600 x 600px square image, delete the background layer
Create a new transparent layer.
Drop two guides smack in the middle at 300px, one horizontal and one vertical.
Use the ellipse select tool to create a circle that almost fills the square, making sure it is centred on the centre origin as shown by the guides. Tip: use CTRL+ALT+SHIFT as you click and drag to constrain the shape to a circle, and to keep it centred on the origin.
Turn the selection into a path.
Stroke the path with a 20px brush.
Add a new transparent layer, and drag it under the previous layer.
Choose the scale tool, using the Transform Paths option.
Scale the path smaller to make the next circle inside the first, centring it using the guides, and hit scale.
Repeat steps 6 to 9, until you reach the smallest ring.
Crop the image to a smaller square, small enough so that the last circle (in the top layer) fills only the corners of the crop.
Click File > Export As > give it a new file name and end with the file extension .gif, click Export.
When the GIF export dialog appears check the following options: As animation, one frame per layer replace, use disposal entered above for all frame layers. Hit Export.


Here's the result. Stare at it long enough and you will be hypnotised!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme