JavaScript Magnetic Button for Game Menus — Lerp Hover Effect Tutorial
Game feel starts with the menu. This magnetic button effect — built in 40 lines of vanilla JavaScript with a single lerp formula — adds...
Tutorials, resources and experiments published on the blog.