pyramidscheme / pyramidtriangles

Software to run the Pyramid Scheme triangles
3 stars 0 forks source link

Creates a whole new react web UI #35

Closed sul3n3t closed 3 years ago

sul3n3t commented 5 years ago

Creates a whole new react web UI

The UI was created straight from running create-react-app. It has few modifications of the default setup.

There are many related changes, such as rest endpoints, managing state in a thread-safe way, and typing the command queue. ShowRunner and osc_serve.py are moved to a core/ directory.

shows/color_pulse.py, shows/fuck_your_burn.py, and shows/warp.py are modified to have show 'knobs', which are automatically rendered in the web UI. Changes made in the web UI are immediately reflected in the running show. Very little code is needed in a show for the configurable knobs to work.

I made a short (32s) screen grab of the UI in action: https://streamable.com/yww0t