Kubrick
← All posts
  • Rigs
  • Music

Fold Fractal: fly through a 3D fractal, with the camera surging on the beat

The Fold Fractal rig draws a ray-marched flight through a 3D fold fractal, with five presets, four shading styles, camera controls and optional surges on your song.

Fold fractals are shapes made by folding space over itself again and again. Fly a camera through one and you get tunnels, cities and kaleidoscopes that never run out of detail. The Fold Fractal rig puts that flight on a layer, and you can keyframe it like any other.

How it works

The picture is drawn by a shader. For every pixel it sends a ray out from the camera and steps along it until it hits the fractal, then shades the spot where it landed. The camera keeps moving forward, so the shape keeps unfolding around you. Nothing is a video clip, so you can change the look at any frame.

Five presets

  • Inverted Fold: a kaleidoscope folded inside out, glowing pink, violet and cyan as you orbit it
  • Cartoon Ride: a rail ride through pastel arches toward a spiky yellow sun
  • Remnant Box: a flight through a Mandelbox city, lit by a lamp that rides ahead
  • Phantom: icy white boxes rushing past, with a ring of blue light sweeping through
  • Glass Candy: clusters of glass balls in rainbow tints, slowly turning

How to use it

Open Rigs in the toolbar and add Fold Fractal (under Shaders). Pick a look from Preset, or press the dice to try another. Shading switches between Glow, Cartoon, Lit and Glass, and the Colour section shows the colours that shading uses.

Then adjust the sliders. Speed and Morph set how fast it moves and refolds. Path, Lens and Roll steer the camera. Brightness, Saturation, Fog and Quality shape the look, and Outlines appears with Cartoon shading. Lower Quality draws faster while you work. Every slider can be keyframed.

To tie it to music, open Hits, set Mode to Surge on the song, and choose a song. Surge on picks Lows (kick), Mids, Highs (hats) or Whole song. Flare brightens the light on each hit, Surge shoves the camera forward, and Decay sets how long a hit takes to settle.

Ideas

  • A music visual where Remnant Box surges on the kick.
  • A title card with Cartoon Ride behind the headline.
  • A background loop in Glass Candy with Saturation turned down.

Try it in Kubrick

Start free trial

More from the blog