I’m building an app where I want to simulate a “broken screen” effect (like cracked glass) triggered by a shake or button press. I found a useful example of this effect here: Broken Screen something similar to this, but within my Ionic app.
I’m thinking of using CSS animations or overlaying a broken screen image, and maybe adding haptic feedback for realism. I’m also curious if any Ionic plugins can detect motion to trigger this effect.
Anyone have tips or examples? How can I implement this without hurting performance too much?