Creative Coding: How Programmers Use Code as a Canvas to Make Art

Creative coding is a practice that predates modern AI tools, rooted in generative art and computational design movements from the last century. Unlike AI-generated art, it involves writing code line by line to produce visual output, treating the screen as a canvas and code as a brush. Tools like Processing, created in 2001 and based on Java, and its JavaScript counterpart p5.js, were built to make this accessible to artists, designers, and non-programmers alike. Both tools share a simple structure built around two core functions: setup(), which runs once to configure the canvas, and draw(), an infinite loop that enables animations and interactive visuals. The approach encourages programming as a creative hobby or playground, not just a professional skill.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in