Creative Coding

Getting Started

Arranging Items

Tutorials on positioning shapes using loops and math, progressing from lines to circles to grids.

Techniques

Strategies and tools for developing and refining sketches.

Programming Concepts

Notes on JavaScript and p5.js language features used in creative coding.

Example Codes

Lecture Notes

Day 3.1 – Functions and Iteration

Introduction to functions and iteration patterns.

Day 3.2 – Arranging Items, sin and cos

Using trigonometry for circular and spiral arrangements.

Day 4.1 – Functions, Scope, Shadowing

Understanding variable scope and shadowing.

Day 4.2 – random(), sin(), and noise()

Adding variation and organic movement.

Day 5.1 – Objects

Introduction to JavaScript objects.

Day 5.2 – Classes && OOP

Object-oriented programming with classes.

Day 6.1 – Arrays

Working with arrays and collections.

Day 6.2 – Course Roadmap

Workflow tips and what’s next.