Skip to the stack
Paramaguru

Menu

Colours for this site

Home

2D template · Education

How Brightpath is built

Coding and robotics for curious kids, ages 7 to 14.

A cheerful course page for kids. A Lottie robot waves hello, rides a winding learning path as you scroll, and runs the code blocks children stack in a mini playground.

The stack

What each part does here.

I built the interactive parts of Brightpath with Svelte. These are the technologies on the page, and the job each one does.

Framework

Svelte

Runs the code-block playground island: the block palette, the program list with flip and fly transitions, Run and Reset.

  1. Vector & physics

    Lottie

    Plays Bolt, a hand-made robot mascot: an idle loop with blinks and a hover bob, and a wave on hover, focus or success.

  2. Scroll & timeline

    GSAP

    Turns each playground program into a timeline of moves, turns and bumps, and pops in the headline, cards and stops.

  3. Scroll & timeline

    ScrollTrigger

    Scrubs the learning path with the scrollbar: the road draws in and Bolt rides it, pausing at each of the four level stops.

  4. Scroll & timeline

    MotionPath

    Moves the mini Bolt along the winding SVG road, leaning gently into each curve with a softened autoRotate.

Built on the same base as every template

  • AstroBuilds every page to static HTML and loads each island's framework only where it is used.
  • TypeScriptTypes the content, the components and every script, so mistakes surface at build time.
  • Tailwind CSS 4Utility classes and design tokens, scoped to each template's own folder.

What each technology adds in general is under how my 2D templates differ.

Typography

The fonts it's set in.

I chose two open-licence families for Brightpath and host them with the site, so the text never waits on a font service.

See Brightpath in other fonts before you choose yours.

Try other fonts on Brightpath

Colours

The colours it's painted in.

I painted Brightpath in eight colours on a light background, each with a single job: the same eight jobs every palette in my colour library fills.

  • Background#E8F4FF
  • Surface#FFFFFF
  • Text#1B2559
  • Muted text#4B5583
  • Accent#7C5CFF
  • On accent#FFFFFF
  • Second accent#FFC93C
  • Lines#BFCBDE
Scheme
Light
Previews in
Light palettes

See Brightpath in other colours before you choose yours.

Try other colours on Brightpath

Signature effects

What you'll see.

Motion style: Illustrated, Scroll story, Micro-interactions.

  1. 01Lottie robot mascot
  2. 02Robot rides the learning path
  3. 03Code-block playground
  4. 04Pop-in level cards

Start a project

Start with Brightpath.

Tell me about your business, and I'll shape Brightpath around it: your words, your pictures and the way you want visitors to reach you.