Skip to main content
100%

Gist d4a7aba620fdb64af2e06895c4b14491

✓ Published0🌍 Public
UUtopiah
Last edited Jan 19, 2021
Created on Jan 19, 2021

A PinePhone’s accelerometer data, read from Linux sysfs paths, streams over HTTP via an Express server to a client that polls the endpoint every 100 ms. The client computes movement by comparing squared y/z values and differences against previous readings, triggering `window.scrollBy(0, 1)` when a step is detected. This animation visualizes walking as automatic page scrolling, using raw sensor values for x, y, and z axes without any charting library.

AI-generated description

Similar vizzes