Creative Coding with py5, the Python version of Processing
summary
py5 claims to let Python drive Processing jars while staying Pythonic and requiring Java 17. It demos integration with numpy pixel arrays + scipy Gaussian filter, matplotlib charts used as a texture map with OpenCV webcam input, shapely geometry ops, and trimesh -> convert_shape for a rotating glTF strawberry that renders. Profiling shows bulk-vertex draw of ~9.5 ms vs per-vertex loop ~24 ms for ~50,000 vertices. Examples hit ~60 fps on modest hardware and several gallery and research projects run successfully.
AI-written summary · about
chapters (14)
- 0:00Creative coding intro
- 1:50What is Processing
- 5:02Introducing py5
- 9:41Static mode examples
- 11:51Animation modes
- 13:36Python ecosystem integration
- 15:21Numpy and pixel arrays
- 17:07Performance with Line Profiler
- 18:593D rendering with py5
- 20:26Geometric ops with Shapely
- 22:14Advanced textures
- 25:27Real-world apps
- 27:57Future plans
- 29:44Q&A








