Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Optical Analysis (Analyzer)

When you hold a finished gemstone in your hand, you don't just look at it frozen dead-center under a single lamp. You tilt it back and forth to watch how light flashes across the facets, how dark and bright zones play against each other, and whether the center leaks light ("windows") when viewed at an angle.

The Analyzer simulates that exact motion on your GPU. It tilts your stone through 19 angles and adds a top-down ASET diagnostic view, giving you clear numbers and sparkline charts so you can see where a design shines and where it loses light.

Before You Run an Analysis

  • Process your stone first so the 3D viewer and Analyzer are looking at the current geometry.
  • Fix any red errors in the editor. The Analyzer stays locked until your recipe builds cleanly.
  • Make sure WebGPU is available in your browser (modern desktop Chrome, Edge, or Safari).

Click Analyzer in the left sidebar to run a sweep.


How to Read the Seven Core Metrics

Every stone is compared against a built-in reference: a classic Hearts & Arrows Round Brilliant cut. A score of 100% (or 1.00×) means your stone performs on par with that reference for that metric.

MetricWhat It Actually Tells You
Average BrightnessHow much light returns to your eye across all 19 tilt angles. If a stone looks dark or "sleepy," this number drops.
Contrast DensityHow well light and dark zones are spread across the face of the stone. A stone that is 100% bright white with zero dark facets can look flat, like a piece of glass; good contrast density breaks the face up into an interesting pattern.
Contrast IntensityHow crisp the difference is between the bright flashes and the dark areas. Think of Density as "how many contrast areas exist" and Intensity as "how punchy they look."
Scintillation ScoreDynamic sparkle. As the stone tilts from one angle step to the next, the Analyzer counts how many facet areas blink from dark to bright (or bright to dark).
Shannon EntropyVisual richness. Borrowed from information theory, entropy measures how varied the brightness levels are across the stone. Higher entropy means a lively mix of tones rather than a flat, uniform appearance.
CompactnessHow efficiently your stone fills its bounding box (length × width × height). Higher compactness usually means better weight retention from a piece of rough.
WindowHow much light passes straight through the bottom of the stone without reflecting back. Lower is better—a 0% window means zero light leakage.

Understanding the ASET Cards

Alongside the seven metrics above, you will see four ASET (Angular Spectrum Evaluation Tool) percentages: Blue %, Red %, Green %, and Black %.

Unlike the other metrics—which are averaged across all 19 tilt positions—ASET is measured from a single face-up (top-down) view. Imagine sitting the stone under a color-coded dome to see where each facet is gathering its light from:

ASET ColorLight Angle (from Vertical)What It Means for Your Stone
Blue0° – 15° (Steep / Overhead)Light that would normally be blocked by your head when you lean closely over the stone. A healthy dose of blue (15%–25%) creates the crisp dark arrows and contrast patterns that make bright facets pop.
Red15° – 45° (Direct Brilliance)Light coming from overhead room lighting right around you. This is the main engine of brightness and fire (50%–65% in a classic brilliant).
Green45° – 90° (Low Horizon)Light entering from low on the sides. Some green is natural, but if a stone is mostly green it relies heavily on bright side-lighting to look good.
Black—Light leakage out the bottom. A well-cut stone keeps black under 5%.

To see how these numbers are combined during optimization, check out Scoring Model & ASET Targets.


Sparklines & the 20-Tile Lighting Sweep

Below the metric cards, the Analyzer shows two visual tools:

  1. Per-Angle Sparklines: Four small charts plot Brightness, Contrast Density, Contrast Intensity, and Window across each of the 19 tilt steps. This is where you can spot "tilt windowing"—a stone that looks great dead-center (0°) but suddenly leaks light as soon as you tilt it 15° to the side.
  2. The 20-Tile Sweep: Renders all 19 tilt frames (sweeping from -45° on the X-axis through upright 0° to +45° on the Y-axis, with smaller steps near center where the eye spends most of its time), followed by the 20th top-down ASET tile.

Try It Yourself

Click ▶ Run Code below to inspect this test cut, or copy it into the studio and run the Analyzer to see how changing P1 or C1 by a single degree reshapes the sparklines:

name  = "Analyzer Demo"
gear  = 96

P1 0 @ 41.8 : 0.18 x8
P2 6 @ 39.6 : mp(P1) x8

G1 0 @ 90 : size x16
C1 0 @ 32.2 : mp(G1,P1) + girdle x16
T 0 @ 0 : 1.1
-- lua script
name("Analyzer Demo")
gear(96)
local girdle = Point(0, 0, 0.04)

TierAD("P1", 0, 41.8, 0.18, "x8")
TierAP("P2", 6, 39.6, mp("P1"), "x8")

TierAD("G1", 0, 90, 1.0, "x16")
TierAP("C1", 0, 32.2, mp("G1", "P1"):add(girdle), "x16")
TierAD("T", 0, 0, 1.1)