Thanks to Sandro ⎋ Poli 's awesome help, I could complete this prototye! :)
Now the zipper works much seamless, and I added little bit of extra code to make it natural (Made zipteeth to gradually split away from the end of the zip)
Thanks for awesome feedback & reactions! <3
I'm making a weird Slide to unzip(!) prototype for fun.
It was fun until I realise it's hard to translate the X position of the slider as an index number of an array.
(Still works when you slide really slowly, though! 🤔)
I don't feel confidence with using Utils.modulate for this interaction. But that was the only way I know. Sighs.
Would be greate if you can give a tip & hint to help me out from this annoying problem!