</aside>
<canvas id="lissajous"></canvas>
</main>
+ <footer>
+ <p><a href="https://r.bdr.sh">rbdr</a> · Press shift, or tap with 3 fingers for π mode.</p>
+ </footer>
</body>
</html>
slider.step = step;
}
});
+
+ document.addEventListener('touchstart', function(event) {
+ if (event.touches.length == 3) {
+ if (slider.classList.contains('shifted')) {
+ slider.classList.remove('shifted');
+ slider.step = step;
+ } else {
+ slider.classList.add('shifted');
+ slider.step = shiftStep;
+ }
+ }
+ });
}
slider.addEventListener('input', () => set(slider.value));
overflow: hidden;
}
+@media (orientation: landscape) {
+ body {
+ padding-top: env(safe-area-inset-top);
+ padding-left: env(safe-area-inset-left);
+ padding-right: env(safe-area-inset-right);
+ padding-bottom: env(safe-area-inset-bottom);
+ }
+}
+
+a {
+ color: #fff;
+}
+
+footer {
+ position: fixed;
+ padding: 2px 8px;
+ bottom: 0;
+ min-height: 16px;
+ max-height: 32px;
+}
+
#settings {
+ overflow-y: auto;
+ max-height: 100%;
position: absolute;
top: 5px;
right: 5px;