
AI NPC Lab
Interactive 3D AI Gameplay Prototype & Engineering SandboxDesigned and implemented the complete C# AI architecture (`NPCBrain`, `PlayerBehaviorTracker`, `PatrolPath`, `NPCDebugUI`), automated scene builder (`AINPCLabBuilder`), and lazy-loaded Next.js WebGL canvas wrapper (`WebGLEmbed`).
Running interactive NPC vision-cone raycasting, proximity detection, dynamic player aggression scoring, and NavMesh pathfinding inside a single-threaded browser environment without automatically bloating page load.
Engineered a deterministic 5-state Finite State Machine (`Patrol`, `Chase`, `Attack`, `Retreat`, `Search`) with separated perception, navigation, and combat logic, pre-allocated waypoint references, and click-to-load iframe initialization.
Live playable demonstration (`13.0 MB` Brotli-compressed `.br` artifacts; `59.4 MB` uncompressed fallback) embedded on eshannaithani.com with a full technical architecture case study.



