POP DEPT. is a fictional studio built to prove that "playful" is an engineering discipline. Every wobble on that page is the same equation wearing different hats. One HTML file, no libraries.
Three signature moves — the gooey cursor, the poke-able headline, the general vibe — are all damped springs, four lines of physics:
v += (target - current) * stiffness; // pull v *= damping; // friction current += v; // move
mix-blend-mode:multiply makes it feel like jelly passing over the page.cubic-bezier(.34,1.8,.44,1) fakes an overshoot curve (the 1.8 pushes past 100% and settles back).Every click spawns 42 rectangles with random velocity, spin, and one of six brand colours. Each frame: gravity (vy += .35), air drag, rotation, fade. They tumble because they're drawn as rotated rects, not circles — paper, not dots. Cheap, and endlessly satisfying.
box-shadow: 6px 6px 0 (no blur) makes everything read as die-cut vinyl.textPath on a circle.Bricolage Grotesque at weight 800 has the chunky warmth this needs; Gochi Hand plays the handwritten margin notes. Six candy colours stay coherent because they share similar saturation and lightness — the palette is a bag of the same sweets in different flavours, not six random hues.
Copy the three-line spring; use it everywhere an easing curve feels dead. Hard shadows, thick borders, slight rotations. And write the copy funny — bounce with serious copy is just a glitch.