๐งฐ Dev Tools
In order to get a more well-rounded environment for Three.js development, you can use the following tools:
- Chrome Frame Rendering Stats in the Rendering tab
Three.js
- three-tools by BACE โ Chrome
- Three.js Developer Tools โ Firefox
- Stats.js โ Included in R3F Drei
- stats-gl โ WebGL performance monitoring tool
- Three.js Editor
- DrawCallInspector (Chrome, experimental)
- three-inspect
React Three Fiber
WebGL
Debug UI
Compare on NPMTrends and Star History (requires a GH token)
About these numbers and colors
Example of passing an existing Valtio object to Leva.
GLSL / VS Code Extensions
Theatre.js
Theatre.js
12k4k/w is an animation library and toolkit to create cinematic scenes and animating
objects of your scene. It contains a visual editor that can transform objects of your scene, which can
be quite useful for debugging and positioning objects. It supports vanilla Three.js
and React Three Fiber.
Motion Canvas is an alternative to Theatre.js.
Mobile browser consoles
Eruda and vConsole provide developer consoles for mobile browsers, useful for debugging on devices that donโt have built-in dev tools.