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.