概要
This skill provides a specialized implementation for React Three Fiber (R3F) and Three.js applications that automatically balances visual fidelity with rendering performance. By monitoring the scene's actual FPS at runtime, the skill mounts a lightweight component that incrementally scales the Device Pixel Ratio (DPR) up or down. This ensures a smooth user experience across a wide range of hardware, from high-end desktops to mobile devices, by protecting the frame rate during complex rendering tasks without requiring manual user configuration.