Ancestors

Written by mitten on 2025-01-21 at 19:05

I started working on the prompt for Genuary day 6, and got quite stuck code-wise. What I thought would be easy wasn’t. Then a large chunk of LA was on fire, and I got a bit distracted. 1/x

[#]Genuary6 #ComputationalArt #py5 #Genuary2025

=> More informations about this toot | More toots from mitten@social.lol

Toot

Written by mitten on 2025-01-21 at 19:05

I finally got back to this piece, wrote some convoluted code, and came up with this. Opinions/advice on the code are especially welcome. Code here: https://gitlab.com/mitten-la/py5-sketches/-/tree/main/20250106 2/x

[#]Genuary6 #ComputationalArt #py5 #Genuary2025

=> View attached media

=> More informations about this toot | More toots from mitten@social.lol

Descendants

Written by Alexandre B A Villares 🐍 on 2025-01-21 at 22:05

@mitten very cool!

This is very nice, but if the strategy you are using still bothers you, maybe you might like to try: 1. A "raster" based approach, you can draw on an alternate canvas, Py5Graphics objects, and they can be clipped/masked and applied to the main canvas. 2. A "vector" based approach, using the shapely library you can construct polygons and then clip then... I'd really like to have tutorials on both...

=> More informations about this toot | More toots from villares@ciberlandia.pt

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113867902632716554
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
273.490933 milliseconds
Gemini-to-HTML Time
0.569484 milliseconds

This content has been proxied by September (ba2dc).