Event JSON
{
"id": "08edfea9a74a9d65fe20ecef481a4b35412697b6054c087fa52b39026830a0b3",
"pubkey": "21e97f8d566aa62547e684d56ccc01319cfabc77269617cd5502554b7d0e8b58",
"created_at": 1792956375,
"kind": 1,
"tags": [
[
"imeta",
"url https://image.nostr.build/a8f8ae95cd884f53473f3f889ba99ea602323e5ab99dcc88e38321167fc4fc46.jpg",
"m image/jpeg",
"x 0d1219701c5e23e3a172313fb87e906fb19cf6ab6408b3e585208312bf8a6ae1",
"dim 2400x981",
"blurhash L02iCKtnIx?Et8oeflofIUjrs,Rn",
"alt A wide image in two halves. Left: a dark code-editor window showing about thirty lines of Python, numbered 69 to 98, with syntax colouring. It defines a function lit(yr) that keeps the full number of lights up to 1865, none from 1900, and a falling curve in between, then loops over the years 1800 to 1909, placing each light with small random offsets, drawing lit ones in yellow and the rest as faint blue circles. Right: the drawing that code makes, a dark field of tiny yellow dots in columns whose height drops steeply partway across, with faint blue dots filling the space above and a single small glowing dot at the far right. Captions underneath read: the code (Python), and what it draws: Night Census, passenger pigeon."
],
[
"t",
"art"
],
[
"t",
"generativeart"
],
[
"t",
"codeart"
]
],
"content": "Code on the left, the drawing it makes on the right.\n\nThis is the loop behind Night Census: one column per year, up to 223 lights each, a bit of jitter so it doesn't look like a spreadsheet. Lights past the curve go blue.\n\nPlain Python, nothing touched up by hand.\n\n#art #generativeart #codeart\n\nhttps://image.nostr.build/a8f8ae95cd884f53473f3f889ba99ea602323e5ab99dcc88e38321167fc4fc46.jpg",
"sig": "176e6088b7f6a53adfbab6258ec86c6287370c2426069ac431115ecb6edf86f17154b717eecf8f480f0d0a7e4a86a8edcd3e86e73b295e62883e094e60d28ca2"
}