I've reviewed the project structure and I'm planning the game with soft-body physics using Verlet integration, a gooey metaball filter, a full emotion system, and a rage meter culminating in a meltdown. I'll start by reading the TypeScript configuration and setting up the HTML head with fonts and theme color.
Strict TypeScript with unused checks — I'll keep imports clean. Now the global stylesheet with the lab aesthetic, font classes, goo filter layer, and HUD animations.
Stylesheet done. Now the synthesized sound engine — pure WebAudio squelches, slaps, pops and booms, no audio assets needed.
Audio synthesized. Now the heart of it — the soft-body physics: a verlet pressure blob with grab points, floor/wall collisions, and impact reporting.
Physics core done. Now the soul — the face renderer with the full emotion system: blinking eyes that track your finger, brows, mouth shapes, blush, dizzy spirals, and rage mode.
The brow drawing had redundant rotations — let me clean that up, then write the main game engine.
Let me fix the brow geometry properly with explicit inner/outer slope logic.
Now the main engine — game loop, input handling (poke/drag/slap/fling), rage & scoring, goo rendering with the anger-tinted palette, trail, droplets, sparkles, floating texts, and meltdown sequence.
Now installing lucide-react for icons and checking main.tsx before wiring the App shell.
Now the App shell: layered canvases inside a screen-shake wrapper, the hidden SVG goo filter, lab HUD with PTS/RAGE/MOOD instruments, and controls.
Build passed. One gameplay refinement — pointer velocity needs frame-based decay so a drag that stops before release doesn't fling with stale velocity:
Also strengthening the meltdown tremble so the pre-explosion shake reads violently:
SLIME LAB is built and passing. Here's the specimen report:
The Slime — a real-time soft-body simulation (verlet integration + ring springs + gas-pressure volume constraint), so it genuinely squishes, jiggles, stretches like taffy, and flattens on hard landings. Bodies, droplets, trail, and residue are all rendered through an SVG metaball goo filter (feGaussianBlur + alpha contrast) so everything fuses like real slime, layered with gradient shading, glossy speculars, and a dark organic rim for the "hyper-real" juice.
Ways to abuse it (multi-touch, mobile-first):
- Tap — poke it ("rude.", "poke tax: 1pt")
- Hold + drag — grab and stretch it; pull past its limit and it snaps with flying goo
- Fast swipe — slap it sideways with droplet splatter and screen shake
- Drag + release fast — fling it across the lab while it screams "WHEEE!"
- Two fingers — stretch it apart from two points at once
Emotions: pupils that track your finger, random blinks, happy smiley idle with blush, surprised O-face when grabbed, worried sweat when over-stretched, X_X dizzy eyes after slaps, screaming mouth mid-flight, gritted teeth and a red-hot tint as rage climbs. It fills you in verbally with floating comic text.
The loop: every offense feeds the RAGE meter (with CHILL → BOTHERED → FURIOUS → CRITICAL mood pill). Max it out and the slime violently trembles, explodes into goo shrapnel, then regenerates with zero forgiveness — tracked by a MELTDOWNS counter. Abuse points and a live FPS gauge round out the lab instruments.
Extras: synthesized WebAudio squelches/slaps/booms (no samples), a goo trail that follows the slime, floor residue from droplets, idle hops when left alone, and an HD/POTATO quality toggle — so you get to decide exactly how much your phone suffers.
Files built: index.html, src/index.css, src/game/audio.ts, src/game/slime.ts, src/game/face.ts, src/game/engine.ts, src/App.tsx