Providing a standard entry point to provide custom controllers would be lovely.
Something on a GUI class instance would work. like:
const gui = new GUI();
gui.add_custom_controller( 'addDate', DateController );
...
const folder = gui.addFolder( 'Folder' );
folder.addDate( folderParams, 'date' );
Where DateController extends Controllers. Though perhaps you could come up with something you find more elegant.
However it's done, a method to provide custom controllers could harness community creativity. DateTime, RealTimeGraph, Point, 3DPoint, etc..
Edit: While keeping the core minimal
Providing a standard entry point to provide custom controllers would be lovely.
Something on a GUI class instance would work. like:
const gui = new GUI();gui.add_custom_controller( 'addDate', DateController );...
const folder = gui.addFolder( 'Folder' );folder.addDate( folderParams, 'date' );Where DateController extends Controllers. Though perhaps you could come up with something you find more elegant.
However it's done, a method to provide custom controllers could harness community creativity. DateTime, RealTimeGraph, Point, 3DPoint, etc..
Edit: While keeping the core minimal