-------------------------------------------------------------------- OGAF Simulation Programs DEVEL NOTES Last updated: 7/30/96 Macintosh Version -------------------------------------------------------------------- For details of the OGAF program and software executables, see the WWW pages at: http://polymer.bu.edu/ The OGAF project is implemented on Macintoshes and PCs in the high school. This WWW/ftp arhive contains the most up-to-date versions of the programs. -------------------------------------------------------------------- -rw-r----- 1 root 75685 Jun 26 11:58 ManyWalkers2.0a5.sit.hqx june 26 upgrade to a5. (May 3: Upgraded to alpha V4). The walkers no longer stop when one reaches the "edge." They just keep going, and the display and histogram are clipped as necessary. In order to avoid crashing from integer overflow if the program is run overnight, it stops after the 25,000th step. If there is any reason that one might actually want to run this long or longer, let me know and I can change the code to use 32-bit numbers. The splash window now shows the new Web page. Also, clicking outside the splash window now works correctly (same as if the user had clicked inside it). The code for the graph window has been changed so that it won't get sluggish when the number of steps becomes large. Also, the labelling of the axes was previously not proportioned correctly to the data; this has been fixed. The display when nothing is selected in the Table window now says "None selected" rather than a "None" in each column. The Help window now scrolls properly. -rw-r----- 1 root 164869 Jun 13 15:28 Blaze3.0b12.sit.hqx b12: I've uploaded Blaze 3.0b12 and Diffusion Chamber 2.0b7 to the Incoming area. These are both now "fat" applications, meaning that they will run in native mode on a Power PC and as 68K applications on a 68K machine. Diffusion Chamber also has some slightly improved memory handling, and attempts to use temporary memory if it can't get enough memory from its own heap. This should result in fewer "not enough memory" messages. Also note that both of these are now beta versions. a11: I've uploaded a new version of Blaze. Blaze 3.0a11.sit has *two* applications in it, one for the 68K Mac and one for the PowerPC. I strongly urge the use of seat belts when trying out the PowerPC version -- it earns the name "Blaze"! Blaze 3.0a11 can be run on an Mac, though it won't be as fast. Blaze 3.0a11(PPC) can only be run on a Power Mac. There's an additional step for creating a Fat Binary application which includes both sets of code; so far I haven't experimented with creating one. a10: A problem with the Powerbook Control Strip was fixed. The burned forest can now be copied to the clipboard. A minor memory leak was fixed. Problem with the system 6 splash screen fixed. PICT resources optimized to decrease appl. size. (a9) -rw-r----- 1 root 98621 Jun 13 15:29 Diffusion2.0b7.sit.hqx b7: I've uploaded Blaze 3.0b12 and Diffusion Chamber 2.0b7 to the Incoming area. These are both now "fat" applications, meaning that they will run in native mode on a Power PC and as 68K applications on a 68K machine. Diffusion Chamber also has some slightly improved memory handling, and attempts to use temporary memory if it can't get enough memory from its own heap. This should result in fewer "not enough memory" messages. Also note that both of these are now beta versions. a6: Various display problems with 1/8 size particles have been fixed. a3: Rounder numbers used in time axis. Graph axes are now captioned. -rw-r----- 1 root 210115 Jul 30 10:17 Coastline4.0b14.sit.hqx b14: I have uploaded a new version of Coastline to the "Incoming" area on darmok. This version contains the following changes: (1) It is a "fat binary" version which will run in native mode on a Power Macintosh and in 68K mode on a 68K machine. (2) Menu commands to open a new file while in measurement mode have been disabled. The user must close the file or click on the "Done Measuring" button before opening a new file. This gets rid of some display problems. (3) There were problems with tracking buttons before; in some perverse cases, it was even possible to have "Automatic" and "Step by Step" drawing turned on at the same time. This has been fixed. (4) The "Clear" command in the edit menu is now disabled at all times. It never performed any function, but its being enabled made it look as if it should have been doing something. b13: The new upload fixes a bug reported by Sergey. Clicking on a graph point with curve fit on, if it brought the number of points below 2, would send the program into never-never land. This has been fixed. Please let me know if there are any problems. a10: - The offscreen drawing code has been revamped to work properly with different monitor depths. Previously, it only worked well with 8 bits or better. - Separate black-and-white and color splash pictures are now included. - Sergey's additional built-in coastlines have been incorporated. - Choosing the Table and Graph menu items while a Graph or Table window is frontmost now works. - The "Iterations" control is now hidden, along with its accomplanying text, while the coastline is being drawn by manual iteration. May 3: upgrade to 4.0a9: Coast images can be copied to the clipboard. The name has been changed from "Fractal Coastline" to "Coastline." This is reflected in the file name, the splash window, the About window, the Apple menu, and the Help text. I think I've checked everything, but it's possible there's still a reference to the old name somewhere in the program. Previously, stepping to create a coast, then choosing New from the menu to create a new coast, left the new document in an improper state (e.g., the program hadn't cleared the count of clicks from the previous document, thus preventing the user from step-drawing the new coast). This has been fixed. -rw-r----- 1 root 297735 Jul 30 10:17 FractalDim6.0a13.sit.hqx a13: I have uploaded a Fat Binary version of Fractal Dimension (6.0a13) to the Incoming directory of Darmok. This has no changes from the previous version except for running native on Power PC machines. a12: Yesterday's results of putting Fractal Dimension in the hands of users uncovered two serious bugs that I learned about. The first of these was that zooming a window positioned it so as to make its title bar inaccessible. This was easily fixed. The second was that circle measurement was producing highly implausible results with large radii. I fixed this in part, but still wasn't getting identical results for circle and fast circle measurement. Looking at this closer, I found that the circle and fast circle code are significantly different in the way that they calculate whether a point is in a circle. The one for the (single) circle method appears to be less efficient and less precise. a11 I've uploaded Fractal Dimension 6.0a11, which should be tested and used in the workshop in place of 6.0a10 if no new problems show up in it. This does the following: (1) If the user tries to start a multi-circle measurement while one is in progress, an alert will come up. Previously the second measurement would be started without stopping the first one, and the program would crash. (2) Doing multi-circle measurement without first defining an enclosing area should now work reasonably well. Previously, it would often report being unable to find any points. (3) Doing a circle measurement where no pixels fall inside the circle will now result in an appropriate message, rather than the generic error message. (4) Sometimes a random enclosing circle would appear when the user brought up multi-circle measurement. This should no longer happen. a9: I've uploaded (actually, I'm in the process of uploading as I compose this) Fractal Dimension 6.0a9, which I think is solid enough to merit alpha status. The one item on the agenda which I haven't added yet is hint buttons; adding these isn't too likely to break any existing functionality. It also needs help text. PLEASE pound on this program, someone, as there are undoubtedly still serious bugs in it that should be fixed next week, before the workshop, if at all possible. d8: I've uploaded a new version of Fractal Dimension (6.0d8) to the Incoming area. This version is full of known bugs, but should get Peter going, and will let others try out the general feel of some of the new features: - When no image is open, a window appears suggesting possible actions. - The data and graph windows now display data of just one type at a time (box, circle, or perimeter), using the full width of the window. A pop-up menu controls which type is displayed. - "Advanced features" mode is implemented. When the program comes up, the toolbar has just seven buttons. To do perimeter or multi-circle measurement, the user has to choose "Advanced features" from the File menu. - When you click on a toolbar button which affects what happens when you subsequently click in the image window, this button is shaded and remains in effect until another such button is clicked. This allows you to do successive box or circle measurements without having to re-click the "Set Circle Center" button to move the center around. - In multi-circle mode, only black pixels will be used as circle centers. - In multi-circle mode, you can now drag the enclosing circle beyond the visible scrolling area, and the window will auto-scroll. - Displaying on a black-and-white screen has been improved. This version, as I said, is full of bugs. Perimeter measurement may not work at all; the slope in the graph window will sometimes fail to display; information may sometimes display in the wrong typeface. This version should not be given out to anyone who isn't willing to deal with highly experimental code. d5: THE NEW VERSION IS DESIGNATED DEVELOPMENT. "New" and "Paste" are now supported. Data table is now properly captioned. The default measurement size is now 10. The toolbar is available with all windows, and a button to bring the image window to the front was added. Clicking on a graph point once disables it (and turns the dot blue); clicking again enables it. The dots for enabled points are larger than before. Sample images appear in resource ID order now. Before they appeared in indeterminate order. Some icons in the toolbar have been changed to look better. The memory partition was reduced from 2000K to 800K. This is plenty for any reasonable number of open windows. NOTE: The development version has now additional features (masking, etc) but the code is now slightly unstable. USE WITH CAUTION. -rw-r----- 1 root 159885 Jul 30 10:17 RandWalks2.0b10.sit.hqx b10: Random Walks 2.0b10 has been uploaded to the Incoming directory on darmok. The only difference between this and the previous version is that it is a fat binary, and thus will run faster on PowerPC machines. b9: "Copy Graph" now produces a proper color image in the Clipboard. Before it was being done wrong, and some applications pasted it as black-and-white. Printing the histogram was broken; it's now fixed. The credit line in the splash screen now reads "Tewolde Mekonen, revised by Gary McGath". I've created a Fat Binary version of Blaze, which also has the credit line updated, but I'll wait a little for feedback on the last upload before posting this one. It turns out to be only a little bigger than each of the separate applications, since only the code (not other resources) is duplicated, and that is less than half of the application's size. b8: I have uploaded a new version of Random Walks. The principal change in this version is that it now uses the same help system as the other applications. This means that it has four items in the Help menu (plus one for getting a hint), instead of the single "Topics" item which was there before. The Help button in the "About" window brings up the "Introduction" text. I have not changed the help text. As a result of the changes, there is no longer any visual emphasis through italics, color, or boldface, and this may require some changes. One other minor change is that hitting a key will now dismiss the initial splash window. b7: This version is now designated as Beta. A significant memory leak was fixed. Odd-numbered labels are now used where appropriate for the histogram. The horizontal and vertical axes for the displacement graph have been made equal, and the origin now really is at zero. "Less graphics" is now available from the menu when the displacement graph window is selected. b7: correlation/MSD measurements in MSD window. -rw-r----- 1 root 48589 Jun 26 11:57 WinningStreak2.0b6.sit.hqx This version is now designated as Beta. Tewolde is mentioned in the "About" box. The memory partition has been reduced to 256K. There is now a "Get a Hint" item in the Help menu; the effect is the same as clicking the "?" button. The following programs have been previously released and we welcome suggestions/feedback in time for their redesign over the next few months. -rw-r--r-- 1 root 138937 Jun 26 11:54 RSA1.0b2.sea.hqx -rw-r--r-- 1 root 109412 Jun 26 11:54 Tear1.1b1.sea.hqx -r-xr-xr-x 1 ftp 86109 Jun 13 17:17 Landscapeb1.sea.hqx* -r-xr-xr-x 1 ftp 92830 Jun 13 17:17 Deerb1.sea.hqx* 1000305 ZIPF.hqx* Zipf analyzer (for DNA and literature) 367554 SAND.hqx* Sandpile model (self-organized criticality) 409044 RLAX.hqx* Relaxation (solves laplace eqn on complex structures) 65069 HOPF.hqx* Hopfield (model for neural networks) 49854 GASK.hqx* GasketMeister (sierpinski gaskets, carpets) 756218 AGGR.hqx* Aggregation (diffusion-limited growth algorithm) 354630 PseudoFPU.hqx Pseudo FPU emulator (version 3.03) -------------------------------------------------------------------- Please send any questions, comments, or suggestions to: Paul Trunfio (PAUL@miranda.bu.edu) --------------------------------------------------------------------