Resources for my Virtual CC Fest 2026 session (The Nature of Code, but Python)
A session exploring how The Nature of Code (p5.js) translates into Python using py5, looking at which techniques translate directly, which require rethinking (particularly where substituting libraries is unavoidable), and where Python offers opportunities to simplify the original JavaScript implementation.
The complete py5 implementations of Daniel Shiffman's "The Nature of Code" (2024 edition), upon which the session is based, is available here:
It's also listed under the book's Additional Resources chapter, among ports to other languages.
- py5 website
- py5 reference
- py5 cheatsheet
- The Nature of Code by Daniel Shiffman (free online)
- Villares' sketch-a-day
Note: marp_style/ is normally a symlink to the shared marp-style theme repo. If the link is broken on your machine, overwrite it with a real copy -- rm marp_style && git clone https://github.com/tabreturn/marp-style marp_style -- then install Marp once with cd marp_style && npm install.
Install Marp in the theme repo (one-time):
cd marp_style && npm installLive preview (watch + presenter view):
./renderExport PDF (to deck.pdf in the repository root):
./render --pdf