Skip to content
PixiKit

Radar Sweep

Items ride tilted rings around a core while a beam turns; each one takes its verdict as the beam passes, and a tally counts them.

pixikit.com/docs/effects/radar-sweep

Customize

Verdict colors4 of 10
Rings3
Speed6.0s
Hold4.0s
Tilt60°
Loop
Show tally
Beam color
Width720px
Height380px

Props

14
NameTypeDefaultDescription
items(string | RadarSweepItem)[]["auth", "billing", "cache", "search", "upload", "queue", "mailer", "images", "router", "logger", "sessions", "metrics"]What rides the rings. A plain word takes its verdict in rotation; `{ label, verdict }` names it.
verdictsstring[] | Record<string, RadarSweepVerdict>["fix now", "fix soon", "plan", "later"]The verdicts, most urgent first: names coloured by `verdictColors`, or a map from key to `{ label, color }`. The first is drawn filled.
verdictColorsstring[]["#dc2626", "#d97706", "#2563eb", "#a3a3a3"]The colours of verdicts given as names, in order.
ringsnumber3How many rings the items ride.
speednumber6Seconds for one turn of the beam.
holdnumber4Seconds the verdicts hold after a full turn, before it starts over.
tiltnumber60How far the disc leans back, in degrees: 0 faces you, higher flattens it.
loopbooleantrueStart over after each turn; off, it scans once and keeps its verdicts.
showTallybooleantrueA line under the radar that counts the verdicts as they land.
beamColorstring"#2563eb"The beam and the core's ring.
widthnumber720The widest it grows, in pixels; it never overflows a narrower container.
heightnumber380Its height in pixels, tally included.
coreReactNodeNoneWhat sits at the centre. A small radar mark shows without it.
classNamestringNone

Related