The goal of this project is to recreate the Invisible Ink effect of the iMessage app.
Here's how it looks so far:
preview1.mov
preview2.mov
preview3.mov
- Improve and optimize the scratch percentage calculation
- Improve the ContentView usage to prevent adding it multiple times. Currently it's used 4 times:
- The first time hidden by the canvas view
- The second time to be revealed when the scratch percentage is greater than X percent
- The third as a mask for particles
- The last one behind the blurview
- Start deleting lines only if the user hasn't touched the view for X seconds