dataarts / dat.gui

Lightweight controller library for JavaScript.
Apache License 2.0
7.46k stars 1.08k forks source link

[Feature Request] Value Plotters #191

Open Nodragem opened 6 years ago

Nodragem commented 6 years ago

Hello,

dat.gui can already shows the value of a variable in real time, what about creating a curve of that value in real time?

In fact, there are people who got inspired by dat.gui here: https://braitsch.github.io/ofxDatGui/ And you can see that they implemeted a Value Plotter and other interesting ways to visualise the data. Maybe that can serve has an inspiration, though that is a C++ library :)

backspaces commented 6 years ago

This would fabulous! I have a dat.gui set of projects that need simple plotting. The projects are based on NetLogo, the great agent based modeling library.

Here's a study of their UI elements: http://backspaces.net/temp/NetLogoUIs.pdf

Amazingly similar to dat.gui.

Nodragem commented 6 years ago

In fact, there is already a js library doing something similar here: https://github.com/mrdoob/stats.js

MacroMan commented 5 years ago

Value plotter implemented and pull request #226 added.

Also in my main fork: https://github.com/MacroMan/dat.gui/