Very pretty but needs some instructions or other affordances. I have no idea what to do.
Construct a sequence of basic transformations that turns the initial grid into the target grid. Each of the portals performs a certain transformation, the ring one, for example, rotates around the axis selected at the top by the amount selected around the ring.
I'll add a tutorial :)