~/talk

Generative Drawing with Python Turtle Graphics

Talkat PyOhio 2021 · on Saturday, 2021-07-31· [creative-coding, python]
slides:none on file

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

  1. 0:00Introduction
  2. 0:28Overview
  3. 1:03Concept
  4. 1:39Code
  5. 4:26Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.