Code
viewof a = {
const input = Inputs.range([0.5, 8], {value: 2, step: 0.5, label: "alpha:"});
['pointerdown','touchstart','mousedown','click','wheel','pointermove','touchmove']
.forEach(e => input.addEventListener(e, ev => ev.stopPropagation()));
return input;
}
viewof b = {
const input = Inputs.range([0.5, 8], {value: 3, step: 0.5, label: "beta:"});
['pointerdown','touchstart','mousedown','click','wheel','pointermove','touchmove']
.forEach(e => input.addEventListener(e, ev => ev.stopPropagation()));
return input;
}
