Link Search Menu Expand Document

Structure Synth

This example demonstrates using Structure Synth for procedural 3D geometry generation.

Overview

Structure Synth is a tool for creating complex 3D structures using a simple rule-based grammar. score integrates Structure Synth, allowing real-time generative geometry.

What is Structure Synth?

Structure Synth uses a context-free grammar to define 3D structures:

  • Rules define transformations (rotate, scale, translate)
  • Recursion creates complex patterns
  • Randomness adds variation
  • Parameters allow real-time control

Example structure

A simple Structure Synth rule might look like:

rule R1 {
  { x 1 rz 5 s 0.99 } R1
  box
}

This creates a spiral of boxes.

Try it

Open this example to see generative 3D geometry in action.

Download this example

Learn more