Nilo

Examples1

dots

Two hundred dots of different sizes on a paper ground. It is the whole piece: the random numbers come from the token, so the same token always draws the same dots.

Two hundred dark dots of different sizes scattered on a paper ground

SourceShips asGzippedTarget
8 lines348 bytes266 bytescanvas
plate(1920, 2400)
random layout

background(#f4f1ea)
for i in 0 ..< 200 {
  let p = vec(layout.float(0 ..< 1920), layout.float(0 ..< 2400))
  circle(p, layout.float(4 ..< 40))
  fill(#1b1b1f)
}