The stack
What each part does here.
I built the interactive parts of Popsy with Preact. These are the technologies on the page, and the job each one does.
Framework
Preact
Islands for the jar controls, live mix, price, cart badge and toast; @preact/signals share the jar's contents with Matter.js.
Vector & physics
Matter.js
Simulates every gummy: the hero pile you grab and throw with a MouseConstraint, Shake the bag, and the jar's glass walls.
Vector & physics
Canvas 2D
Paints the glossy gummies from cached sprites with fixed-light highlights and soft shadows, plus the glass jar and its pour.
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 one open-licence family for Popsy and host it with the site, so the text never waits on a font service.
Headings and text
Fredoka
In the font library: FredokaPopsy
Your paragraphs, set in Fredoka as on Popsy: how your visitors read every page.
See Popsy in other fonts before you choose yours.
Try other fonts on PopsyColours
The colours it's painted in.
I painted Popsy in eight colours on a light background, each with a single job: the same eight jobs every palette in my colour library fills.
- Background
#FFF6EC - Surface
#FFFFFF - Text
#2B2D42 - Muted text
#55576E - Accent
#FF4D6D - On accent
#FFFFFF - Second accent
#FFB703 - Lines
#2B2D42
- Scheme
- Light
- Previews in
- Light palettes
See Popsy in other colours before you choose yours.
Try other colours on PopsySignature effects
What you'll see.
Motion style: Physics & play, Illustrated, Micro-interactions.
- 01Throwable gummy pile
- 02Build-your-jar physics
- 03Jelly-wobble cards
- 04Shake the bag
Start a project
Start with Popsy.
Tell me about your business, and I'll shape Popsy around it: your words, your pictures and the way you want visitors to reach you.
Or email me at paramaguruvh@gmail.com
