{
  "registryVersion": 1,
  "id": "backgrounds/arcane-circle-background",
  "slug": "arcane-circle-background",
  "category": "backgrounds",
  "title": "Arcane Circle Background",
  "description": "A summoning circle draws itself rune by rune, its rings turn against each other, then the core vortex ignites and stardust rises; pointer tilts it, click re-ignites.",
  "tags": [
    "glow",
    "svg",
    "line",
    "background",
    "loop"
  ],
  "useCases": [
    "Hero background for a fantasy game launch, class reveal, or season announcement",
    "Backdrop for a tarot, astrology, or meditation app landing page",
    "Feature launch section that should feel like a little bit of magic, such as a new AI tool"
  ],
  "placement": [
    "background",
    "hero"
  ],
  "style": [
    "dark",
    "elegant"
  ],
  "intensity": "medium",
  "stack": {
    "framework": "react",
    "styling": "tailwindcss"
  },
  "dependencies": {
    "npm": {
      "gsap": "^3.13.0",
      "@gsap/react": "^2.1.0"
    },
    "gsapPlugins": [
      "DrawSVGPlugin"
    ]
  },
  "variants": [],
  "version": "1.1.0",
  "updatedAt": "2026-10-13",
  "design": {
    "motion": "smooth",
    "pace": "moderate",
    "radius": "round",
    "scheme": "both",
    "palette": "multicolor",
    "hues": [
      "violet",
      "amber",
      "yellow",
      "fuchsia",
      "purple",
      "pink"
    ],
    "triggers": [
      "load",
      "hover",
      "click",
      "loop"
    ]
  },
  "adapt": {
    "colors": [
      {
        "hue": "violet",
        "classes": 0,
        "literals": 11
      },
      {
        "hue": "amber",
        "classes": 0,
        "literals": 6
      },
      {
        "hue": "yellow",
        "classes": 0,
        "literals": 4
      },
      {
        "hue": "fuchsia",
        "classes": 0,
        "literals": 3
      },
      {
        "hue": "purple",
        "classes": 0,
        "literals": 2
      },
      {
        "hue": "pink",
        "classes": 0,
        "literals": 1
      }
    ],
    "radiusClasses": [
      "rounded-3xl",
      "rounded-[50%]",
      "rounded-full"
    ],
    "eases": [
      "back",
      "none",
      "power2",
      "power3",
      "sine"
    ],
    "durations": [
      0.2,
      90
    ]
  },
  "photoSlots": [],
  "sprinkles": [
    {
      "id": "sprinkle/effects/magic-vortex@v2",
      "file": "sprinkles/v2/effects/magic-vortex.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/effects/magic-vortex.webp",
      "description": "Swirling vortex, violet and cyan (magic glow)."
    },
    {
      "id": "sprinkle/effects/magic-portal@v2",
      "file": "sprinkles/v2/effects/magic-portal.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/effects/magic-portal.webp",
      "description": "Glowing portal ring, magenta (magic glow)."
    },
    {
      "id": "sprinkle/effects/magic-snow@v2",
      "file": "sprinkles/v2/effects/magic-snow.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/effects/magic-snow.webp",
      "description": "Sparkling snow particles, pale blue (magic glow)."
    },
    {
      "id": "sprinkle/effects/magic-crystal@v2",
      "file": "sprinkles/v2/effects/magic-crystal.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/effects/magic-crystal.webp",
      "description": "Glowing crystal shard, cyan (magic glow)."
    },
    {
      "id": "sprinkle/effects/magic-moon@v2",
      "file": "sprinkles/v2/effects/magic-moon.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/effects/magic-moon.webp",
      "description": "Glowing crescent moon, gold (magic glow)."
    },
    {
      "id": "sprinkle/effects/magic-feather@v2",
      "file": "sprinkles/v2/effects/magic-feather.webp",
      "publicUrl": "https://inassetweb-cdn.inwebsite.online/sprinkles/v2/effects/magic-feather.webp",
      "description": "Glowing feather, cyan (magic glow)."
    }
  ],
  "page": "/snippets/backgrounds/arcane-circle-background",
  "preview": "/preview/backgrounds/arcane-circle-background",
  "registryPath": "/registry/snippets/backgrounds/arcane-circle-background.json",
  "install": "npm i gsap @gsap/react",
  "codeLines": 537,
  "readme": "# Arcane Circle Background\r\n\r\n`backgrounds/arcane-circle-background`\r\n\r\nA summoning circle drawn in light. Rings, 28 runes, a tick ring, a hexagram and a seven-point star draw themselves line by line, then the three rings turn against each other at different speeds while a crystal, a moon and a feather ride the points of the hexagram. When the circle closes, the vortex at its core ignites with a burst ring and stardust rises from the whole circle. After a while the lines fade and the circle draws itself again. Light mode is violet ink and gold on parchment; dark mode is glowing lilac and gold in a night sky.\r\n\r\n## When to use\r\n\r\n- Hero background for a fantasy game launch, class reveal, or season announcement.\r\n- Backdrop for a tarot, astrology, or meditation app landing page.\r\n- A feature launch that should feel like a little bit of magic, such as a new AI tool.\r\n\r\n## Install\r\n\r\n1. `npm i gsap @gsap/react`\r\n2. Copy the code with the **Copy** button on the snippet page and save it as a React component.\r\n3. Use it and put your own content inside:\r\n\r\n```tsx\r\n<ArcaneCircleBackground className=\"h-[600px] max-w-none rounded-none\">\r\n  <YourHero />\r\n</ArcaneCircleBackground>\r\n```\r\n\r\n## Props\r\n\r\n| Prop | Type | Default | Description |\r\n| --- | --- | --- | --- |\r\n| `children` | `ReactNode` | sample hero | Your content, centered over the circle. |\r\n| `holdSeconds` | `number` | `8` | Seconds the circle stays lit after it ignites, before it fades and redraws. |\r\n| `autoPlay` | `boolean` | `false` | Idle demo for previews: starts just before the circle closes (it ignites about a second in) and sways the plane until the user interacts. |\r\n| `className` | `string` | `\"\"` | Extra classes for the wrapper (size, corners). |\r\n\r\n## Interaction\r\n\r\n- Move the mouse: the circle's plane tilts toward the pointer.\r\n- Click or tap the background, or press the **Ignite the circle** button: the circle completes at once and the core ignites again with a burst of stardust.\r\n- With `prefers-reduced-motion`, the finished, lit circle is shown and nothing moves.\r\n- Stardust stops drawing while the panel is off-screen.\r\n\r\n## Photos\r\n\r\nNo photos. Every image is a sprinkle you can use directly from its public URL:\r\n\r\n- `sprinkle/effects/magic-vortex@v2` (the core that ignites)\r\n- `sprinkle/effects/magic-portal@v2` (the burst ring at ignition)\r\n- `sprinkle/effects/magic-snow@v2` (crystal flakes in the rising stardust)\r\n- `sprinkle/effects/magic-crystal@v2`, `sprinkle/effects/magic-moon@v2`, `sprinkle/effects/magic-feather@v2` (charms riding the middle ring)\r\n\r\n## Customization\r\n\r\n- The sigil is built from data at the top of the file: `GLYPHS` (rune strokes), `runePaths()` (how many runes and where), `TICKS`, `HEXAGRAM`, `STAR` and `RAYS`.\r\n- Stroke colors are the `ink`, `gold` and `plum` class strings near the JSX; the dark variants carry the glow.\r\n- Ring speeds are the three `rotation` tweens (90 s, 56 s, 34 s); the charms follow the middle ring.\r\n- The draw order and timing are in the one cycle timeline; the `ignite` label is the signature moment.\r\n",
  "sourceDir": "snippets/backgrounds/arcane-circle-background",
  "thumbnail": "/registry/thumbnails/backgrounds/arcane-circle-background.webp",
  "thumbnailDark": "/registry/thumbnails/backgrounds/arcane-circle-background.dark.webp",
  "codeAccess": "The code is not in this file. Get it with the MCP tool get_snippet and an InWebAsset API key (header Authorization: Bearer aw_...; sign in at /agents to create one), or with the Copy button on the snippet page after signing in. Free accounts can take snippet code 5 times per day (every fetch counts, also of a snippet fetched before); Pro accounts have no limit."
}
