{
if (autoUpdate) {
const value = now / 1000;
viewof pitch.value = Math.cos(value * 0.5) * 90;
viewof roll.value = Math.sin(value) * 40;
viewof orientation.value = (value * 30) % 360 - 180;
viewof pitch.dispatchEvent(new CustomEvent("input"));
viewof roll.dispatchEvent(new CustomEvent("input"));
viewof orientation.dispatchEvent(new CustomEvent("input"));
}
}