Divide And Conquer - Epson FX-80 User Manual

Hide thumbs Also See for FX-80:
Table of Contents

Advertisement

The density is better, but this time the figure is distorted. Mathemati-
cally inclined folks can adjust for this distortion by creating an ellipse
in the array (the horizontal compression creates a circle).
If
you pur-
sue this course, keep in mind that the FX has several graphics densities
available.
With figures this small, it is difficult to obtain a smooth curve. Fig-
ure 15-8, for instance, looks more like an octagon than a circle. The
solution is to draw larger circles.
Unfortunately, larger arrays gobble up memory. For example, an
array wide enough to stretch clear across the page (in Single Density)
would contain over 200,000 cells (480 x 480). Considering that each
cell takes up at least two bytes, there is not much hope of fitting the
entire thing in memory all at once.
So how can we squeeze more print out of your arrays? For non-
symmetric designs, you are pretty well stuck with the memory limita-
tion of two bytes per cell unless you are willing to resort to more
drastic measures. One such measure would be to let each bit of the
numbers stored in the array cells represent one graphics dot. This
would increase the storage ability but tremendously complicate the
programming.
For symmetric designs such as the circle, you can take advantage of
the symmetry to increase our output four-fold without increasing the
size of the array one iota. How? By using the array to plot one fourth
of the circle in memory, then copying the array to generate the other
three parts (Figure 15-9).
(
h
~
I
~
~
Figure 15·9. Divide and conquer.
176

Advertisement

Table of Contents
loading

Table of Contents