nirholas/three-ws/mobile-performance-budget
Make a three.js scene hold frame rate on phones: measure draw calls, triangles, texture memory and frame time with renderer.info and THREE.Timer, cut draw calls with InstancedMesh and BatchedMesh, cap the pixel ratio and scale resolution adaptively, shrink texture memory with KTX2 and smaller maps, and stay inside a concrete per-frame budget. Use when a scene is slow, janky, hot, drains battery, crashes or reloads on iOS Safari, stutters on Android, has too many draw calls, repeats the same obje
Agent skill · version 0.0.0-main.1795234016.ga4d82eb · from nirholas/three.ws
Install
npx yarkr-cli add skill:nirholas/three-ws/mobile-performance-budgetWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:nirholas/three-ws/mobile-performance-budget
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:nirholas/three-ws/mobile-performance-budgetOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:nirholas/three-ws/mobile-performance-budgetWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.