Learn to Code with Bloom

Make art with code. No experience needed — we'll teach you everything from scratch.

Never coded before? Perfect! This tutorial assumes zero programming experience. We'll explain every concept as we go.
fn setup() { size(400, 220) } fn draw() { background(rgb(250, 248, 245)) // Draw colorful circles fill(coral) circle(100, 110, 60) fill(rgb(100, 180, 250)) circle(200, 110, 60) fill(rgb(140, 200, 100)) circle(300, 110, 60) }

You'll create things like this in the first 5 minutes.

What is Bloom?

Bloom is a programming language made for creative coding. Instead of building websites or apps, you'll make art, animations, and games.

Why start with Bloom?

How it works

Every Bloom program has two special parts:

setup()

Runs once when your program starts. Use it to set the canvas size.

draw()

Runs 60 times per second. This is where you draw things and make animations.

Try moving your mouse over this canvas:

fn setup() { size(400, 200) } fn draw() { background(white) fill(coral) circle(mouseX, mouseY, 40) }

The circle follows your mouse because draw() runs over and over, redrawing the circle at your mouse position each time.

Tutorial Chapters

Work through these in order. Each chapter builds on the previous one.

Ready?

Let's start making art.

Start Chapter 1

Already know the basics? Check the Function Reference for all available functions, or explore the How It Works deep-dive.