The Materials Repo includes two ready-to-use project templates. Before you write a single line of code for any new project, grab the right one and drop it into your mono-repo.
| Template | Use When |
|---|---|
p5-only/ |
You're building a browser-based sketch with no physical hardware |
p5-arduino/ |
You're connecting an Arduino to your sketch via Serial |
If you're not doing anything with hardware, p5-only/ is always the right starting point.
Templates slot into your mono-repo like this:
dm2008-firstname-lastname-ay2526-s1/
├── 01-activities/
│ └── week-10/
│ └── p5-only/ ← duplicated template, renamed
├── 02-mini-project/
│ └── p5-only/ ← duplicated template, renamed
├── 03-sensor-jam/
│ └── p5-arduino/ ← duplicated template, renamed
└── 04-final-project/
└── p5-only/ ← duplicated template, renamed
Each project or activity gets its own copy of the template. The originals in starter_templates/ always stay untouched.
starter_templates/week-10-controls, mini-project-pong)index.htmlsketch.js