18. Projects¶
You have learned the pieces. Now put them together. A project is a bigger piece of work that uses many things at once. Each one has its own page, and each comes in three stages.
- Make it work. A small version. It does one thing, and it runs.
- Make it yours. Change it. Add the things you care about.
- Make it shine. The full version in the examples gallery. Read it, run it, and borrow from it.
At the end of each project there are challenge cards. Each card is one short job to try on your own. There is no right answer. If it looks good to you, it is done.
How to use a project page¶
- Read the intro and How it works. It shows the core idea, with short pieces from the real example.
- Copy the Stage 1 code into a file and run it. Every complete example on a project page runs as printed. A short piece marked as a fragment is not a whole program. It goes into your own sketch.
- Pick the Stage 2 ideas you like, one at a time. Run it after each one.
- Run the full example from the gallery, then read its code. The top of the file explains how it works.
- Try a challenge card. Pick any one.
You do not have to do the projects in order. Pick the one that sounds like fun.
The projects¶
| # | Project | What you make | Main skills | Level |
|---|---|---|---|---|
| 1 | Event poster series | A poster designer: flip through events, type a headline, save layered PDF and SVG files | layers, text, gradients, booleans, saving | Beginner+ |
| 2 | Rangoli and mandala generator | A symmetric festival pattern with sliders, saved as SVG for printing | transforms, booleans, color_mode("hsb"), controls |
Beginner+ |
| 3 | Raga explorer | Hear a raga over a drone, watch each swara light up, then sing it back | raga, melody, drone, microphone |
Beginner+ |
| 4 | Voice-controlled game | A bird that flies through gates as you use your voice | microphone, collisions, sound effects | Beginner+ |
| 5 | Typographic portrait | A photo redrawn from letters whose size follows brightness; a vector PDF for large prints | load_image, pixels, text, PDF |
Beginner+ |
| 6 | Kinetic type | A word made of dots that scatter at the mouse and come back; saved as a GIF | text_to_points, Vector, noise, save_gif |
Beginner+ |
| 7 | Scratch card | Prizes under a foil layer that you scratch off with the mouse, with sounds | layer, erase, pluck, tone, mouse |
Beginner |
| 8 | Flow-field print | Thousands of noise-guided lines, saved as a vector PDF for a big print | noise, Vector, layer, blend, PDF |
Beginner+ |
Previous: 17. Ragas and talas