All ideasMore in Hobbies

The AI turned my textbook demo into a 3D game my students now fly

A professor took the PID control demo from his own book and had the AI build it as an eight mission 3D flying game for his students. Students predict what the drone will do before each flight, and he checked every mission against his book version before it went live.

How it works

  1. Take the physics and teaching text from his book 2D demo
  2. Ask the AI to build a 3D version with three.js
  3. Get four quick style tries and pick two to build in full
  4. Draw each PID term on the drone so students can watch it grow and shrink
  5. Check every mission against the 2D version and ask for changes
  6. Put the finished game live for students

Why it’s worth knowing

Work that used to sit on a whiteboard for weeks or months of building is now a live game his class can use in days.

Where it’s from

Summarized from a public post on derekmolloy.ie. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.