Show HN: gBoxShadow.js – Gravity-Sensing box-shadow for flat UI
github.com
github.com
It worked for me, android 5.0.1. Had to turn off `auto-rotate` in my phone settings. Had to move my phone around sometimes for the shadow to catch up to a new rotation point; it had trouble sometimes (3/5) catching up with the phone rotated upside down in portrait orientation.
This caught my eye because I was thinking of making something similar to give a stereoscopic 3d effect like the Nintendo 3DS.
I have put up links to demos (live + video) on GitHub page. Please take a look.
No, that should be REINTRODUCE. The whole point of a GUI is that it's intuitive. The depicted controls should bear essential visual qualities of real-world objects, like buttons. Does the button look like it's sticking out from the background? Then it's not depressed. And so forth.
"Flat" UI is an idiotic regression that has set GUIs back decades. Come to think of it... did they ever suck as much as "flat" UI? Now we have entire interfaces that are an Easter-egg hunt. It's pathetic.
Thanks for your feedback and making the correction. I agree with your thoughts on flat UI. Whether it is pathetic - I'm not sure about that as unfortunately the world has been forced to use it in some place or the other.