The main process of this sketch is to cut a square in several parts. Then it draws diagonal strips with different types of lines to trace the fragments, with regular or random dashed lines (of different lengths and spacing). Randomly the lines are straight or follow a curve calculated with a Perlin noise.

Get the code

Random distribution

Falling cubeFramed swirl