REDLAKE ACADEMY OF DIGITAL MEDIA CREATIVE CODING & WEBGL RUNTIME OPTIMIZATION CASE BRIEF CASE CODE: RADM-TEC-2026-06 PROJECT: The Generative Kinetic Typography Crash INVESTIGATOR: Devonte Washington (Certificate in Creative Coding '27) FACULTY ADVISOR: Julian Mercer, MS EXHIBITION VENUE: Minneapolis Contemporary Digital Arts Pavilion EXECUTIVE OVERVIEW: An interactive sound-reactive kinetic typography installation projected onto a 40-foot museum wall crashed predictably every 4 hours due to GPU out-of-memory errors on its dedicated media server running a custom WebGL / Three.js application. PROFILING & DIAGNOSTIC FINDINGS: 1. Chrome DevTools Heap and GPU memory allocation timelines revealed that dynamic text strings generated new HTML5 2D canvas elements on every sound pulse. 2. When creating Three.js CanvasTexture objects, previous WebGL texture handles were dereferenced in JavaScript but were not garbage collected in GPU VRAM (missing .dispose() calls). 3. The application leaked exactly 1.2MB of VRAM per second, consuming 4.28GB after 4 hours until the graphics driver crashed. CODE ARCHITECTURE RESTRUCTURING: 1. Replaced all runtime canvas texture generation with pre-baked Signed Distance Field (SDF) glyph atlas textures. 2. Implemented GPU Instancing (THREE.InstancedMesh), drawing all 12,000 animated letters in a single GPU draw call. 3. Created an object pool for particle text nodes, recycling buffers and geometry memory pointers with zero runtime allocations. MEASURABLE OUTCOMES: - VRAM consumption dropped from 4,280MB (crashing) to a flat 210MB permanently. - GPU draw calls plummeted from 12,000 to exactly 1. - Frame rate locked at a butter-smooth 60.0fps. - The installation operated continuously for 72 consecutive hours during exhibition opening weekend with zero crashes.