March 24, 2023
Using ChatGPT 3.5 to explain code to beginners, port it to other languages, and construct assessments and grading rubrics.
The responses shown were the first responses. Nothing was cherry-picked.
Things to note:
- The markdown illustrations in its answer to “walk through a couple of iterations” show the circles advancing in y, instead of x
- This conversation is with ChatGPT 3.5 — not the newer, and reportedly better-in-almost-all-respects, ChatGPT 4.
- It is sometimes wrong. I asked it about https://openprocessing.org/sketch/1394804, and it said the code drew a Fibonacci spiral. I changed the name of the function from
recurseand tried again in a fresh chat, and it said it drew a Pythagoras Tree. Neither of these is correct. (Its line-by-line explanations were accurate, though.)
Translating p5.js to Processing, and to Arduino. (Not tested. I don’t have an LED matrix. It looks plausible and compiles.)