2015-08-15 01:28:21 +00:00
|
|
|
/**
|
|
|
|
* dat-gui JavaScript Controller Library
|
2020-04-04 05:34:41 +00:00
|
|
|
* https://github.com/dataarts/dat.gui
|
2015-08-15 01:28:21 +00:00
|
|
|
*
|
|
|
|
* Copyright 2011 Data Arts Team, Google Creative Lab
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*/
|
|
|
|
|
2016-09-22 22:51:47 +00:00
|
|
|
import Color from './color/Color';
|
|
|
|
import math from './color/math';
|
|
|
|
import interpret from './color/interpret';
|
|
|
|
|
|
|
|
import Controller from './controllers/Controller';
|
|
|
|
import BooleanController from './controllers/BooleanController';
|
|
|
|
import OptionController from './controllers/OptionController';
|
|
|
|
import StringController from './controllers/StringController';
|
|
|
|
import NumberController from './controllers/NumberController';
|
|
|
|
import NumberControllerBox from './controllers/NumberControllerBox';
|
|
|
|
import NumberControllerSlider from './controllers/NumberControllerSlider';
|
|
|
|
import FunctionController from './controllers/FunctionController';
|
|
|
|
import ColorController from './controllers/ColorController';
|
|
|
|
|
2018-05-01 05:21:34 +00:00
|
|
|
import domImport from './dom/dom';
|
|
|
|
import GUIImport from './gui/GUI';
|
|
|
|
|
|
|
|
export const color = {
|
|
|
|
Color: Color,
|
|
|
|
math: math,
|
|
|
|
interpret: interpret
|
|
|
|
};
|
|
|
|
|
|
|
|
export const controllers = {
|
|
|
|
Controller: Controller,
|
|
|
|
BooleanController: BooleanController,
|
|
|
|
OptionController: OptionController,
|
|
|
|
StringController: StringController,
|
|
|
|
NumberController: NumberController,
|
|
|
|
NumberControllerBox: NumberControllerBox,
|
|
|
|
NumberControllerSlider: NumberControllerSlider,
|
|
|
|
FunctionController: FunctionController,
|
|
|
|
ColorController: ColorController
|
|
|
|
};
|
|
|
|
|
|
|
|
export const dom = { dom: domImport };
|
|
|
|
|
|
|
|
export const gui = { GUI: GUIImport };
|
|
|
|
|
|
|
|
export const GUI = GUIImport;
|
2016-09-22 22:51:47 +00:00
|
|
|
|
2015-08-15 01:28:21 +00:00
|
|
|
export default {
|
2018-05-01 05:21:34 +00:00
|
|
|
color,
|
|
|
|
controllers,
|
|
|
|
dom,
|
|
|
|
gui,
|
|
|
|
GUI
|
2015-08-14 20:29:30 +00:00
|
|
|
};
|