More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Particle Globe Hero

    1

    Turn a plain landing page hero into the moment people remember: a globe of 16,000 glowing particles that gathers on load, slowly spins and leans toward the cursor.

    Free

    Security scanned
    Particle Globe Hero

    Particle Globe Hero

    Example session with this skill installed

    Add an interactive particle globe hero to my Next.js landing page. Particles should scatter from the mouse, and scrolling should fly into the globe and show a second headline. Use my brand blue.

    • Read your context and instructions
    • Compiled the particle globe hero
    • Generated the app files

    Summary

    Your hero now has a WebGL particle globe. 16,000 particles gather beside the headline on load, part around the cursor, and on scroll the hero pins, the camera flies through the globe into a starfield and your second headline ("Built for teams that ship") fades in. Phones get a turning globe with normal scrolling, and reduced motion gets a still globe.

    WhatWhere
    WebGL engine + choreographycomponents/motion/globe/engine.ts, globe-hero.ts
    React wrappers (lazy, idle-loaded)components/motion/GlobeRoot.tsx, GlobeMotion.tsx
    Smooth scroll (Lenis + GSAP)components/motion/smooth-scroll.ts, MotionRoot.tsx
    Hero markupapp/(marketing)/_components/Hero.tsx
    Stylesglobe.css imported in app/globals.css

    Installed: gsap, @gsap/react, lenis

    The code

    app/(marketing)/_components/Hero.tsx

    import { GlobeRoot } from "@/components/motion/GlobeRoot";
    import { hexToRgb } from "@/components/motion/globe/engine";
    import type { GlobeHeroOptions } from "@/components/motion/globe/globe-hero";
    
    // Module level so a re-render never remounts WebGL.
    const GLOBE: GlobeHeroOptions = {
      colors: { dim: hexToRgb("#3b6cff"), bright: hexToRgb("#e8eeff") },
      pushRadius: 120,
    };
    
    export function Hero() {
      return (
        <GlobeRoot labelledBy="hero-heading" options={GLOBE}>
          <div className="globe-stage">
            <div data-globe-scene className="globe-scene" aria-hidden="true">
              <canvas data-globe-canvas className="absolute inset-0 size-full" />
            </div>
            <div data-globe-copy className="globe-copy relative z-10">
              <h1 id="hero-heading">Ship your roadmap, not your weekends.</h1>
              <p>Plan, track and launch in one place.</p>
              <a className="btn" href="/signup">Start free</a>
            </div>
            <div data-globe-next className="globe-next">
              <h2>Built for teams that ship.</h2>
            </div>
          </div>
        </GlobeRoot>
      );
    }
    

    app/layout.tsx (runs before paint so the pinned layout never jumps)

    <html lang="en" suppressHydrationWarning>
      <head>
        <script dangerouslySetInnerHTML={{ __html: MOTION_FLAG }} />
      </head>
    

    What I changed and why

    Kept the headline visible at load. It's your LCP element, so it paints first and only fades once scrolling starts.

    • Loaded the globe at browser idle with dynamic(..., { ssr: false }), so it never blocks first paint.
    • Set --header-h: 64px to match your sticky header, so particles run behind it cleanly.
    • Mounted smooth scroll in the marketing layout only. Your /app dashboard keeps native scrolling.
    • Used your brand blue for the particles, fading to a soft white for the brightest ones.

    Checked in the browser

    • Headline paints instantly, particles gather after load ✓
    • Cursor parts the particles, globe leans toward the mouse ✓
    • Scroll pins the hero, flies through, second headline appears ✓
    • Phone width scrolls normally with a turning globe ✓
    • Reduced motion shows a still globe ✓
    • Holds 60 fps, rendering pauses once the hero scrolls away ✓

    Next steps

    • Add an illustration inside the globe with [data-globe-art] (a 1000×1000 SVG in your accent colour works best).
    • Want a shorter fly-through? Lower --globe-track in globe.css.

    GlobeRoot.tsx

    ZIP · project files

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Turn a plain landing page hero into the moment people remember: a globe of 16,000 glowing particles that gathers on load, slowly spins and leans toward the cursor. Move the mouse over it and the particles part around the pointer. Scroll, and the hero pins, the globe glides to the centre and the camera flies right through it into a starfield while a second headline fades in.

    This is production code from a live landing page, cleaned up and packaged so your agent copies working code instead of guessing.

    What you get

    • The entrance: particles start blown outward and gather into a turning globe in under 2 seconds.
    • Cursor scatter: particles near the pointer slide away and brighten, and the globe tilts toward the mouse. It all runs on the GPU, so it costs nothing on the CPU.
    • Scroll fly-through: the hero pins, the headline fades out, the camera flies through the globe into a starfield and a second headline arrives. Spin speeds up as you scroll faster.
    • Phones and small screens: a turning globe with normal scrolling, no pinning.
    • Reduced motion: one still globe for people who turn motion off. With no JavaScript, the copy simply stacks.
    • Optional extras: an illustration inside the globe, small icons or logos that float inside it during the fly-through, and a cursor spotlight for cards further down the page.

    What's in the ZIP

    • engine.ts: the WebGL particle renderer, no dependencies (no three.js)
    • globe-hero.ts: the whole choreography in one framework-free function
    • globe.css: layout, pinning and pre-states
    • React / Next.js components that lazy-load the globe at browser idle
    • Smooth scroll setup (Lenis + GSAP ScrollTrigger on one shared loop)
    • Setup notes for Astro, Vite and plain HTML

    Fast by design

    The headline is real text that paints first and is never hidden at load, so it stays your LCP element. The globe loads at browser idle, off the critical path. Animation uses transforms and opacity only, one shared animation loop drives everything, rendering pauses when the hero is off-screen, and pixel ratio is capped. If WebGL isn't available, the page still works with the copy alone.

    Easy to make your own

    Change the colours, particle count, cursor scatter strength, where the globe sits and how long the fly-through lasts. Your agent brands it so it doesn't look like a copy.

    Who it's for

    SaaS, AI, fintech and tech product landing pages, launch pages and portfolios that want an interactive 3D hero without shipping a heavy 3D library. Just ask your agent for "a particle globe hero" or "particles that scatter with the mouse" and it does the rest.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 20 days ago

    • Free with an Agensi account

    Requires

    Node.js
    gsap
    lenis

    Permissions

    Terminal / Shell
    Read Files

    Reads your project to find the stack and layout, copies the globe files in, adds the CSS, and runs npm install for gsap and lenis. No secrets or outside accounts.

    Listed20 days ago

    What's inside

    Frequently Asked Questions

    It adds an interactive hero with a WebGL globe of 16,000 particles. The globe gathers on load, scatters away from the mouse, and on scroll the camera flies through it into a starfield while a second headline appears.

    Any agent that supports the SKILL.md standard, including Claude Code, Codex CLI, Cursor, VS Code Copilot and Gemini CLI.

    Install it, then ask your agent for something like "add a particle globe hero to my landing page". The skill tells the agent which files to copy, what to install, how to set your colours and how to check it works on desktop, phones and with reduced motion.

    This engine uses raw WebGL 1 instead of Three.js, resulting in a tiny 10 KB footprint and significantly better performance on lower-end mobile devices.

    Installation requires adding GSAP and Lenis as dependencies, then importing the provided engine into your project’s asset folder and mounting the component.

    No. It ships its own small WebGL renderer (about 10 KB) with no 3D library. It only uses GSAP and Lenis for the scroll animation.

    New in Frontend & Web Apps