diff --git a/juice-man-repo/specs/level_1/v8.md b/juice-man-repo/specs/level_1/v8.md new file mode 100644 index 0000000..87281eb --- /dev/null +++ b/juice-man-repo/specs/level_1/v8.md @@ -0,0 +1,8 @@ +# Level 1 — v8 + +Prismatic After-images create a vivid, ghostly trail of Pac-Man's movement, turning his path through the rotating maze into a sweeping rainbow ribbon. + +- **After-image System**: Pac-Man generates a semi-transparent clone of himself every 60ms. Clones are stored in a fixed-size queue and fade out over 500ms. +- **Chromatic Shift**: Each after-image is assigned a color from the `RAINBOW` palette, cycling through colors sequentially to create a continuous spectrum trail. +- **Rotation Mapping**: After-images are anchored to the playfield's coordinate system, meaning they rotate and spin perfectly with the maze and Pac-Man, creating elegant, colorful spirals as he moves. +- **Visual Polish**: After-images use a `globalAlpha` fade and a slight scale-down (from 1.0 to 0.8) as they age, creating a tapering effect.