III. The Art Software
NEOchrome as the Chosen One
I chose to produce the artwork in NEOchrome, one of the simpler paint applications on the Atari ST.
NEOchrome was the first paint program developed for the Atari ST line of computers. Primitive as it is by today's standards, NEOchrome offered many features that were not common at the time. Today we would classify it as a bitmap graphics editor for "raster" or "bitmap" images, i.e. images made of pixels, as opposed to vector graphics, which are made of lines and curves.
Figure 20: NEOchrome on the Atari ST features many of the same tools as MacPaint, e.g. line and pencil tools, copy and paste tools, and a text tool. It also provides a powerful rastered color palette (middle) and basic animation tools. (Source: Marin Balabanov)
The Atari ST offered an overall palette of 512 colors. In its low-resolution mode of 320x200, however, only 16 of these colors could be displayed on-screen at the same time. The medium resolution of 640x200 allowed only four colors, and the high resolution of 640x400 only monochrome black and white. I decided to use the low-resolution mode with its 16 colors, because this was the standard maximum. That is quite a challenge, considering that the human eye can distinguish millions of colors.
NEOchrome was developed at the Atari Corporation as a tool to create graphics during the initial development of the Atari ST. It was written by Dave Staugas, a programmer at Atari and co-author of the ST's operating system. Early versions of NEOchrome introduced a nifty animation feature called color-cycling. Cycling through the colors in one part of the palette creates the look of limited animation.
NEOchrome adhered to some of the established user interface elements of Apple's MacPaint, which had been introduced in 1984 on the original Apple Macintosh. It bears a slight resemblance to MacPaint in its use of icons for the tools and of the mouse to draw with.
The user interface of NEOchrome provides many of the same tools as other paint applications of the time. You could draw freehand, draw lines and shapes, fill areas, copy and paste, and add rudimentary text. By today's standards, these are very pedestrian features. They had been established by MacPaint a year prior, and arguably by paint applications on 8-bit computers, like Koala Painter on the Apple II and Commodore 64. NEOchrome did deviate from the MacPaint paradigm in one key aspect. The tools area occupied the lower half of the screen and permanently showed a magnified view of the area at the tip of the drawing tool as it traversed the canvas (more on this below).
The advanced version, called NEOchrome Master, also allowed for simple page flip animation. It could rotate copied screen areas in small increments and play chiptune music in the background during a user's long drawing sessions.
The Zoomed View
It is important to remember that NEOchrome was a color paint program, and its image background was black by default, as opposed to the white canvas of MacPaint. In NEOchrome, you could only see the top half of the painting canvas, while the bottom half was occupied by the color palette and the tools. At first sight, this might seem like a big disadvantage considering the small screen, but the bottom part of the screen also provided two ingenious features.
Whenever the user moved the mouse cursor onto the painting canvas, a part of the bottom half of the screen turned into a magnifying glass that showed each pixel in the area of the cursor. This zoomed view updated in real time and followed the cursor wherever it went, so that the user could see at all times exactly which pixels they were working on.
Color Picker
Whenever the mouse cursor returned to the lower half of the screen, the magnifying area reverted to a palette of colors. This is where things get complicated. On a bare technical level, the original Atari ST can only display 16 colors on the screen simultaneously, out of an overall choice of 512. In NEOchrome, however, you can actually see many more colors and pick which hue to add to your palette from 195 colors that are displayed in 13 by 15 color boxes in the tools area. You can move the focus of the color selection field to show different colors from the full total of 512.
The extended NEOchrome Master
Atari Corporation distributed NEOchrome to Atari ST owners for free. This meant that Dave Staugas did not receive the royalties he would have earned from commercial sales, so he decided to stop developing the application. Staugas had hidden some of the features he was not yet satisfied with, particularly the animation feature, though he did leave a way for more adventurous users to enable it, bugs and all. In the meantime, many pixel artists had adopted NEOchrome as their favorite paint application because of its speed and the permanent on-screen zoom.
Around 1990, Till Bubeck of the German demo group Delta Force disassembled NEOchrome's binaries to get the source code. Even though he was working in unfamiliar code, he started extending its functionality. He reintroduced the hidden animation feature, added some more drawing tools, and improved the rotation feature to rotate objects in single-degree increments, as opposed to the previous 90-degree steps.
By then, the new Atari STE had been released with slightly extended capabilities. The new machine was still saddled with the 16-color limitation, but the overall number of available colors had been increased to 4096, which meant that color ramps and gradients were much smoother. Bubeck now adapted NEOchrome to take advantage of the STE's extended colors.
What do all the Bits mean?
The Atari ST and Atari STE used a Motorola 68000 central processing unit (CPU). This was generally described as a 16-bit processor. The machine's architecture was 16-bit, and the processor communicated with the memory and all other chips using 16-bit lanes. Internally, the Motorola 68000 had a 32-bit architecture. This meant that the general purpose registers were 32 bits wide and most arithmetic instructions supported 32-bit arithmetic. Potentially, a computer using a 68000 CPU could address a maximum of 16 megabytes of RAM, though in practice the Atari ST/STE could only be upgraded to 4 MB by default.
The CPU is not the only area where bits come into play. We have discussed the graphics limitation of 16 colors out of a total palette of 512. The Atari ST's display hardware had a Digital-to-Analog Converter that used 3 bits for each color. This means that eight levels could be displayed for each RGB channel (red, green, and blue), so the overall RGB palette of 512 colors had 9 bits. The STE models had a Digital-to-Analog Converter with 4 bits, i.e. sixteen levels per RGB channel. This made a 12-bit RGB palette with 4096 colors possible.
But enough about bits. Let's discuss the actual colors.
512 Colors vs. 4096 Colors
When Atari released the very first STE model of their line-up in 1989, it was a bit of a disappointment. The "E" in STE stood for enhanced. It was supposed to compete better with the Commodore Amiga and the advanced graphics and sound of Commodore's custom chips. The STE's enhancements were not sufficiently competitive, so they were not widely adopted by developers of games and other applications. While the regular ST had a palette of 512 colors with a limit of 16 colors on-screen at the same time, the enhanced STE had an overall palette of 4096 colors, which allowed for finer gradients and shading. Yet it was still limited to the same 16 colors on-screen at a resolution of 320 x 200 pixels. Compare that to the Commodore Amiga, which was released in 1985, four years before the enhanced Atari STE.
In the most common color graphics mode at 320 x 200, the Amiga could display 32 colors from its palette of 4096. Once you started to use the less standard modes, you could display 64 colors in "half-brite" mode, where the user defined 32 colors and the Amiga automatically provided the same colors at half their brightness. This might sound a bit cumbersome, because the user could not choose all 64 colors of the palette arbitrarily, but the half-brite colors could be used for much smoother shading.
Figure 21: The regular Atari ST's 9-bit color palette (left),
compared to the Commodore Amiga's 12-bit color palette
(right)
(Source:
https://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes
)
For static images, the Amiga provided the ultimate mode (not well suited for action games), called Hold and Modify (HAM). This effectively abolished all color limitations, and images on the home computer could use 4096 colors at the same time. Coupled with the washed-out video displays of the day, this came close to photorealism.
The Atari STE's "enhanced" graphics did not quite match the Commodore Amiga's features. You were limited to 16 colors out of an expanded palette. So what was the point of these graphics features, and did they matter to pixel artists?
The main difference between a palette of 4096 colors and one of 512 lies in the finer gradations between colors. The minimum "steps" in intensity that the enhanced STE's 4 bits per RGB channel allow for are smaller than those of the standard ST's 3 bits per RGB channel. The limit of 16 simultaneous colors is quite a constraint to work with, but a larger palette to choose from allows an artist to work with finer shading.
Tangent: Overcoming the Atari ST's 16 Color Limitation
Some of the more perceptive readers of this document might rightly ask: if the Atari ST can only display 16 colors on-screen at the same time, how can NEOchrome show 195 colors to pick from on the bottom half of the screen?
This is where palette-switching comes in. Dave Staugas, the developer of NEOchrome, used a software technique to get around these hardware limitations. While it is true that an Atari ST screen can display 16 paletted colors, Staugas took advantage of the way the screen builds an image. On a Cathode Ray Tube (CRT) monitor, the image is built line by line from top to bottom as the cathode ray traverses the width of the image. This happens so fast that a full screen is projected 50 times per second (in the European PAL TV standard) or 60 times per second (in the North American NTSC TV standard).
Staugas wrote the NEOchrome color palette to take advantage of the precise timing with which the individual scan lines display the full image. In the tools section, he switched the palette of the available 16 colors while the image was being built on the screen, every five or so pixels in the color picker section. Clever programming allowed him to overcome the hardware limitations of the Atari ST.
Figure 22: Illustration of the path of the electron beam on a CRT display (Source: Marin Balabanov)
Interrupts of the processor were occasionally used to swap out the 16 colors of the palette partway through drawing the screen. The most straightforward way was to do this at the start of every raster line, so that every line drawn on the screen had its own palette. Applications far more advanced than NEOchrome could change the palette in the middle of a line to achieve 48 colors per line. This method is much more computationally intensive and requires precise timing of the display hardware.
Alas, this programming trick was only used for the comfort of the user, who could select the right colors for their 16-color palette instead of putting each individual hue together from its RGB values. It did not mean that pixel artists could actually paint in more than 16 colors on the screen.
There were other paint programs that used the same advanced programming techniques to transcend the original limits of the ST's hardware and let pixel artists use as many of the Atari ST's 512 colors as possible in their pictures at the same time. The big disadvantage of these tricks is that the more colors you use beyond the limit, the slower the application becomes. The Atari ST's Motorola 68000 CPU needs to put in the extra work to switch palettes at every scanline, or even multiple times per scanline. The most famous paint applications to use the palette-switching trick were Antic Software's Spectrum 512 (1987), GFA Systemtechnik's GFA Artist (1987), and Eidersoft's Quantum Paint (1988).
For the purposes of this project, we will focus on the Atari ST's native limitation of 16 colors.
The Right 16 Color Palette
With the technical aspects of color on the Atari ST/STE out of the way, the next big decision was to select the right colors. The easiest method is to pick three main colors, e.g. blue for the sky, a skin color, and green for the forest backgrounds, and then simply create four or five shades (ramps) for each. If you account for white and black, this occupies all 16 colors.
I didn't want to use the easy method. It is limiting, and the resulting palette would lack the brown tones needed for the trees, as well as the grey tones needed for some of the other characters in the comic.
Putting together a versatile palette with only 16 or 32 colors has been the holy grail for many a pixel artist. Fortunately, the community at the pixel art platform Pixel Joint (pixeljoint.com) has been slowly chipping away at this problem over the decades. Community members have put together a number of strong and versatile palettes, but the general consensus is that the best 16-color palette is the work of the user DawnBringer. He has created three powerful palettes, one called DB8 with 8 colors, another with 16 colors called DB16, and DB32 with 32 colors that can be used on a Commodore Amiga. The palettes are available on GitHub for general use at github.com/geoffb/dawnbringer-palettes DB16 is particularly well suited for the Atari STE because it uses only 16 colors but requires the 4-bit palette of 4096 colors.
Figure 23: DawnBringer's DB16 color palette... yes, these are
only 16 colors!
(Source:
http://pixeljoint.com/forum/forum_posts.asp?TID=12795
)
DawnBringer's DB16 does not use straightforward ramps for each of the "main" colors. Instead, the colors cover a very wide range of hues, while some of them provide different intensities. This allows them to be combined with each other, depending on whether a specific object should be shaded from light to dark or from one hue to another without any change in brightness.
Let's look at an example. DB16 has three widely different tones of blue, three grey tones, a brown and a dark maroon, only two greens, a red, orange, a Caucasian skin tone, and yellow. The brightest color is not white, but a greenish off-white. The darkest color is not pure black but a near-black with a faint purple tinge to it. This smart selection of colors enables an artist to ramp from dark to light in different combinations. Instead of starting with a light green and grading through slightly darker shades to end up in a dark green and black, the artist can set the two green tones in the middle of the intensity range, use dark brown and the off-black for the darker gradients, and use yellow and the bright off-white for the lighter sections. The resulting ramps are admittedly limited and perhaps not extremely smooth, but they create the impression that there are many more colors available.
I chose to adopt DawnBringer's DB16 palette for the comic story.
Pixel Art Techniques
Before we jump into the actual creation process, I would like to describe two standard techniques in pixel art that I used for the comic art: dithering and anti-aliasing.
Dithering
Even with the expanded Atari STE color palette, the perceptible differences in intensity between tones are too great. Two related tones used for large adjacent areas will still look jarring, like two distinctly colored areas. Dithering individual pixels between the two areas makes them blend together better.
Figure 24: Dithering creates smoother gradients - left, as seen in the zoomed view of the interspersed pixels of alternating color - right. (Source: Marin Balabanov)
Where the two colors meet, the artist colors one pixel in the first color and the pixel next to it in the other. They then continue this chessboard effect all along the boundary between the colors.
Anti-aliasing
The low resolution of pixel art on the Atari ST creates jagged edges when drawing curves and circles, particularly when the contours contrast strongly with the background. These "jaggies" are called aliasing. They can be counteracted by adding pixels of intermediate colors between the jagged edge and the background.
Figure 25: Placing shaded pixels between areas of high contrast diminishes the jagged steps between pixels and slightly offsets the low resolution (Source: Marin Balabanov)
Combining Images to Single Page
As a true pixel art application, NEOchrome restricts the available canvas size to the screen size and resolution. This means that I can only paint in 320 x 200, which gives me a landscape canvas. The objective of the project is to produce five comic pages, and a regular printed page is in portrait format. I solved this by painting each half of the printed page as a separate screen in NEOchrome, so for each printed page I created two images at 320 x 200 each.
When I had completed all of the half-page images, I exported them in IFF format. Ironically, this is the Interchange File Format originally developed on the Atari ST's competitor, the Commodore Amiga. I needed it to preserve the expanded STE colors, which the standard ".NEO" format of NEOchrome does not support.
I then loaded the image halves into another piece of art software on the Atari ST called Invision Elite. There, I combined the image pairs into single pages of 320 x 400.