User Tools

Site Tools


notes:atari:book_dereatari:graphics_indirection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes:atari:book_dereatari:graphics_indirection [2016/09/15]
admin [Applications of Character Sets]
notes:atari:book_dereatari:graphics_indirection [2016/09/15] (current)
admin [Applications of Character Sets]
Line 131: Line 131:
 Going one step further, you can create graphics fonts. The ENERGY CZAR(tm) computer program uses a redefined character set for bar graphs. A character occupies eight pixels; this means that bar charts implemented with standard characters have a resolution of eight pixels, a rather poor resolution. ENERGY CZAR(tm) uses a special character set in which some of the less popular text symbols (ampersands,​ pound signs, and the like) have been replaced with special bar chart characters. One character is a one-pixel bar, another is a two-pixel bar, and so on to the full eight-pixel bar. The program can thus draw detailed bar charts with resolution of a single pixel. Figure 3-4 shows a typical display from this program. The mix of text with map graphics is only apparent; the entire display is constructed with characters. Going one step further, you can create graphics fonts. The ENERGY CZAR(tm) computer program uses a redefined character set for bar graphs. A character occupies eight pixels; this means that bar charts implemented with standard characters have a resolution of eight pixels, a rather poor resolution. ENERGY CZAR(tm) uses a special character set in which some of the less popular text symbols (ampersands,​ pound signs, and the like) have been replaced with special bar chart characters. One character is a one-pixel bar, another is a two-pixel bar, and so on to the full eight-pixel bar. The program can thus draw detailed bar charts with resolution of a single pixel. Figure 3-4 shows a typical display from this program. The mix of text with map graphics is only apparent; the entire display is constructed with characters.
  
-{{  Atari_Book_Fig3-4.PNG?​400}}+{{  Atari_Book_Fig3-4.PNG?​400 ​ }}
  
 Figure 3-4 ENERGY CZAR(tm) Bar Charts Figure 3-4 ENERGY CZAR(tm) Bar Charts
Line 139: Line 139:
 Figure 3-5 shows a display of a terrain map created with character set graphics. The reproduction in black and white does not do justice to the original display, which has up to 18 colors. Figure 3-5 shows a display of a terrain map created with character set graphics. The reproduction in black and white does not do justice to the original display, which has up to 18 colors.
  
-{{  Atari_Book_Fig3-5.PNG?​400}}+{{  Atari_Book_Fig3-5.PNG?​400 ​ }}
 Figure 3-5 Terrain Map With Character Set Graphics Figure 3-5 Terrain Map With Character Set Graphics
  
notes/atari/book_dereatari/graphics_indirection.txt ยท Last modified: 2016/09/15 by admin