On this page:
Design By Numbers
7.0

Design By Numbers

Jeff Edgington <[email protected]>
and Chris GauthierDickey <[email protected]>

Design by Numbers is a language created by John Maeda for the purpose teaching artists how to program. It was the predecessor to Processing which was created by his students and is no longer developed. This version was created to allow examples from his book and those floating around to still be used.

The language itself has a simple syntax and grammar with a few basic concepts. All code draws to and reads from a simple 100x100 canvas, called the paper and colors are only in greyscale. Different commands allow you to draw lines, points, branch and create loops. In addition, the language has procedures (which do not return a value) and functions.

    1 Language Reference

      1.1 Paper

      1.2 Pen

      1.3 Set

      1.4 Line

      1.5 Repeat

      1.6 Forever

      1.7 Same?

      1.8 Not Same?

      1.9 Smaller?

      1.10 Not Smaller?

      1.11 Command

      1.12 Number

      1.13 Value

      1.14 Load

      1.15 Antialias

      1.16 Time

      1.17 Mouse

      1.18 Key

    2 Description of Errors

    3 Language Guide

      3.1 Syntax

      3.2 Statements

      3.3 Definitions

      3.4 Expressions

      3.5 Color