Generative Drawing with Python Turtle Graphics
summary
Generative drawing uses the built‑in Python Turtle module plus random to produce near‑infinite variations in under 50 lines of code. Four functions—pink wave, purple straight line, turquoise diamond and black zigzag—repeat with a random parameter; the wave uses a nest of four loops and dominates runtime. Hiding the turtle on line 42 speeds rendering. The demo runs slowly while drawing but produces highly different full images; code and examples are in the linked repository.
AI-written summary · about
chapters (5)
related talks
22mGenerative Art Speedrun
23mThe creative art of algorithmic embroidery
23mRecursion, Fractals, and the Python Turtle Module
12mAlgorithmically Generated Visual Designs
32mThe joy of creating art with code
40mA Box of Chaos: The Generative Artist's Toolkit
33mWhat is this thing called Generative Art?
34mScrolling Animated ASCII Art in Python
