home/ modules/ orienting-to-creative-coding

Orienting to creative coding: what it is and why you code visuals

  • 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

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

Creative coding aims at expression, not function — code as an artistic medium
Concept L0 Orientation H
p5.js carries Processing's accessibility goal to the browser as a visual-first creative-coding environment
Concept L0 Orientation H
Hydra is a browser-based, JavaScript live-coding language for networked video-synth visuals
Fact L0 Orientation HFJ
Writing custom software enables artistic expression that commercial tools structurally prevent
Principle L0 Orientation HFO
Creators need an immediate connection to what they are creating — any delay hides ideas
Principle L1 Foundations HF
Putting yourself in a feedback loop — doing, observing results, adjusting — is how artistic skill with a tool develops
Principle L1 Foundations HP
p5.js sketches that load external files require a local web server to avoid cross-origin errors
Fact L1 Foundations H
The official Processing tutorials split into video links and leveled text lessons across four sibling platforms
Fact L0 Orientation H

Supporting — enrichment, not gating

The choice of first programming language matters less than the transferable principles it teaches
Principle L0 Orientation HP
The Nature of Code is a 12-chapter, 67-video p5.js track on simulating natural systems in code
Fact L2 First instrument H
Saving incremental versions frees generative artists to experiment boldly without fear
Procedure L1 Foundations H
Visualizing live voltage and current data directly on a circuit diagram eliminates mental simulation in electronics
Concept L2 First instrument H