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
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
=> More informations about this toot | More toots from mitten@social.lol
@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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini