piling.js
piling.js copied to clipboard
Create a UI for parameterizing the piling config
This is related to #46 and #47
Once we can import/export the piling config and we have defined the properties of the piling config we can easily build a UI for exploring the parameter space.
To do this efficiently, we can loop over the JSON schema and depending on the data type generate UI elements.
For example:
- for numerical values, we can create a slider
- for short string values, we can create a 1-line text input element
- for long string values, we can create a text area
- for categorical string values with 3 or fewer categories, we can create radio buttons
- for categorical string values with 4 or more categories, we can create a drop-down menu
- for boolean values, we can create a checkbox
Partially addressed in #51