Circle animation

from Red Blob Games
5 Jun 2021

Inspired by Dave Bees and Bombs[1]

Source: shape-transition.js (around 150 lines of code including the ui). I hope lots of people use this code to make new cool things!

Idea: instead of moving back and forth between two shapes, generate a new random target shape each time.

Email me , or tweet @redblobgames, or comment: