Examples

Six sources that pass the validator. Switch the orientation, read the source, or open one in the playground and change it.

Controllers

GameCube controller

Two anchored groups of standard parts around a 4:3 screen. The tutorial builds this one.

Tokens and themes

The same controller with its colors in tokens. Two themes override them.

Two-button handheld

A D-pad, A and B. Select and Start sit at the bottom center in portrait, and a when rule moves them to the corners in landscape.

Dual screen

Two screens in a vertical stack. A touchSurface control covers the lower one, and L and R anchor to the upper one.

Drawing

These two have no controls. They show what the renderer can draw for artwork of your own.

Parametric shapes

Twelve shape kinds in a grid: rect, squircle, ellipse, circle, capsule, polygon, star, arc, cross, kidney, trapezoid and line.

Shadows, blur and blend

Drop, inner and spread shadows, blur at three radii, and the blend modes over a gradient.