# Video/GIF of an image with polar inversion

## Recommended Posts

I want to make a video or a gif about an image. I want my image to be gradually twisted with the "polar inversion". How to make an algorithm like this :

```float i = 0;
while( i != 4)
{
apply Polar Inversion (Quantity : i);
save image as "MyImage"+i+".png";
revert to the original image;
i = i + 0.1
}```

how to do this automaticly?

Edited by MisterAqua
Correct code
##### Share on other sites

Paint.net cannot be automated in this way.

##### Share on other sites

Do you know any software that could do that ?

##### Share on other sites

Sorry, no.

If I was doing this I'd bite the bullet and do it manually.

##### Share on other sites

300 images by hand :..(

No way to code an effects.

At least how do this effect work (maybe coding python to reproduce the effect)

##### Share on other sites

For my gif I use a screenshot capture. It saves each frames with a number...

##### Share on other sites

Sorry, my code should be 0.01 instead of 0.1

##### Share on other sites

Then you understand that @Ego Eram Reputo could suggest to do it manually for "only" 40 slides.

Still I count now 400 images to handle with. Have you already use an animated gif program with as much as 400 images?

What is the size of 1 single image in pixel ? x400 ?

##### Share on other sites

I talk about gif but just want a nice, big and fluid animation. it is 4000x2000, and i want at least 40fps during 3sec. I think i will do 120 images.

##### Share on other sites

4000x2000 you should forget about screenshots if you don't have a screen with that resolution!

##### Share on other sites

I'm not making screen shot ? I'm going to calculate a reasonable rate for having a fluid animation without losing quality.

How does the polar inversion work ?

I wonder : translate coordonate in polar coordonates.

Remplace all the pixel by the (1/x) th one.

Translate new image from polar to orthogonal

I'm i right ?

##### Share on other sites

I founded a C/C++ librairy to edit and save images. I just need the exact formula of the polar inversion (either reflect or either warp mode)

##### Share on other sites

I "prit mon mal en patience" and i rendered 90 frames of 2560 * 1440. 30 frames left :/.

Edited by MisterAqua

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×