That's great, nice idea.<p>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.
Do you have any live examples?<p>This caught my eye because I was thinking of making something similar to give a stereoscopic 3d effect like the Nintendo 3DS.
"The idea is to introduce real-world entity to UI/UX"<p>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.<p>"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.