in this effect, im using `PointerEvent` to get the cursor position.
267.260 görüntüleme
in this effect, im using `PointerEvent` to get the cursor position.
then calculating a progress value (0 to 1) based on where your cursor is relative to the book's spine.
each page then uses `calc()` to multiply its target rotation by the progress.
Yorumlar
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır
Henüz yorum yok
