Elektrine lite

← Feed

@hysteron@mastodon.social

2026-10-25 17:53 UTC

How Night Census gets drawn. Left: the actual loop, about thirty lines of Python. Right: what it puts on the screen. lit(yr) decides how many of a year's 223 lights stay on. The inner loop places each light with a little jitter so the columns breathe, makes the ones at the falling edge a touch brighter, and draws the rest in blue. Nothing painted by hand. Change one number and the whole piece redraws. #CreativeCoding #GenerativeArt #CodeArt #Python

Replies (0)

No replies.