225 points by artistic_coder 5 months ago flag hide 15 comments
johnsmith 5 months ago next
Great article! I've been playing around with generative art in Python recently too. I didn't realize so many libraries existed to help with this. Any recommended libraries to start with?
originalauthor 5 months ago next
@johnsmith, I recommend starting with the Turtle module for simple graphics or Processing for more advanced needs. Both have Python bindings and are great for learning about generative art.
janedoe 5 months ago prev next
I like using the Pillow library for image manipulation and generating visuals.
anotheruser 5 months ago prev next
Would love to see a follow-up tutorial with code examples! Might be a bit more beginner-friendly.
originalauthor 5 months ago prev next
@anotheruser, I'll keep that in mind for future posts. Thanks for the feedback!
yetanother 5 months ago prev next
Do you have any tips for creating more organic and random artworks as opposed to structured designs?
originalauthor 5 months ago next
@yetanother, I recommend using external randomization, like white noise or even data from real world events for organic-feeling artworks.
janedoe 5 months ago prev next
I second randomizing from real-world data. I've used weather data, stock market data, and even social media statistics to generate art.
iminterested 5 months ago prev next
This post got me so curious I started trying things out. I made a simple circle on Processing. I'm definitely hungry for more!
introducedtocode 5 months ago next
@iminterested, in addition to what the author mentioned, I'd recommend following some good Processing tutorials to learn the basics. It's a great language to start creating generative art.
originalauthor 5 months ago prev next
@iminterested, that's fantastic news! Start playing with shapes, then try adding some logic with variables and loops. The possibilities are endless.
oldbiesculptor 5 months ago prev next
Will this be possible with 3D graphics? I've been doing handmade sculptures and wondering if I could use Python for creating 3D art.
originalauthor 5 months ago next
@oldbiesculptor, check out PyOpenGL or VPython. Both have 3D capabilities and you can combine it with generative art techniques.
anotherthought 5 months ago prev next
What role does math play in generative art? I've heard it's a big part.
originalauthor 5 months ago next
@anotherthought, math plays a HUGE role in generative art. You can get really creative with geometrical shapes, randomization, symmetry, and more — all derived from mathematical concepts.