← Snack Quests

Equation Art

Did you know? All computer pictures and images are math equations!

Draw pictures with math

Pictures on a screen are made of tiny dots. Numbers tell each dot what color to be. In this game, you pick the numbers!

A graph is a grid, like a map made for dots. Every spot on the grid has an address with two numbers. The first number is x, and it tells you how far to go across. The second number is y, and it tells you how far to go up. Go across 3 and up 2, and you’ve found the spot at x = 3, y = 2.

A rule can connect x and y. The computer follows your rule and draws a dot at every spot where it works. Change one number and watch the whole picture change!

What does “works” mean?

It means the spot fits the rule. Take y = x + 1: if x is 2, then y is 3. So the point (2, 3) makes the rule true, and the computer puts a dot there. It checks thousands of points, and all the dots join up into a line or a curve.

Then go one giant step further: give every single pixel its own Red, Green and Blue equation, and you can paint swirling galaxies and glowing sunsets with nothing but math!

Drawing with graphs

    Color mixer: how RGB numbers work

    Every color on a screen is three numbers from 0 to 255: how bright the tiny red, green and blue lights are. Slide them, tap a color, and watch the numbers change.

    Painting with math (RGB)

      Math in motion

      These pictures move by themselves. Each one uses the word time, which counts the seconds, so the numbers keep changing and the picture keeps changing with them: waves roll, wings flap, a jellyfish pulses and a galaxy turns.

        Waves and the Fourier Transform

        Every sound you hear, from a bird song to your favorite song, is made of simple waves added together. The Fourier Transform is the math that takes a wave apart and finds every simple wave hiding inside, like a prism splitting light into a rainbow.

        These lessons build up to it one small step at a time: what sound is, circles that make waves, a machine that winds a wave around a circle to unmix it, and then the math, from imaginary numbers to the formula itself. After that: heat flowing along a rod, drawing any shape with spinning arrows, how computers listen, and how photos are made of waves too. Every lesson has Go deeper boxes when you’re ready for more.