home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / GR / GR066.ZIP / QUILT.DOC < prev    next >
Text File  |  1992-03-30  |  15KB  |  316 lines

  1. QUILT.DOC  -- Instructions for using the QUILT program    Rev: 24 Oct 1991 
  2.  
  3. Copyright 1990,1991 Steve Estvanik        All Rights Reserved
  4.  
  5. 1. INTRODUCTION
  6. 2. GETTING STARTED 
  7. 3. CHANGING SETTINGS
  8. 4. DETAILS 
  9. 5. REQUIREMENTS
  10. 6. SHAREWARE & THE ASP
  11.  
  12. 1. INTRODUCTION
  13. ===============
  14.  
  15. QUILT uses half square triangles to form fascinating and intricately 
  16. changing patterns on your screen.  (A half square triangle is just a square 
  17. with a diagonal line dividing it equally in two.  Another common type of 
  18. quilting element is the quarter square triangle). There are 4 basic 
  19. 'elements' possible: 2 squares with diagonals moving NW and NE, each of 
  20. which can have the 'top' or 'bottom' colored.                                  
  21.  
  22.         NW┌───────┐    ┌───────┐    ┌───────┐    ┌───────┐NE   
  23.           │#\     │    │     /#│    │ \#####│    │#####/ │     
  24.           │###\   │    │   /###│    │   \###│    │###/   │    
  25.           │#####\ │    │ /#####│    │     \#│    │#/     │     
  26.           └───────┘    └───────┘    └───────┘    └───────┘
  27.              0             1            2            3     
  28.  
  29. Two by two groupings of these elements form blocks. These blocks are then 
  30. manipulated in various ways (Section 2).  Later you can experiment (Section 
  31. 3) with different colors, palettes and widths. 
  32.  
  33. These are sometimes called Douat tiles.  A French monk named Dominique Douat 
  34. first published illustrations of designs using these elements in the 1700's.  
  35. I first found them explained and illustrated in a quilting design book by 
  36. Barbara Johannah ("Half Square Triangles: Exploring Design", published by 
  37. the author, PO Box 396, Navarro CA 95463).  
  38.  
  39. I've taken the basic 2 color system and expanded it for the EGA/VGA system.  
  40. For variety, you can use up to 4 colors for the dark areas, using an 
  41. additional 4 colors for the 'background'. While there are potentially 8 
  42. different colors, the more pleasing arrangements usually contain similar or 
  43. repeated colors.  Many interesting combinations occur when you set all the 
  44. background colors to the same value.  Or, create squares, by setting the 
  45. foreground and background colors to the same value.  (This is particularly 
  46. effective with smaller widths).
  47.  
  48. 2. GETTING STARTED (PATTERNS)
  49. ==============================
  50.  
  51. QUILT runs on IBM PC's and requires an EGA or VGA card.
  52.  
  53. The simplest way to run this program is as a screen saver.  Type:
  54.  
  55.       QUILT -SS   
  56.  
  57. to start the program.  A random pattern will appear.  Patterns will continue 
  58. to change until you press another key.  You can leave this program running 
  59. on your machine without worrying about burning in a pattern.  You can also 
  60. add this to a batch file such as your autoexec.bat file.  The file SAVER.BAT 
  61. shows how this can be done.
  62.  
  63. Type 'QUILT' to start the program.  The title screen appears and waits for 
  64. you to press any key.  he main menu then presents 2 basic types of commands: 
  65. patterns and settings. This section describes the patterns you can create 
  66. immediately.  Section 3 shows how to change the settings to achieve varied 
  67. colors, palettes and sizes.  Press the first letter of the function you 
  68. want.  When entering numbers, type the number, then press <enter>. 
  69.  
  70. DISPLAY ALL PATTERNS
  71. --------------------
  72. This option shows all 256 patterns available.  Depending on the colors you 
  73. have selected, you might want to see what the underlying patterns are, or 
  74. how your color selection changes the perceived patterns.  To use your 
  75. current colors, just press <enter>.  To see the basic patterns, enter any 
  76. number from 1 to 15. 
  77.  
  78. SEQUENCE
  79. ---------
  80. There are 256 possible combinations of the 4 elemental shapes described 
  81. above. This feature starts anywhere in that sequence, and cycles thru the 
  82. patterns.  The patterns are each held for a short time.  This creates an 
  83. excellent demo or wallpaper mode.  Later you can try varying color 
  84. arrangements, perhaps starting with some of the suggestions below. (See 
  85. Colors in section 3).  The number of each pattern is displayed so that you 
  86. can note particularly interesting ones for later explorations. 
  87.  
  88. INDIVIDUAL 
  89. ----------
  90. Enter the number of the pattern you want to see, then press <enter>.  The 
  91. requested pattern will be displayed and held until you press another key. 
  92.  
  93. ROTATE
  94. -------
  95. Select a pattern, and the basic gang of 4 rotates around its axis.  This 
  96. rotation swings the pattern through a 90 degree arc while anchoring one 
  97. corner.  Since each corner can be anchored, there are 4 possible rotations.  
  98. These are shown, and the program waits for you to hit a key.  You can then 
  99. select a particular one or press <enter> to start a cycle that shows all 4.  
  100. In the cycle, each will be displayed for a short time. (See section 4 for 
  101. more details on the geometry of rotations.) 
  102.  
  103. Some examples to look at using the default color setup:
  104.       Rotate 34, 194, 96
  105.  
  106. FLIP 
  107. -----
  108. This option is similar to Rotate, except an edge of the pattern is anchored, 
  109. and the pattern is raised out of the plane of the screen, and flipped over 
  110. to the next quadrant.  Again, each of the four edges can be anchored, so 
  111. there there are potentially 4 variations created.  Some very symmetrical 
  112. patterns can result in fewer, or even just 1 group. 
  113.  
  114. The easiest way to see how both rotate and flip work is by setting all the 
  115. colors to the same color, and using 0 as the background color.
  116.  
  117. Some examples to look at using the default color setup:
  118.       Flip 71, 75
  119.  
  120.  
  121. 3. CHANGING SETTINGS
  122. ====================
  123. WIDTH:
  124. ------
  125. This lets you change the width in pixels of the basic element.  You can use 
  126. any value between 8 and 90 for VGA, between 8 & 85 for EGA.  
  127.  
  128. Try widths of 8, 14, 20, 30, 50, 90 to see how the patterns appearance 
  129. changes with width.  In each case, the program uses as much of the screen as 
  130. it can, while using whole blocks.
  131.  
  132. COLORS:
  133. ------
  134. The current palette is displayed, and you can then choose which colors you 
  135. want to use.  Current settings are shown and you can enter new values, or 
  136. press <CR> to keep the current color.   
  137.  
  138. Some interesting examples to get you started (in these examples, the 
  139. background is kept to one color that appears after the slash '/'): 
  140.  
  141.       14 15 2 14 / 7  then try Rotation 119
  142.  
  143.       12 4 15 4 /7 R194, 196
  144.  
  145.       7 7 8 8 / 4  then check Individual  141 (also set width to 90)
  146.                                          I 148, then rotate 148
  147.  
  148.       1 9 5 13 /3 R35,41
  149.  
  150.       4 8 8 0 /1   R110,201,213
  151.  
  152.       15 13 15 7 / 5   R217
  153.  
  154.       1 9 8 1 / 15   R 106  108
  155.  
  156.       6 6 8 5 /13  R136
  157.  
  158.       0 0 8 9 /4 R141
  159.  
  160.  
  161. PALETTE:
  162. --------
  163. You can create custom palettes consisting of 16 colors chosen from the 64 
  164. available.  Colors 0 and 15 are held constant, since the program relies on 
  165. these having predictable values.  You can create palettes using any of the 
  166. 64 colors in the other 14 spots available. 
  167.  
  168. You are first shown your current palette.  Note that the default palette 
  169. does not use values 0-15.  Instead, it holds a selection of interesting 
  170. colors from the total available.  To change the current palette, press 
  171. <enter> to cycle thru the 64 available colors, displayed 16 at a time.  When 
  172. you see a color you want to capture, press 'S', then enter the number of 
  173. that color.  The current palette will reappear, and you can enter the 
  174. position where you want to store that color.  The updated palette will be 
  175. shown.  When you press another key, you will return to the portion of the 
  176. total color set where you were before. 
  177.  
  178. When you are satisfied with the new palette, press 'Q' to end the selection 
  179. process. 
  180.                 
  181. If you find particularly pretty or unusual patterns or combinations, please 
  182. send them along so I can include them in the next version.  
  183.  
  184. VGA/EGA toggle.
  185. ---------------
  186. QUILT automatically detects if you have an EGA or VGA board installed.  For 
  187. the curious, this toggle lets you see what the design would look like in EGA 
  188. rather than VGA.  Not all VGA boards however, support EGA, so this function 
  189. is not guaranteed to work on all systems.  If it doesn't you might have to 
  190. reboot to leave the program.  
  191.  
  192. 4. DETAILS
  193. ===========
  194. The easiest way to see how both rotate and flip work is by setting all the 
  195. colors to the same color, and using 0 as the background color.  The 
  196. following sections show these progressions in more details.  You can skip 
  197. these sections and still enjoy the program.
  198.  
  199. 4.1 Rotate algorithm
  200. --------------------
  201. Rotation is performed by swinging the pattern through a 90 degree arc 
  202. while anchoring one corner.  Since each corner can be used as the anchor, 
  203. there are 4 possible rotations.  For example, starting in the upper left 
  204. quadrant, the block is rotated around element C.  It stays in the innermost 
  205. area, but the surrounding elements end up in different positions in the 
  206. upper right block.  In addition, all the elements themselves have changed.  
  207. Any elements that were originally 3's now are 2's (see diagram above).  
  208. Similarly 2 --> 1, 1 --> 0 and 0 --> 3.  
  209.  
  210.    ┌───┬───┬───────┐           ┌───┬───┬───────┐         ┌───┬───┬───────┐
  211.    │ A │ B │       │           │ A │ B │ D │ A │         │ A │ B │ D │ A │
  212.    ├───┼───┤       │           ├───┼───┼───┼───┤         ├───┼───┼───┼───┤
  213.    │ D │ C │       │  ------>  │ D │ C │ C │ B │ ----->  │ D │ C │ C │ B │
  214.    ├───┴───┘       │           ├───┴───┴───┴───┤         ├───┼───┼───┼───┤
  215.    │               │           │               │         │ B │ C │ C │ D │ 
  216.    │               │           │               │         ├───┼───┼───┼───┤ 
  217.    │               │           │               │         │ A │ D │ B │ A │ 
  218.    └───────────────┘           └───────────────┘         └───┴───┴───┴───┘ 
  219.                                                                            
  220. When we anchor another corner, it will stay in the center, and the 4 
  221. groupings of elements will be arranged differently.
  222.  
  223.  
  224. 4.2 Flip algorithm
  225. --------------------
  226. For flips, an edge of the pattern is anchored, and the pattern is raised out 
  227. of the plane of the screen, and flipped over to the next quadrant.  This 
  228. gives similar but different patterns from the rotations.   Again, the 
  229. movement causes both a relative change of position and a change to a 
  230. different type of element.  In this case, though, the direction of the flip 
  231. is important.  If the flip is left to right, then element 3 and 2 are 
  232. swapped, and elements 0 and 1.  When the flip is up and down, then elements 
  233. 0 and 3 are paired, and so are 1 and 2.  If you're interested in working 
  234. through these changes, the easiest way to visualize it is to draw the actual 
  235. patterns on a pieces of paper and flip or rotate it, or study the groupings 
  236. that are shown in the program itself when you request one of these 
  237. functions.  Use single colors for all foregrounds, to make it easier to see 
  238. what's happening. 
  239.  
  240.    ┌───┬───┬───────┐           ┌───┬───┬───────┐         ┌───┬───┬───────┐
  241.    │ A │ B │       │           │ A │ B │ B │ A │         │ A │ B │ B │ A │
  242.    ├───┼───┤       │           ├───┼───┼───┼───┤         ├───┼───┼───┼───┤
  243.    │ D │ C │       │  ------>  │ D │ C │ C │ D │ ----->  │ D │ C │ C │ D │
  244.    ├───┴───┘       │           ├───┴───┴───┴───┤         ├───┼───┼───┼───┤
  245.    │               │           │               │         │ D │ C │ C │ D │ 
  246.    │               │           │               │         ├───┼───┼───┼───┤ 
  247.    │               │           │               │         │ A │ B │ B │ A │ 
  248.    └───────────────┘           └───────────────┘         └───┴───┴───┴───┘ 
  249.  
  250. Note, too, that each flip does contain 2 groupings that are identical to its 
  251. rotated cousin.  In this case, starting with the group in the upper left 
  252. quadrant, it contains the same positioning as the rotated version in the 
  253. upper left and lower right quadrants.
  254.                                                                            
  255. 4.3 Designing quilts 
  256. --------------------
  257.  
  258. While the major emphasis of the program is on the displaying intriguing 
  259. computer diversions and patterns, it can also be used to assist in the 
  260. design of quilts themselves.  Use the larger widths unless you have an 
  261. extraordinary amount of time available.  Somewhere between 50 and 90 should 
  262. be best.  Even at 90, the patterns can be striking.  When you find an 
  263. appealing pattern, note the colors, and the basic design -- use the 4 
  264. elements in the uppermost block, then, if using a rotate or flip version, 
  265. copy the grouping you decide is best.  This can become your basic template. 
  266.  
  267. The best feature of QUILT is that it lets you examine hundreds, even 
  268. thousands of possibilities before making any commitments in cutting patterns 
  269. or buying materials.  You can try out many different color patterns, design 
  270. ideas or variations.  
  271.  
  272. 5. REQUIREMENTS 
  273. ===============
  274.        
  275. QUILT is optimized for use with a VGA color board and but will also work 
  276. well with EGA screens.  It is fully menu-driven. 
  277.  
  278. 6. SHAREWARE & THE ASP
  279. ======================
  280. Shareware is a means of distributing software.  Under the shareware concept, 
  281. software may be freely copied and passed along to others, or distributed 
  282. through bulletin board systems or national networks. 
  283.  
  284. As a recipient of a shareware program, you may use the software for a short 
  285. trial period to determine if it meets your needs.  If the software is not 
  286. suitable, then you can discard it. If you decide to use it, you must pay by 
  287. registering.  When you register a Cascoly shareware program, you receive: 
  288.  
  289.       * A copy of the latest version of the program
  290.       * A bonus of any other Cascoly program of equal or lesser value
  291.             (see REGISTER.FRM for details)
  292.       * A free introductory account on CompuServe including a private User 
  293.         ID number and password, $15 introductory usage credit, and a 
  294.         complimentary subscription to CompuServe Magazine, - a $30 value! 
  295.       * A minimum of 90 days online support via CompuServe or by
  296.         telephone.  Support by mail is also available, if accompanied
  297.         by a SASE.
  298.       * With some programs, you will also receive bonus maps, datasets
  299.         or puzzles.
  300.  
  301. To register a program, enter the following command:
  302.  
  303.       COPY REGISTER.FRM LPT1:
  304.  
  305. and the order form will be copied to your printer.  Check off the program 
  306. you wish to register, and check the program you wish to receive as a bonus.
  307.  
  308. Cascoly Software is a member of the Association of Shareware Professionals 
  309. (ASP).  ASP wants to make sure that the shareware principle works for you. 
  310. If you are unable to resolve a shareware-related problem with an ASP member 
  311. by contacting the member directly, ASP may be able to help. The ASP 
  312. Ombudsman can help you resolve a dispute or problem with an ASP member, but 
  313. does not provide technical support for members' products. You can contact 
  314. the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006 or send a Compuserve 
  315. message via easyplex to ASP Ombudsman 70007,3536 
  316.