Hero image

Dot Grid

What the code does

Shows you how to draw multiple dots with different properties in a single line of code. In this example a uniform grid of dots with different positions, sizes and colours. The positions remain the same each time you run the code, but the colours and the positions of the dots is randomly determined. 

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image