MCPcopy Index your code
hub / github.com/cocopon/tweakpane

github.com/cocopon/tweakpane @4.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 4.0.5 ↗ · + Follow
1,476 symbols 4,111 edges 373 files 80 documented · 5% 23 cross-repo links updated 3mo ago4.0.5 · 2024-11-03★ 4,55129 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Tweakpane

CI Coverage Status npm version

cover

Tweakpane is a compact pane library for fine-tuning parameters and monitoring value changes, inspired by dat.GUI.

  • Clean and simple design
  • Dependency-free
  • Extensible

(dat.GUI user? The migration guide can be helpful)

Installation

Refer to the Getting Started section for concrete steps. Remember to install @tweakpane/core if you are developing with TypeScript.

Features

See the official page for details.

Bindings

Number, String, Boolean, Color, Point 2D/3D/4D

Bindings

Readonly bindings

Number, String, Boolean

Readonly bindings

UI components

Folder, Tab, Button, Separator

UI components

Theming

Theming

Plugins

Plugins

Misc

  • Mobile support
  • TypeScript type definitions
  • JSON import / export

Development

CommonJS and ES modules

From version 4, Tweakpane has been migrated to ES modules. If you are looking for a CommonJS version of the package, use version 3.x.

Build your own Tweakpane

$ npm install
$ npm run setup
$ cd packages/tweakpane
$ npm start

The above commands start a web server for the document, build source files, and watch for changes. Open http://localhost:8080/ to browse the document.

Other resources

Design Kit

Includes the basics, styles and components for Tweakpane, providing a practical resource for creating your own plugin.

image

License

MIT License. See LICENSE.txt for more information.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 549
Function 422
Class 320
Interface 185

Languages

TypeScript100%

Modules by API surface

packages/core/src/input-binding/color/converter/color-string.ts37 symbols
packages/core/src/blade/common/model/rack.ts21 symbols
packages/core/src/common/model/view-props.ts19 symbols
packages/core/src/blade/test-util.ts19 symbols
packages/core/src/blade/common/api/rack.ts17 symbols
packages/core/src/common/converter/ecma/reader.ts16 symbols
packages/core/src/common/converter/ecma/nodes.ts16 symbols
packages/core/src/blade/folder/api/folder.ts16 symbols
packages/core/src/blade/common/api/tp-event.ts15 symbols
packages/core/src/input-binding/color/controller/color-texts.ts14 symbols
packages/core/src/common/view/pointer-handler.ts14 symbols
packages/core/src/blade/common/api/params.ts14 symbols

Dependencies from manifests, versioned

@rollup/plugin-alias3.1.2 · 1×
@rollup/plugin-node-resolve13.0.0 · 1×
@rollup/plugin-replace2.3.4 · 1×
@tweakpane/core../core · 1×
@types/assert1.5.4 · 1×
@types/dat.gui0.7.7 · 1×
@types/jsdom16.2.13 · 1×
@types/mocha9.1.1 · 1×
@types/node10.12.18 · 1×
@typescript-eslint/eslint-plugin5.33.0 · 1×
@typescript-eslint/parser5.33.0 · 1×

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page