I'll create an e-sport style interactive wallpaper with WebGL shaders, auto-pause on window blur, tooltips, and mini-games. Let me start by exploring the project structure.
Now I'll plan the implementation. I'll build an e-sport wallpaper with:
- WebGL shader background - animated cyber/neon grid with energy effects
- Auto-pause on window blur - detect
document.visibilityState and pause WebGL rendering
- Brand name "NEXUS ARENA" - prominently displayed
- Hint message area - with hover tooltips
- Mini games - a "Reaction Time" clicker and an "Aim Trainer" target game
Let me update the index.html title first, then create the components.
Now let me create the WebGL background component with the cyber shader:
Now let me create the hint message / tooltip component:
Now let me create the brand name and HUD overlay:
Now the mini-games. I'll create two: Aim Trainer and Reaction Time:
Now a third mini-game: Cyber Clicker / Whack-a-Node:
Now let me create a "Hint Message Area" component — a special toolbar/marquee area with messages and hover prompts:
I need to add the ticker keyframe animation to the CSS:
Now let me also add a "floating side hint" panel on the left for more tooltip examples and a more immersive feel:
Now let me create a center "prompt hint" message that appears on the wall and is hovered for prompts:
Now let me put it all together in the App.tsx, with auto-pause detection, FPS counter, and game state management:
Now let's build the project to verify everything compiles:
The build succeeded. Let me also verify the final file structure:
Everything is in place and the project builds successfully. Here's a summary of what I built:
🎮 NEXUS ARENA — E-Sport Wallpaper
A fully interactive e-sport style wallpaper built with Web + WebGL tech stack featuring:
🌀 WebGL Animated Background
- Custom GLSL fragment shader rendering a synthwave-style scene with:
- Perspective floor/ceiling grids (cyan & magenta) scrolling into a horizon
- Animated sun on the horizon with horizontal banding
- Floating data-stream particles
- Twinkling star field
- Scanlines and vignette color grading
⚡ Auto-Pause for Power Saving
- Listens to
document.visibilitychange, window.blur, and window.focus
- When the tab/window is inactive, WebGL rendering is paused (shader
u_time stops advancing + a u_paused tint is applied) → saves CPU/GPU/battery
- A subtle "SUSPENDED" overlay appears when paused, and the brand status pill changes to amber
🏷️ Brand Identity
- "NEXUS ARENA" displayed prominently:
- Top-left: brand logo + glowing wordmark + live status
- Center: massive holographic glitch-style typography
- Bottom: live ticker feed
💬 Hint Message Area + Hover Prompts
<Tooltip /> component with directional positioning (top/bottom/left/right), gradient borders, glow shadows
- Every interactive UI element (brand logo, FPS counter, mini-game buttons, status pills, side icons, center title) has a hover prompt explaining its function
- Bottom-left shows the auto-pause status with an explanatory tooltip
🎯 Three Mini-Games
- AIM TRAINER — Click appearing targets in 30s, track score/accuracy/misses
- REACTION TIME — Wait for green, click fast — best/average/trials tracked, 5-trial history
- NODE HACKER — 5×5 grid whack-a-mole: click green nodes (+10), avoid red viruses (-1 life), combo multipliers
All games support ESC to close and have their own HUDs with extensive tooltips.
Files built: index.html, src/index.css, src/components/WebGLBackground.tsx, src/components/Tooltip.tsx, src/components/BrandHeader.tsx, src/components/AimTrainer.tsx, src/components/ReactionGame.tsx, src/components/WhackGame.tsx, src/components/HintArea.tsx, src/components/SidePanel.tsx, src/components/CenterInfo.tsx, src/App.tsx