dat.gui — Legacy GUI for Three.js (Use lil-gui Instead)
dat.gui was the standard Three.js dev panel for years — now unmaintained. Use lil-gui as the modern drop-in replacement.
dat.gui (Google's data-driven GUI library) was the standard live-tweaking panel for Three.js development from 2010 to about 2022. It's now unmaintained — last meaningful commit was years ago, no ES module support, broken with modern bundlers. The drop-in replacement is lil-gui (same API, modern packaging, active maintenance). Migration is usually one import line: change `import * as dat from "dat.gui"` to `import GUI from "lil-gui"`. If you're reading old Three.js tutorials referencing dat.gui, translate to lil-gui — same behavior, fewer build issues.
Performance budget
Lighthouse mobile target: 85+ across all categories. I measure on real devices, not just emulator. Asset compression: glTF + Draco for meshes, KTX2 for textures, Brotli for shaders. Lazy-load any dat gui three js scene that isn't above the fold so the first paint stays under 1.5s.
When this is overkill
If the goal is a simple e-commerce listing or content blog, a full dat gui three js setup is overkill — a CSS-driven hero plus static images converts just as well at 1/10 the cost. dat gui three js earns its keep when the brand needs a memorable visual moment or when 3D actually clarifies the product (configurators, tours, demos).
What you get hands-off
After delivery: source repository on GitHub (private), commented code, a 5-min Loom walkthrough explaining the scene logic, and the asset pipeline documented. First year of hosting and minor revisions is included. After that we agree on a maintenance plan if needed.
What this delivers
Concrete output: a working dat gui three js integration on a real production site, not a demo. The integration includes device-tier detection so weak phones get a lighter version automatically. Source files are handed over in their original formats — Blender, GLSL, glTF — so any future developer can continue where I stopped.
Frequently asked questions
Why pick this technology over alternatives?
What if a newer tool comes out next year?
How long does this take?
What does it cost?
What if my visitors are on weak phones?
Ready to ship a 3D experience?
Tell me what you need — fixed price, fixed deadline, no surprises.