At its core, an orbit trap is an elegant coloring strategy originally developed for fractal rendering. The concept is beautifully simple yet remarkably expressive: as you iterate a function, each point traces out a path—an “orbit”—through mathematical space. Instead of simply checking whether this orbit escapes to infinity (as in traditional fractal rendering), we place geometric “traps” at strategic locations and measure how close the orbit gets to these shapes.
The implementation is based on research from “Orbit Trap Rendering Methods for Generating Artistic Images with Crystallographic Symmetries” by Lu et al., which combines chaotic functions with crystallographic symmetry groups to create patterns with mathematical precision and artistic appeal.
Usage & Behavior
This node is a specialized "Art Generator." Unlike for example standard noise which creates random clouds, Trap Pattern creates Structure. It works by tiling 4-fold rotational symmetries (P4 Group). The visual style is heavily influenced by the Trap Radius (which controls the thickness of the shapes) and the Seeds (which randomize the mathematical constants used in the transformation).
Trap Pattern (Crystallographic Orbit Trap) generates intricate crystalline patterns by combining P4 planar symmetry groups with orbit trap rendering techniques. Based on research into the procedural generation of artistic patterns (2022), it simulates a mathematical system where points are iteratively transformed and "trapped" by geometric shapes. This results in complex, kaleidoscope-like mosaics, stained glass effects, and fractal tilings that are computationally efficient yet visually dense.
Key Features
- P4 Symmetry: Applies wallpaper group transformations for perfect 4-fold tiling.
- Orbit Trap Logic: Captures iterating points to generate color regions.
- Granular Randomization: 5 separate seeds for Color, Position, Radius, and Pattern.
Deep Dive: What is an Orbit Trap?
Imagine dropping a marble into a kaleidoscope. The marble bounces around, changing position based on mathematical rules (Symmetry). Scattered inside this space are "Traps" (invisible circles).
- The Iteration: The point's position is updated repeatedly using Fourier basis harmonics (cos/sin).
- The Trap: If the point falls inside a trap circle, we stop tracking it.
- The Color: The pixel is colored based on how far the point was from the center of the trap when it got caught.
This technique maps log-space distances to exponential color interpolation, creating the smooth yet sharp gradients typical of fractal art.
Parameters
- Larger values: Create thicker, more dominant shapes that fill the space.
- Smaller values: Create thin, wire-like structures and voids.
Randomization Seeds
When set to anything else than 0 (default) .. Color, Radius, Position and Pattern will not have any effect.
- Pattern: Changes the symmetry/shape logic.
- Radius: Changes the size distribution of the shapes.
- Position: Shifts the center points of the traps.
Quick Recipes
Geometric starting points.
Stained Glass
- Smooth It False
- Trap Radius High
- Scale 8.0
Wireframe Crystal
- Smooth It True
- Trap Radius Min 0.5
- Trap Radius Max 1.0
Psychedelic Rug
- Global Seed (Animate)
- Scale 20.0
- Param Scale 2.0
