home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / virus / ddj0491.zip / OLIVER.ZIP / CUMULUS.H < prev    next >
Text File  |  1991-01-23  |  2KB  |  44 lines

  1. /*   CUMULUS.H--- Header file for cumulus cloud template */
  2.  
  3. #define NPOINTS 7    /* Number of points on the "parent" polygon */
  4. #define NTRANS  6    /* Number of transformed "children" */
  5. #define NLEVELS 5    /* Number of levels to draw */
  6. #define COUNT 10000  /* Number of dots to paint */
  7. #define CENTERX 320  /* Center of the screen */
  8. #define CENTERY 240
  9. #define SEEDX 23,17,-4,-10,-27,7,44  /* The "parent" polygon */
  10. #define SEEDY 0,55,55,0,9,-66,10
  11.  
  12. /* The tranformations which define the "children" */
  13. #define MOVEX   85,-94,-3,51.5,-49,0  /* Displacement */
  14. #define MOVEY   15,13,3.5,-35,-40,40
  15. #define SIZEX   .36,.4,.53,.48,.4,.87    /* Size change */
  16. #define SIZEY   .36,.47,.53,.53,.4,.33
  17. #define SPINX   .25,6,6.2,0.15,6.2,0    /* Rotation */
  18. #define SPINY   .25,6,6.2,0.15,6.2,6.3
  19.  
  20. /* The following color definitions are ignored by the SIERP program
  21.    and used only by FRACDRAW.
  22.    PALETTE defines the 16-color VGA palette
  23.    COLOR intializes a two-dimensional array with color values:
  24.    each column in the array definition below corresponds to one level
  25.    of detail, and each row corresponds to a "part", or transformation.
  26.    Note that the array only needs to be 6 by 3 for the template defined
  27.    above, but more rows are included in case the user inserts additional
  28.    "parts".
  29. */
  30. #define PALETTE {_BLACK, _RED, _GREEN, _CYAN, \
  31.         _BLUE, _MAGENTA, _BROWN, _WHITE, \
  32.         _GRAY, _LIGHTBLUE, _LIGHTGREEN, _LIGHTCYAN, \
  33.         _LIGHTRED, _LIGHTMAGENTA, _LIGHTYELLOW, _BRIGHTWHITE}
  34.  
  35. #define COLOR {{15,15,15, 7, 8},\
  36.                {15,15,15,15,15},\
  37.                {15,15,15,15,15},\
  38.                {15,15,15,15,15},\
  39.                {15,15,15,15,15},\
  40.                {15,15,15,15,15},\
  41.                {15,15,15,15,15},\
  42.                {15,15,15,15,15},\
  43.                {15,15,15,15,15}}
  44.