Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?

It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.

Source code and a downloadable app to try it yourself: https://github.com/samhenrigold/LidAngleSensor

I have so much free time it’s unbelievable. I’m open to full-time work in NYC or remote. Senior product designer/design engineer. https://samhenri.gold
Sam Henri Gold

Sam Henri Gold is a product design engineer building playful, useful software.

@samhenrigold I have an idea! You could have it scrub the startup chime based on the angle, which would be fun while opening and shutting it, but you could also work it like a turntable
@rezmason @samhenrigold my idea was a version of pacman where you have to "munch" to move