Ivan Sutherland’s 1963 Sketchpad Stored Rules, Not Just Lines. Change the Master, and Every Instance Follows.

Ivan Sutherland smiling in a 2008 portrait at the Computer History Museum, set against a dark background.


In early December 1961, Claude Shannon asked for a sheet of paper, and the request led his doctoral student Ivan Sutherland to rethink Sketchpad, the light-pen drawing program that by 1963 stored the rules of a drawing, not just its lines.

Shannon had come to see an early version of the program on the TX-2 computer at Lincoln Laboratory, part of the Massachusetts Institute of Technology (MIT). He wanted the paper to sketch a drawing he intended to enter into the computer. When Shannon made that request, Sutherland later wrote in his thesis, he realized that imitating the conventional tools of drafting was not enough for computer drawing. “As a result of that visit,” he wrote, “the entire effort took new form.”

His first version, working in early November 1961, did what drafting tools do. Lines could be drawn parallel or perpendicular to existing lines, but they “carried no permanent trace of the relationship other than the accident of their position.” In effect, Sutherland wrote, it provided the T-square and triangle of conventional drafting. Sketchpad, as he finished it, kept the relationship, and that shift is what makes a 1963 thesis worth reading for programmers today.

A big computer that one person could talk to

Most interaction with computers, Sutherland wrote, had been slowed down by the need to reduce everything to statements that could be typed: “in the past, we have been writing letters to rather than conferring with our computers.” Sketchpad was meant to let a person and a computer converse in line drawings.

Sutherland could attempt this because of TX-2, an experimental computer at Lincoln Laboratory. It had a 70,000-word memory, a display that could put a spot at “slightly more than a million” positions, and a generous supply of toggle switches, knobs and push buttons. It also had a light pen: a light sensor in a housing about the size of a fountain pen, which the program could track as the user pointed at the screen.

In April 1961 Sutherland had proposed the project to Wesley Clark, then in charge of computer applications in the laboratory’s Group 51. Clark, Sutherland recalled in a 2017 oral history, treated TX-2 “as a window into the future of what computing might be if everybody had one of his own.” Lincoln Laboratory gave Sutherland about 600 hours on the machine.

Sketchpad made drawings obey rules

In the finished system, a user pointed at lines with the light pen and pressed a button to make them, for example, parallel or equal in length. Sketchpad stored that rule as a constraint and kept enforcing it. It also stored how the parts of a drawing were connected: move one corner of a polygon and both adjacent sides moved with it; move a symbol and the lines attached to it followed.

Each type of constraint was defined by a subroutine that computed how far the drawing was from satisfying it. Sutherland treated the square of that error as an “energy” and reduced it step by step, a numerical method called relaxation.

Getting there was not smooth. Some of his first calculations added “energy” instead of removing it, which made constraint solving unstable until, in early summer 1962, he defined each constraint type by the error it introduced. That change cured the instability and made the system easy to extend: adding a new kind of rule meant writing one subroutine that returned an error. The set of basic constraint types grew from five to seventeen “in a period of about two days.”

Change the master, and every instance changes

Sketchpad also separated a drawing’s definition from its uses. A user could draw a master drawing once and place instances of it throughout a picture, even instances inside other instances. “Any change in the definition of a symbol is at once seen wherever that symbol appears,” Sutherland wrote.

In the thesis, a pattern of hexagons took less than five minutes to build. Change the master hexagon into a semicircle, and a pattern of fish scales “instantly results.” In an electrical drawing, every transistor symbol could come from one master, so a change to it “appears at once in all transistor symbols without further effort.” The feature had bugs, too: one that stood out in Sutherland’s mind was that instances within instances rotated the wrong way when the outer one was rotated.

A drawing could also compute. Sutherland’s six-bay truss bridge took less than ten minutes to draw. With a load applied and supports attached, Sketchpad showed the forces in each member, and new force values took about 30 seconds to compute.

Sketchpad was not the first, and Sutherland was not alone

Sketchpad is often summed up as the first graphical interface. Wikipedia’s article calls it “the earliest program ever to use a complete graphical user interface.” Sutherland’s own account is more crowded. Herschel Loomis had done preliminary drawing work on TX-2 in the summer of 1960 and showed it to Sutherland in May 1961. Before Sutherland’s first version worked, Welden Clark of Bolt, Beranek and Newman demonstrated “a similar program” to him on a PDP-1 computer.

Others helped build it. Leonard Hantman, a Lincoln Laboratory staff programmer, added “innumerable service functions.” Sutherland learned the least-squares method he used for constraints from Lester Earnest of the MITRE Corporation, and got from Lawrence Roberts a macro that did the arithmetic. Sketchpad took three versions: a first program in November 1961, a second filmed by Memorial Day 1962, and “an entirely new system” begun on June 9, 1962, which became the one in the thesis Sutherland submitted to MIT in January 1963.

In their preface to the 2003 electronic edition of the thesis, Alan Blackwell and Kerry Rodden of the University of Cambridge chose more careful words: Sketchpad was “one of the first graphical user interfaces,” and its light pen was the “predecessor of the mouse.” Computer-aided design had other origins, too: General Motors and IBM were building DAC-1, a car-design system, in the same years.

What Sketchpad left behind

In 1988 Sutherland received the Association for Computing Machinery’s Turing Award for contributions to computer graphics “starting with Sketchpad.” Alan Kay was handed the thesis as a new graduate student at the University of Utah in 1966 and later led the work on Smalltalk. In his history of Smalltalk, Kay linked Sketchpad to Simula, an early object-oriented programming language: “What Sketchpad called masters and instances, Simula called activities and processes.”

Blackwell and Rodden note that Sketchpad’s class and instance-based inheritance “predated Simula by several years,” though its instances were not called objects. Designers of Xerox’s Star workstation wrote in a 1989 retrospective that “Sketchpad influenced Star’s user interface as a whole.”

None of that makes Sketchpad the single cause of today’s interfaces; many people carried these ideas forward and changed them. What the thesis shows clearly is a new idea of what a drawing is: not marks on a surface, but parts, rules and instances that a program keeps true.

The first version copied the T-square. The version that mattered stored what a T-square never could: why a line was where it was. That is still a useful test for anyone moving work onto a computer. Are you reproducing the old tool, or storing the relationships the old tool could only imply?

Related stories

Sources

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *