1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. pluginui
  3. Colour Scales

Colour Scales

lib

The ramps every display paints magnitude with and the two wheels a harmony display paints pitch with, as pure functions. The ramps are the real multi-stop scientific colormaps from d3-scale-chromatic (viridis, magma, inferno, plasma, cividis, turbo), tabulated once into 256-entry lookups, plus grayscale and heat. The pitch wheels give each pitch class a hue by semitone or by circle-of-fifths position, measured from a tonic so a key keeps its colours when transposed; drawn on a pad layout, the wheel whose hues run smoothly across the pads is the relationship that layout makes visible.

pnpm dlx shadcn@latest add "https://pluginui.com/r/core-color-scale.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • maruaudio@>=0.0.3 <0.1.0

    No files included in this item.