shaderscn
All shaders

Dithering Globe Arcs Hero

Section

A centered hero section with a rising ordered-dither globe and flight arcs between cities.

Installation

npx shadcn@latest add https://shaderscn.com/r/dithering-globe-arcs-hero.json

Usage

import { DitheringGlobeArcsHero } from "@/components/dithering-globe-arcs-hero"

export default function Page() {
  return (
    <DitheringGlobeArcsHero
      arcs={[
        { from: [37.77, -122.42], to: [51.51, -0.13] }, // San Francisco → London
        { from: [51.51, -0.13], to: [35.68, 139.69] }, // London → Tokyo
      ]}
    />
  )
}