Basics · Split-CFG, Temperature & Silhouette Conditioning Playground · 80.3 MB WASM fp16

Split-CFG, Temperature & Silhouette vs. Unconstrained Synthesis

PixelSprite Canvas v2 separates shape guidance (g_shape over empty log-odds) from colour guidance (g_colour over the 1,024-color OKLab distribution), and accepts an optional binary silhouette mask with boundary/interior edge flags. Tune sampling controls and paint or pick a silhouette to compare unconstrained vs. exact-outline synthesis side by side.

1. Sampling & Silhouette Conditioning Controls

Initialise PixelSprite Canvas v2 above to compare unconstrained vs. silhouette-constrained synthesis.

Unconstrained Filled–
Silhouette Filled–
Unconstrained Entropy–
Silhouette Entropy–
Outline Violations–
Total Latency–
Tensor NaN Count–

1. Binary Silhouette Mask (Click to Toggle)

Preset: Rune Blade · indigo = boundary (edge=1), green = interior (edge=0)

2. Unconstrained Text-to-Sprite (edge = 3)

Generates both shape (g_shape) and colour (g_colour) freely

3. Silhouette Auto-Colorized (edge ∈ {0,1,2})

Strict outline adherence (0 mask violations guaranteed)

Boundary vs. Interior Entropy & Sampling Profile

Show the code

Show the code — worker.js: computeGuidedPixelDist() (split shape/colour CFG, temperature, top-p & entropy)