⚪🔴🔵 Check out these cool interactive circles 🔵🔴⚪
A cool grid of interactive coloured circles that change size and opacity based on the position of the cursor. Simply move your cursor over the grid to see the effect.
- Adjusts the size and opacity of each circle by calculating the distance between the circle and the cursor using pythagoras theorem, like this:
Math.sqrt((x * x) + (y * y))
- Generates 216 circles each with a unique hex colour
- Includes dark mode 🌖 ← → 🌒
- Doesn't achieve anything - it's just a bit of fun! 😆
You are viewing a single comment. View All