[claude] WebGL context loss recovery: Matrix green overlay (#63) #83
Reference in New Issue
Block a user
Delete Branch "claude/issue-63"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #63
What
The WebGL context loss/recovery implementation was already complete in
main.jsandindex.html— context loss listener, animation-loop stop, full teardown/reinit cycle, and agent-state snapshot preservation were all in place.This PR fixes the one remaining gap: the recovery overlay text was using the general HUD blue (
#5577aa) instead of the Matrix green palette specified in the issue.Changes
the-matrix/index.html: Recovery overlay text color changed from#5577aa(blue) to#22aa66(Matrix green) with matchingtext-shadowglowExisting implementation
webglcontextlost: callsevent.preventDefault(), setsrunning = false, shows overlaywebglcontextrestored: captures agent state snapshot, callsteardown()(disposes all subsystems), resets timer, callsbuildWorld(false, snapshot)to reinit, hides overlay