A remix of the wonderful "Cube Animations" series of projects by @RainierWu The remix moves the cubes in different patterns.
Huge thanks to @RainierWu for the original Cube Animations projects. The code in this project is condensed into one sprite. There is a lot less code than with 8 sprites for the 8 squares but the code is harder to understand. The one sprite spawns 8 permanent clones for the 8 leading squares. Each of these clones spawns many temporary clones that produce the trailing squares of the same colour. The trailing squares clones shrink and fade and are then deleted. The squares follow a Butterfly Curve: https://en.wikipedia.org/wiki/Butterfly_curve_(transcendental)