MCPcopy Index your code
hub / github.com/dataarts/dat.gui

github.com/dataarts/dat.gui @v0.7.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.9 ↗ · + Follow
195 symbols 392 edges 26 files 21 documented · 11% 17 cross-repo links updated 17d agov0.7.9 · 2022-02-19★ 7,72278 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

dat.GUI

A lightweight graphical user interface for changing variables in JavaScript.

Get started with dat.GUI by reading the API documentation.

Packaged Builds

The easiest way to use dat.GUI in your code is by using the built source at build/dat.gui.min.js. These built JavaScript files bundle all the necessary dependencies to run dat.GUI.

In your head tag, include the following code:

<script type="text/javascript" src="https://github.com/dataarts/dat.gui/raw/v0.7.9/dat.gui.min.js"></script>

Installing from npm

$ npm install --save dat.gui
// CommonJS:
const dat = require('dat.gui');

// ES6:
import * as dat from 'dat.gui';

const gui = new dat.GUI();

Directory Contents

├── build - Compiled source code.
├── src - Source files.
└── tests - Tests.

Building your own dat.GUI

In the terminal, enter the following:

$ npm install
$ npm run build

npm scripts

  • npm run build - Build development and production version of scripts.
  • npm run dev - Build development version of script and watch for changes.

Working with Content Security Policy

If you're using a server with a Content Security Policy in place that blocks 'unsafe-inline', you will have problems when dat.gui.js tries to inject style information. To get around this, load 'build/dat.gui.css' as an external style sheet.

Changes

View the Change Log

Thanks

The following libraries / open-source projects were used in the development of dat.GUI: * Rollup * Sass * Node.js * QUnit / jquery

Core symbols most depended-on inside this repo

Shape

Function 114
Method 59
Class 22

Languages

TypeScript100%

Modules by API surface

tests/jquery.js54 symbols
tests/qunit.js26 symbols
src/dat/gui/GUI.js22 symbols
src/dat/controllers/ColorController.js14 symbols
src/dat/controllers/NumberControllerSlider.js11 symbols
src/dat/controllers/NumberControllerBox.js11 symbols
src/dat/controllers/Controller.js9 symbols
src/dat/controllers/NumberController.js8 symbols
src/dat/color/Color.js8 symbols
src/dat/dom/CenteredDiv.js6 symbols
src/dat/controllers/StringController.js6 symbols
src/dat/controllers/BooleanController.js6 symbols

Dependencies from manifests, versioned

babel-core6.26.3 · 1×
babel-plugin-external-helpers6.22.0 · 1×
babel-preset-env1.7.0 · 1×
concurrently3.5.1 · 1×
eslint6.8.0 · 1×
eslint-config-airbnb-base14.1.0 · 1×
eslint-loader4.0.0 · 1×
extend3.0.2 · 1×
jsdoc-to-markdown5.0.3 · 1×
replace-between0.0.8 · 1×
rollup0.54.1 · 1×

For agents

$ claude mcp add dat.gui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page