Orienting to creative coding: what it is and why you code visuals
Learning objectives
- learner can articulate how creative coding differs from systems programming and treats code as an artistic medium
- learner can survey the browser-first tool landscape (p5.js, Hydra) and pick a starting environment for a personal aesthetic goal
- learner can set up a working sketch environment (local server, tutorial catalogs) and enter a doing-observing-adjusting feedback loop
Capstone — one whole task that evidences the objectives
Write a one-page 'why I code visuals' manifesto and back it with a running hello-world sketch in both p5.js and Hydra, launched from a correctly configured local setup, annotating which tool you will pursue first and why.
Before you can perform visuals at an algorave or build a home audio-visual rig, you need a stance: why write code at all when VJ software and video apps exist? This module builds toward that stance made concrete — a manifesto backed by two running hello-world sketches, one in p5.js and one in Hydra, launched from a setup that actually works. That pairing mirrors real practice: browser-first tools dominate visual live coding precisely because they collapse the gap between typing and seeing.
The arc starts with framing. Read how creative coding aims at expression rather than function, and how writing personal software escapes the fixed palette of commercial tools — these give your manifesto its argument. Then survey the two environments: p5.js as the visual-first heir to Processing’s accessibility mission, and Hydra as a browser-native video synthesizer of chainable signal sources and transforms. Your first exercises are supported: paste a sketch into the p5.js web editor, chain an osc().out() in Hydra, and use the tutorial catalog to route yourself to a leveled lesson. The unsupported step is getting a local setup running — where the local-server requirement for p5.js is the classic gotcha that turns a blank canvas into a working sketch — and then deliberately entering the doing-observing-adjusting loop that Victor’s immediate-feedback principle and Sandin’s feedback-loop practice method describe.
Every required atom gates the capstone: the framing atoms supply the manifesto’s substance, the tool atoms justify your annotated choice, and the setup and feedback-loop atoms make the sketches actually run and iterate. The supporting atoms enrich rather than gate — language choice anxiety, the Nature of Code as a next destination, versioning habits for bold experimentation, and Victor’s circuit-visualization example deepening the feedback principle.
Atoms in this module
Required — these gate the capstone
Supporting — enrichment, not gating
Part of curricula
- Audio-Visual Performer — integrated, synced live AV — Pair sound and image (unsynced, side by side) recommended
- Live Visualist — zero to performing live-coded & generative visuals — See & sketch — training the eye and the first lines of code required
- VJ — visual performance with projection, light & video — Generate & compose: build your own look required
Unlocks — modules that require this one