Creative coding
Make images, motion, and interaction with code. Start with a browser sketch, work through a
visual technique, or connect a program to a camera, model, or physical sensor.
p5.js tutorials Browser-based sketches Build animated and interactive sketches in JavaScript. The tutorials move from variables and loops to reusable functions, classes, easing, and parameter exploration.
Processing Desktop sketches Use Processing to study the same visual ideas in Java. These notes cover the draw loop, input, arrays, randomness, geometric arrangements, and Arduino communication.
Keep the language and editor references nearby while working on a sketch. These pages cover arrays, iteration, online editors, and a local Visual Studio Code setup.
- p5.js resourcesLearning paths, editors, references, and books.
- JavaScript arraysArray syntax, methods, learning material, and references.
- Iteration methodsMap, filter, reduce, find, and related patterns.
- Visual Studio Code for p5.jsSet up local sketch development.
Models and physical input Cameras, classifiers, and sensors Connect sketches to machine-learning models and the physical world. The notes include pose input, image classification, sensor calibration, and serial links.
Courses and publishing Projects and classroom material Move from individual sketches to project work. Course notes cover collaboration and language constructs; publishing notes cover reuse and licensing.