Geometry and scales for the chart cards: seriesToPixels, linePath, smoothPath (monotone curves) with smoothTangents and smoothCurveAt (its y at any x), areaPath, valueAt, alignPolylines (resamples two lines on the same x positions, straight or along a curve, so a period change can morph one into the other), polylineLengths, xAtLength and reachAt (where a line drawing itself in has got to, and when it reaches an x), roundCorners and edgeAt (Figma's corner radius on every vertex), niceTicks (linear axes), barTicks (axes from zero), timeTicks (UTC time axes), fittedDash (Figma's dash fitting), figmaGradientTransform (Figma's gradient matrix as an SVG gradientTransform), starPath and trianglePath (Figma's sparkles), seededRandom and bridgeWalk (repeatable sample data).
pnpm dlx shadcn@latest add "https://www.mebius.design/r/charts-series.json"