Make some art with your phone sensors
Comments
intrasight
yosef123
I did NOT know the motion sensors on my phone were THIS precise, that’s surprising
alexpotato
There was a project from 15 years ago where you could put an iPhone on a desk and if someone was typing, you could determine the keys being pressed via the accelerometer in the phone.
The original page seems to have died but you can still find the HN entry here; https://news.ycombinator.com/item?id=3203402
flanbiscuit
Found the original article on the archive.org
https://web.archive.org/web/20111021122406/https://www.wired...
adm4
This is the full "vibe code rabbit hole" I went down, with trying to understand what is possible with the sensors. https://tautme.github.io/phone-sensors/
adm4
intersting that phones ask for permission to camera and mic, but not always for accelerometer
jgtrosh
Even just the plain etch-a-sketch using motion sensing is cool enough.
I suppose this might have been done already?
adm4
here is the full list, of trying something out with all the sensors. https://tautme.github.io/phone-sensors/
captn3m0
Is there a reliable way to trigger percussion?
adm4
tap the side of the phone, it responds to accelerometer sensor.
smusamashah
Tapped very hard, never worked once. Using android on pixel phone.
ranguna
Same, also on a pixel
adm4
does this work on pixel?
https://tautme.github.io/phone-sensors/sensor_etch_pixel.htm...
adm4
change paint brush size -> whistle
change color -> put finger in front if camera
make drum sound -> tap side of phone
kretaceous
A digital theremin! Very fun.
mrsvanwinkle
which reminds me of building breadboard RF sensors (using fixed caps with variable for calibrating parasitic capacitance) and since these are just oscillators you can calibrate a beat frequency (heterodyne mix) in audible range that has the theremin timbre of a squarish sine wave that you can plug straight to a speaker
adm4
It seems to make the user dance, would fun to see video of people using it for the first time. haha
I tried it out on a whim and it was really fun actually.
The only immediate improvement I could think of (which may be is there in the settings) is to change the zero point so I don't have to have the camera pointed at the floor.
Edit: can "zero" by clicking "begin" with phone pointed forward.