How to make Eyeballs that Follow You Around

Опубликовано: 22 Сентябрь 2022
на канале: Beyond Fireship
348,268
22k

Learn how to implement a proximity hover effect that animates based on the relative position of the mouser cursor with HTML, CSS, JavaScript, and a little bit of trigonometry. We build a demo with makes they eyes of Rick and Morty appear to follow you around the screen.

#javascript #trigonometry #webdevelopment