--- interface Props { shape?: "continuum" | "question"; showControls?: boolean; } const { shape = "continuum", showControls = false } = Astro.props; const bitcoinMask = [ "....##.......", "...######....", "..###..###...", "..###...###..", "..###..###...", "..#######....", "..###..####..", "..###....###.", "..###...###..", "..########...", "....##.......", "....##.......", ]; const questionMask = [ "...####...", "..######..", ".##....##.", "###.....##", "###.....##", ".......###", "......###.", ".....###..", "....###...", "....##....", "....##....", "..........", "....##....", "....##....", ]; const fallbackMask = shape === "question" ? questionMask : bitcoinMask; const fallbackCells = fallbackMask.flatMap((row, y) => [...row].flatMap((cell, x) => (cell === "#" ? [{ x, y }] : [])), ); ---
{showControls && (Lightweight SVG preview · animation uses WebGL above 900px when motion is enabled.