Various helpers to detect and use sensors on mobile devices (smartphones, really). Links are to my demos.
SENSORS scripts to check for “buzz” permission; detect/set a “shake“ threshold; “detect sensors“ available on the device
OCTOPUS displays and tracks position/state of 8 touchpoints
2-FINGER SWIPE recognizes 2-finger swipes (reserving single finger swipes for other interactions)
All scripts are expanded from snippets/tutorials on MDN web docs or explicitly stated sources