Alexandre Villares


Resources for teaching programming for artists, designers and architects

(repository)

Python on the Landscape of Programming Tools for Design and Architectural Education

This page was originally made to host data from this paper, that presented an earlier version of the table below:

VILLARES, A. B. A., & MOREIRA, D. (2017). Python on the Landscape of Programming Tools for Design and Architectural Education. Presented at the SIGRADI 2017, Concepcíon, Chile.

Extended table of Hosts, Platforms & Languages

SORTABLE VIEW OF THE TABLE CSV on GitHub raw CSV

About the table contents: (inclusion criteria)

  • Drawing or 3D modeling software that embeds a scripting language on the user interface or allows automation with a very limited number of steps between programming and code execution.
  • Tools aimed at teaching programming in a visual or graphic context.
  • [Ad hoc: tools that have shown potential for teaching in a visual or graphic context.]

After updating a few times the data from the earlier table, work started on compiling the other tables below.


Processing + Python tools table

Name Processing features based on (& Python version) Python standard library libraries ecosystem main features main limitations
Processing Python Mode (the “reference implementation” for comparison) Processing 3 Java Jython (Python 2) complete Java & Processing Java Available inside Processing IDE, very Processing 3 compatible no web sharing/deployment, no modern Python 3 libs, not working with Processing 4, needs a new maintainer
py5 Processing 4 Java graphics via JPype Python 3 complete Python & Processing Java truly Python 3 compatible for libraries, can be used on Jupyter notebooks, same core capabilities as Processing 4 Java New snake_case names, experimental, maybe some Processing Java libraries might not work
p5py a new inplementation based on OpenGL (incomplete), and will add Skia backend Python 3 complete Python only truly Python compatible, no Java/JVM dependency New snake_case names, experimental, still incomplete, no access to Processing Java libraries
pyp5js✱ (pyodide or transcrypt mode) p5.js Python 3 via Pyodide or Transcrypt complete Python, JavaScript & p5.js web ready sketches & editor, very p5.js compatible & pyodide makes it very Python compatible Experimental, still incomplete, p5.js features (as opposed to Processing Java/Python modes)
Proceso p5.js Python 3 via Pyodide complete Python, JavaScript & p5.js browser based sketches & very p5.js compatible, Python compatible,, names similar to py5 p5.js features (as opposed to Processing Java/Python modes)
SkulptIDE and trinket.io ProcessingJS Skulpt (Python 2, going to 3 now) partial unknown, possibly JavaScript very nice web IDE, browser based sketches ProcessingJS is defunct; not extensible
BrythonIDE and p5py.com p5.js Brython (Python 3) fairly complete JavaScript & p5.js browser IDE, browser based sketches & very p5.js compatible p5.js features (as opposed to Processing Java/Python modes)

these are the ones I’m using most!


More FLOSS + Python options to explore

3D

2D


Books and references


Please consider feedback, colaboration by means of pull requests, and/or a small donation!


Copyright (c) 2014-2023 Alexandre B A Villares. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. CC-BY-SA-4.0 License