Knowledge Dump

random_shape_generation (Python)

This Python script can be used to create a batch of images of white segments on a black background, with varying, random shapes (triangles, ellipses and rectangles) and placement. Download (Python 3.11 script).


Example output:

Example