CDL Examples

Ready-to-use CDL expressions for common gemstones, minerals, and crystal habits. Click any example to open it in the Playground.

Gemstones

Quartz Varieties

Cubic System

Hexagonal/Trigonal

Tetragonal

Building Your Own

Combine these patterns to create custom crystal morphologies:

# Start with a base form
cubic[m3m]:{111}@1.0

# Add a modifying form
cubic[m3m]:{111}@1.0 + {100}@1.3

# Adjust relative development
# Lower @distance = larger faces
cubic[m3m]:{111}@0.8 + {100}@1.5  # More octahedron
cubic[m3m]:{111}@1.5 + {100}@0.8  # More cube

Try These Examples

Open the CDL Playground to experiment with these expressions and customize them.

Open Playground