UI

Shadeup offers a helpful UI library for creating knobs and buttons that users can tweak.

This is an “immediate-mode” ui which means that you don’t have to keep track of the state of the ui. You just call the functions and they will return the value that the user has set. (using some cross-frame magic under the hood to allow for smooth interaction)

Puck

A draggable “puck” that returns a value in screen space.

Slider

A slider that returns a value between the min and max passed in.

See more

You can view more components in the ui module: