Products › BaseNode Packs › Motion Graphics › Tutorial: The clone wall

The clone wall

A wall of 180 clones, cubes, balls and pucks, that ripples as a wave passes through it: the clones it reaches jump out, turn and grow, light up, then spring back past their place and settle. This is MoGraph as Cinema 4D taught it, a cloner, effectors and falloffs, made in Geometry Nodes. Each step adds one of them, in one or two lines.

A wall of cream cubes, coral balls and yellow pucks in front of a blue backdrop; a diagonal band sweeps across it, the clones it passes pop out, glow mint green and spring back
Where we are going. Eight steps; the last five move.

You will learn

This page goes fast on the basics. If .bn is new to you, start with Lunar ground: it explains a graph, its nodes as calls, fields, and the way a step file is read.

Before you start

You need Blender 5, the Base Node add-on, and the Motion Graphics pack, version 0.13.1 or later. The pack is sold by the author of Base Node, apart from the open source project: the steps below are free to read, copy and change; the modules they use come with the pack, and are not.

ModuleKindWhat it gives
clonersgeometryA geometry instanced on a line, a circle, a grid, a curve or a mesh, whole or picked from a collection; each clone stores its index and a factor from 0 to 1.
effectorsgeometryMove, turn and scale the clones: random, plain, step, noise, oscillate, time, and delay and spring, which follow over the frames. Each takes a weight.
falloffsgeometryThat weight, from where a clone is: in a sphere, a box, along an axis, in a sector; inverted or combined.

Every block below is a complete .bn file, its code beside the nodes it builds. Two ways to try a step:

Press Space to play the steps that move. The springs of steps 6 to 8 are simulated from the first frame: play from there, not from a frame picked in the middle. The pictures are rendered with EEVEE from these exact files by render.py, in front of the same backdrop, under the same lights.

Three kinds of node

MoGraph splits the work in three, and so does the pack:

The clones stay instances until the last line, RealizeInstances(): until then, an effector moves 180 transforms, not 180 meshes, and stays fast.

1. A grid of clones

One rounded cube, 20 cm wide, cloned 18 × 10 times, 22 cm apart. grid_cloner lays the grid on the floor plane; TransformGeometry stands it up into a wall.

step1_grid.bn: clone_wall, rounded_cube, clone_paint

A flat wall of cream rounded cubes, 18 by 10, in front of a blue backdrop
Step 1. One shape, 180 times.

2. Picked from a collection

A wall of one shape is a pattern; a wall of a few is a design. GeometryToInstance makes a collection of three shapes, each with its material, and the cloner picks one for each clone.

step2_pick.bn: clone_wall

The wall made of cream cubes, coral balls and yellow pucks mixed at random
Step 2. Cubes, balls and pucks, mixed by a seed.

3. A random effector

The first effector: random_effector moves each clone by up to offset, turns it by up to rotation and scales it by up to scale, either way, at random.

step3_random.bn: clone_wall

The wall jumbled: every clone turned, sized and set forward at random
Step 3. Each clone moved, turned and scaled on its own.

4. A noise in time

noise_effector moves the clones by a noise of space: unlike random, neighbours move together, in patches about size wide. Its speed makes the noise flow with the time of the scene: the wall starts to breathe.

step4_noise.bn: clone_wall

The jumbled wall swelling and turning in slow patches, as a noise flows through it
Step 4. Patches of clones lean out and back as the noise flows.

5. A falloff sweeps across

An effector everywhere is a texture; an effector somewhere is an event. spherical_falloff is 1 within a sphere and fades to 0 at its edge. Given as the weight of every effector, the random one, the noise and a new plain_effector, it decides where the clones come out of the wall.

step5_falloff.bn: clone_wall

A round patch of the wall comes out, its clones jumbled and grown, and travels from left to right
Step 5. The clones come out where the sphere is, and go back as soon as it leaves.

6. A spring behind

Step 5 is exact, and stiff: a clone is where the falloff says, frame by frame. spring_effector gives it a mass: pulled toward where the effectors before put it, it leaves late, overshoots, and swings back.

step6_spring.bn: clone_wall

The patch of clones travels across the wall, its clones bouncing in and out behind it before they settle
Step 6. A wake: behind the sphere, the clones bounce before they settle.

7. A band of two falloffs

A wave is a band, not a ball. linear_falloff is a ramp along an axis: 0 behind its origin, 1 a length further on. Two of them make a band: one rises up to the front, the other, inverted, falls down past it; where both are high is the band.

step7_band.bn: clone_wall

A slanted band sweeps across the wall; the clones it passes jump out and ripple behind it
Step 7. A ripple: the band lifts a slanted line of clones, the springs carry it on behind.

8. Coloured by the weight

The last touch: the clones light up where the effect weighs. StoreNamedAttribute keeps w on each clone as weight; the material reads it back with Attribute and mixes the clone's colour toward hot, with a glow.

step8_color.bn: clone_wall, clone_paint

The rippling wall, the clones in the band glowing mint green as they jump out
Step 8. The wave, lit.

The knobs

A few to start with, on the last step:

WhereInputWhat it does
clone_wallperiodSeconds for the band to cross the wall: the tempo.
clone_wallacrossThe direction the band sweeps: (1, 0, 0) straight across, (0, 1, 0) from the floor up.
grid_clonercount_x, count_y, spacing, pick, seedHow many clones, how far apart, which shape each one is.
plain_effectoroffset, scaleHow far out the clones in the band come, and how much they grow.
spring_effectorstiffness, dampingHow fast and how springy they follow.
clone_paintpaint, hot, glowThe colour at rest, under the band, and how bright it glows there.

Try: on step 8, set damping to 1.5: the wall rings long after the band. Give the effectors invert_falloff(w) instead of w: the whole wall stands out, and the band is a trough that runs through it. Swap grid_cloner for radial_cloner(count: 48, radius: 1.5) and the band sweeps a ring.

Take it to Blender

The finished wall, in one file. Drag the card onto empty space in Blender's 3D Viewport and keep Instantiate the Example: a new object carries clone_wall. A click on the card downloads the file.

The steps before it, to start again from any of them:

The files, with the script that renders this page's pictures, are in examples/tutorials/clone_wall/.