I'm developing a hybrid app and wondering if this scenario is feasible.
I don't know the word for this... Imagine a Fulcrum, the middle of the device is on top of it. The top part of the device moves up or down, the lower part of the device moves opposite.
My question is: Is there a way to detect these changes, and move a circular gradient radius depending on which movement it of the device it is.
Perhaps this is possible using CSS instead of JS?
And how do I use the canvas to update the change in real time? Expensive to run?