I limited the options in order to avoid confusion, but I believe it covers most use cases (or at least can get you in the right direction). I also added some examples to browse to help you get started.
(Note: Click the loose object to push it away from the camera.)
Can I ask for one thing - make sure the UI is disposed when the scene is disposed, otherwise sswitching to a new playground (or running this one again) will keep the UI until the site is reloaded.
Ah, that’s true I hadn’t noticed! Bad news is that I just copied the idea of using lil-gui from the global illumination playground, and that one appears to have the same problem when switching between playgrounds