Back to posts

My Creative Coding Journey

How I went from static HTML to interactive generative art, and what I learned along the way.

· 2 min read

I never thought of myself as creative. I could write a backend service or optimize a database query, but ask me to make something beautiful and I froze. Then I discovered creative coding, and it changed how I think about programming entirely.

This is the story of that shift, and what I wish I had known on day one.

The blank canvas problem

My first attempt at generative art was a disaster. I opened an HTML file, added a <canvas> tag, and wrote a loop that drew random circles. It looked like static on an old television. I closed the tab and did not open it again for two weeks.

The problem was not my code — it was my expectations. I was trying to make a masterpiece before I understood the medium.

Constraints breed creativity

Things clicked when I started imposing constraints on myself. One color. One shape. One rule for how it moves. Suddenly the infinite possibilities of a blank canvas became manageable, and the results actually looked intentional.

Constraints are not limitations. They are the thing that makes the work interesting.

Math is just a tool, not a gatekeeper

You do not need a mathematics degree to make generative art. Sine waves, noise functions, and linear interpolation are just tools — like a brush or a chisel. Learn them as you need them, not before you start.

The best creative code I have written used nothing more than addition, multiplication, and a little trigonometry.

Share the ugly stuff

I used to hide my early experiments because they were rough. Now I post them anyway. Someone else sees the rough sketch and realizes they can start too, and that is the whole point.

Your first hundred sketches will be bad. Make them public anyway.

What comes next

I am exploring how generative art can live on the web in ways that feel native — not like a video embedded in a page, but like part of the page itself. Interactive backgrounds, generative typography, layouts that breathe.

If that sounds interesting, follow along. There is more to come.

Published September 20, 2026