Пропустить навигацию
in this effect, im using `PointerEvent` to get the cursor position.
0:00 / 0:20

in this effect, im using `PointerEvent` to get the cursor position.

Soren

@sorenblank8 тыс. подписчиков

Открыть в X
1 980 отметок «Нравится»СкачатьОригинальный пост

267 260 просмотров

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.

Комментарии

Комментарии из оригинального поста в X (Twitter)

Комментариев пока нет