
An Introduction to DBN by John Maeda DBN is a simple language designed to introduce the most basic ideas of computer programming in the context of drawing. Each command in the DBN language is qualified with some number that is generally between the range of 0 to 100. In the case of the first command 'Paper', by running the program 'Paper 50' you get a 50% black paper (gray); 'Paper 100' will be 100% black (complete black). The second command to learn is 'Pen', again using a number to specify the percentage of black, 'Pen 50' implies a gray pen, 'Pen 0' implies a white pen. The third command to learn is 'Line'. A line is specified by four numbers. The first two numbers are the horizontal and vertical dimension of the first point; the second two numbers are likewise the horizontal and vertical dimension of the second point. A line from the lower left corner (0 0) to upper right corner (100 100) would be 'Line 0 0 100 100'. To review, the following 3 line program draws a black line on a white paper:
Drawing more lines implies simply using the Line command more often, such as in a square:
There are more complex expressions possible, which I describe in better detail in the book 'Design By Numbers' from MIT Press. For now, try out:


Design By Numbers
is Copyright 19992001, Massachusetts Institute of Technology. 