Graphical user interface (GUI) library providing functionalities for manipulating variables and fire functions on the fly.
Credits: dat.gui
Yarn:
$ yarn add toosoon-gui
NPM:
$ npm install toosoon-gui
import GUI from 'toosoon-gui';
const gui = new GUI({ title: 'Settings' });
The GUIWrapper
class allows you to create a fake instance of GUI
. This is helpful when you need to remove the GUI features on some environments.
import GUI, { Gui, GUIWrapper } from 'toosoon-gui';
const gui: Gui = DEBUG ? new GUI() : new GUIWrapper();
See full documentation here.
MIT License, see LICENSE for details.