Metaball loop ( Blender tutorial )

If you’re looking for how to loop animated metaballs in blender, you’ve come to the right place. Since this is a procedural animation, it will be easy to control the number and size of metaballs, amplitude, speed, etc. Here you can check video version and I also added a link to the blender file containing all the nodes at the end.

Install ‘animation nodes’ add-on

First of all you need to have ‘animation nodes’ add-on installed in your blender project. You can download the latest version for your platform here. Then go to edit/preferences/add-ons. Click install in the right top corner and choose the downloaded zip file. Also, don’t forget to check the box next to the node name.

Add premade node group

Metaball movement is driven by a vector that is generated by wiggle node output. Looping a wiggle node output is not an easy task. In this topic i won’t dive into the details how to achieve it. Lucky for us there is a ready to go solution nicely provided by Razie. You can download it here. A blender file contains the node group that you can append to the project.

Let’s get started! 🚀

First of all we need to add metaball object to the scene. Then for one of your views change editor type to ‘Animation nodes’.

Generate metaball instances

The node set below generates 12 metaball instances in one place. Because for now the ‘Object Transform Output’ node have the same location values for every generated metaball.

Create loop subprogram

Now we need to provide a vector for the ‘Object Transform Output’ node location input. We will need to use loop which will generate vector for every metaball instance.

Add more randomness

The final step will be to add randomness to the metaball scale. Add a new loop output. Set the output type to ‘Vector List’. Connect the new loop output to the ‘Object Transforms Output’ node. Then duplicate ‘[RA] Wiggle Loop’ subprogram one more time. And add a ‘Map Range’ node in order to map the random values generated by subprogram. This will allow you to control the scale of metaballs. Below you can check the final node setup.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store