Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 297 Bytes

File metadata and controls

5 lines (3 loc) · 297 Bytes

10 Debug UI

I'm using dat.gui to create a debug UI. It's a great tool for quickly creating a UI for tweaking variables.

I used useEffect to handle the creation of the GUI instance. I also used useRef to store the GUI instance so I can access it later.