jasonwebb / cellular-automata-explorer

(WIP) An interactive web app for exploring cellular automata.
https://jasonwebb.github.io/cellular-automata-explorer
Other
18 stars 2 forks source link

Design and build a UI #4

Open jasonwebb opened 3 years ago

jasonwebb commented 3 years ago

In other projects I've tried using control panel interfaces like dat.gui, control-panel, and Tweakpane, but in my experience they all lack extensibility and are somewhat limiting in the components they provide. However, Jess Hewitt's new noisedeck app shows that it is not really all that difficult to build a great looking custom panel UI using vanilla JS and CSS. So I'm going to try that!

Rules

Birth/survival counts

Neighborhood

History

Colors

Starting patterns

Canvas

Controls

Analysis

Modal Dialogs

cocopon commented 3 years ago

Thank you for mentioning to Tweakpane.

I don't know you know about that, from 2.0.0 you can add a custom input control by the plugin system. https://cocopon.github.io/tweakpane/plugins.html

It's still under active development and a bit unstable, but it's going to be better every day.

jasonwebb commented 3 years ago

@cocopon Wow, that's an awesome update, and I will definitely check it out now! Tweakpane has been my favorite toolkit to use for web apps like this. This update must've been a lot of work, so thanks for taking it on and continuing to make improvements!