Logo Cinquin Andy Signature

Make an animation with any image

Développeur Freelance - Logo

The sites and the associated resources.

Make an animation with any image

Posted on February 14, 2024 -  by Andy Cinquin

Motion designAnimationRiveAfter effectPhotoshopWebFree Animation TutorialAnimated Background CreationAdobe After Effects BasicsUsing Midjourney for ImagesAnimating without Adobe SuiteBing Image Creator TipsLeonardo AI for Image EditingRive and Lottie AnimationImage Clipping TechniquesLayer Animation Methods

In this tutorial, we'll look at how to create this kind of animation and background, what the steps and possibilities are, and how to do it all for free (with or without the Adobe suite). Bear in mind that the Adobe suite only saves time!

Paid and premium versions: Prerequisites :
  • Photoshop
  • Midjourney
  • After Effects
  • A place to host your animation, your own server, your own site
Step 1: Generate an image with MidJourney (or other AI)
Step 2: Detour each element separately (the elements to be animated)
Step 3: Put everything into After Effects, then hand-animate each element that has been cropped.
Step 4: render as a video, or image sequence, and tadaaa

Free version (trickier, but it can be done!):
Prerequisites :
  • Bing Image Creator (go to Copilot -> Bing search bar)
  • Leonardo (or other generative AI)
  • Photopea (simplified online Photoshop)
  • Rive (or Lottie)

Bing image

We start with Bing Image (or any other free image generator), and ask for what we want. It's best to ask for something simple, minimalist, vector-based and with lots of contrast, as this will help us in the following steps. Pro and paid version: we use Midjourney
Pasted image 20240210130547.png
Once we've generated our images, we choose the one we like best, and which we want to animate and bring to life. We save this image, as we'll be needing it in the future
_4bcba0f6-a8ed-4ad9-894d-d2ea7fd5cee1.jpg

Leonardo edit

Free alternative (thanks Bréval): SDXL Inpainting - a Hugging Face Space by diffusers
Pasted image 20240213174024.png
Here, we take a tool capable of generating image completions and replacements. Leonardo IA is very good for this in the free version (you have a few daily credits, normally that's enough) Pro version: Adobe Firefly / Photoshop
We're going to delete the elements we want to animate, so as to have the normal background without the element, and to have what's behind the object when we hijack it.
On Leonardo, this is the "erase" tool:
Pasted image 20240213170328.png
On Photoshop, it's the "generative fill" or "fill according to content" tool (behind the little bucket).
Pasted image 20240213170422.png
Pasted image 20240213170412.png
Once all the elements have been removed, you're left with a simplified image.
Pasted image 20240210130844.png
Pasted image 20240210130533.png
Pasted image 20240210131027.png
We now save this image carefully.
artwork.png

Photopea | Online Photo Editor

Here, we'll take the free online Photoshop (or any other equivalent tool, capable of making rough layers). The aim will be to separate the elements and put them in specific layers to then recreate the image from scratch.
Pro: go directly to Photoshop
Use clipping tools, lasso, magic wand, object selection, whatever - the aim is simply to separate elements between each layer.
Photoshop's object selection tool works great:
Pasted image 20240213170806.png
Photopea has the same tool:
Pasted image 20240213170835.png
Slightly less powerful, but works pretty well for simple things.
Pasted image 20240213161117.png
Pasted image 20240213161504.png
Put the images back together, starting with the simplified image and the separate layers.
Pasted image 20240213161821.png
Pasted image 20240213161815.png
If you're on Photoshop, and want to use After Effects in the next step, you can just save the .psd, as After Effects is able to separate the layers itself directly from the .psd.

Rive app

This is where we move on to the animation part, where we'll be using Rive, but we can also use After Effects (for a fee) and Lottie JS , or any other alternative.
The idea is to recreate the image with each saved image.
Pasted image 20240213162110.png
We then remake the image on shore using our various elements:
Pasted image 20240213162210.png
Once done, we move on to the animation part, taking the seagull as an example, focusing on the "create mesh" part on the right!
Pasted image 20240213163239.png
We surround our subject, then change keyframes.
Pasted image 20240213163216.png
Then, after changing keyframes, we select our mesh points to move, and move them.
Pasted image 20240213163322.png
Pasted image 20240213163331.png
We move the points, then change frames, several times:
Pasted image 20240213163549.png
Animation.gif
And presto! All you have to do is do this for all the elements! :D
Have fun!
For animations in After Effects, you can use on the puppet points
Pasted image 20240213171920.png
Pasted image 20240213172047.png
On the keyframe function (the little stopwatch), hold down the "alt" key while clicking, then use
Pasted image 20240213172146.png
wiggle(frequency, variation) to simulate randomness!

Hosting:
  • Vimeo
  • <video></video>\
  • blob storage
  • YouTube
  • svg animation
  • gif
  • apng
  • lottie integration (canvas html)
  • rive integration (canvas html)

Example of what I did for my site:
Pasted image 20240213165026.png
Pasted image 20240213165104.png
Pasted image 20240213165136.png
Pasted image 20240213165457.png
Pasted image 20240213165549.png
I placed my dots on each element of each layer separately, then animated the whole thing so that it looks like this:
There are :
  • Fireflies
  • Each plant
  • the water
  • Light from the hole in the center
  • Smoke
-> that's just over 20 different, differently animated layers!

Example with Stable Diffusion XL (Hugging Face)
Pasted image 20240213174220.png



Thank you for your visit, feel free to contact me for any information, quote or collaboration proposal. I will be happy to answer you as soon as possible.
Did you like this article? Feel free to share it!

DEVELOP YOUR PROJECTS TOGETHER

An idea, a project? I'm here to answer your questions and help you.
I'd be delighted to discuss your project with you!