Møire 4.01 Docs (1993)
Møire 4.01 Docs (1993)
Møire 4.01 Docs (1993)
by John Lim
INTRODUCTION
Moire ScreenSaver (Portions copyright (c) 1987-89 John Lim) is a program that is installed via a cdev file that can be accessed from the Control Panel. After Moire (pronounced mwahr) ScreenSaver is installed, when the Mac is left inactive the screen will be darkened (to prevent the screen image from burning into the phosphor of the CRT) and a pretty Moire pattern will appear. To turn off the screensaver when it is activated, move your mouse. While the Moire pattern is moving, press a few keys to see some special effects
These settings come into affect everytime you bootup and whenever you access the Moire cdev from the Control Panel. (Randomize is currently dimmed because Dysons Folly uses a different drawing method from the other patterns and so randomize will not work in this case). The settings are : Shape allows you to set the default shape that appears on bootup. Speed sets the speed of the lines. 1 means very slow, 2 faster and 0 fastest. Length sets the number of lines used in the pattern. Randomize sets the probability that Moire will randomly pick a new shape. Change Every sets how often Moire changes shape, subject to the preset probability. This menu is not available when Randomize is set to Never Change. If you set RANDOMIZE to Always Randomize, all shapes should appear 1/11th of the time (there are 11 shapes). If you set it to 50%, the default shape will be automatically displayed half of the time, and the rest of the tim all the shapes will each have a 1/11th chance of appearing. For example, when you set the probability to 50%, the default shape will appear 1/2+1/11 = 6/11th of the time, and the other ten shapes have a 1/22nd chance of appearing. If you have background tasks running under MultiFinder, the speed and length settings will NOT affect the speed of those background tasks. Even if the speed is set to 0 (maximum) and length to the maximum of 100 lines, your other programs will be running just as fast as if the
speed had been set to 1 (minimum) and the length to 4 lines. However, some shapes, like the oval, are computationally more expensive than others.
Colour
If your Macintosh supports colour, then clicking on the Colour button will display a dialog box that permits you to set the following options : Single Colour Click on the coloured rectangle (black in this case) to pick a single colour that Moire will use all the time.
Animated Colours This option makes Moire change the colour used slightly every time a new line is drawn. The scroll bar sets the speed of colour animation (changing). The old colour animation of Moire 2.22 can be simulated by setting the scroll bar to a low value.
Stripes - equal When this option is selected, a popup menu will appear that will allow you to select the colours you want used when drawing. Up to 8 colours may be selected. The actual colours used may be set by clicking on the coloured rectangles. Each colour you select will be used to draw a certain number of lines, then the next colour selected will be used. This option uses equal stripes in the sense that the colours are equally distributed over the lines drawn so that every colour selected is visible on the screen at any one time (in contrast to adjustable length stripes, where the number of colours visible is dependant on the number of lines you have set from the popup menu).
Stripes - random This option will cause Moire to choose the colours to be drawn randomly. The number of lines that will be drawn with the same colour before another colour is picked may be configured from the popup menu.
Stripes - adjustable length This option is similar to Stripes - equal except that the number of lines before Moire chooses the next colour is adjustable, while in Stripes - equal, the number of lines before switching colours is calculated for you.
Clock
Moires built-in menu clock will only work when Moire is active. It is drawn a bit high so it will not obscure a long menu bar (with many menu titles) too badly. It also automatically adjusts itself so that it does not obscure the MultiFinder application icon nor Easy Access. If you dont like the clock, you can also disable it from the check box.
NOTE : After you select Shut Down from the Finders Special Menu, dont worry about shutting down when the Moire pattern appears on the screen. Although you have selected Shut Down, because you have not turnedoff the power, the CPU is still running - thus Moire takes advantage of the still active CPU to make the Shut Down screen more interesting.
Select the rectangular area you want for the Sleep or Wake Rect by holding your mouse button down and dragging until the rectangle that is displayed on the screen is the correct size and then release the mouse button. If you do not select a rectangle but merely click on the screen, Moire will return to its standard defaults : the top right corner of your main screen for the Sleep Rect and the bottom right corner of your main screen for the Wake Rect. If you select too large an area for your rectangle, Moire will refuse to accept it. This is to prevent careless users from setting the whole screen to be the Sleep Rect. Clicking on the coordinates will cause the Sleep and Wake Rects to flash so that you can see them without doing any graph plotting nor calculations.
TROUBLE-SHOOTING
Q. When copying files in the Finder, why does Moire erase the disk icons ?
This is a bug in the design of the original Finder that apparently has never been corrected.
Q.
Why does Moire darken the screen and fail to draw any patterns ?
This is because Moire only draws the to screen when your foreground application is idle. Thus if you are printing Moire will probably only darken the screen because printing demands some computational power and Moire gives as much of it to the printing program as possible. Future versions of Moire however might allow Moire draw to the screen in all circumstances.
Q.
These programs are poorly written. All well-written programs are required to respond to a command from the operating system when windows are updated. Some programs ignore this message because they assume that no window will be in front of it, which isnt strictly true if Moire is installed.
Q.
When I have the clock installed, why do I have to swap disks all the time in Copy ][ Mac ?
Copy ][ Mac clears as much of memory as possible for its own use. This flushes out the Monaco font from memory, which is needed to draw the clock. The fix is to disable the clock first. (Expert Tip : Set the System Heap bit for the font).
Q.
A possible reason is that you may have other programs that work in background running at the same time as Moire. For example TOPs or a Clock INIT. Theres no easy fix for that unfortunately short of removing the other background program or upgrading to a faster computer.
Q.
This is a toughie. Artisto+ DA has a problem. The first time you are prompted to open a file, do NOT activate Moire. You will hang. Activating Moire when opening files from the DA menu
seems ok however. The fact that it does work from the DA menu suggests that Artisto+ does not initialize its data structures properly in certain circumstances. The fix is not to activate Moire when the Artisto GetFile dialog box appears - pretty simple, huh ? (Not tested in Moire 3.0 - I dont know whether this answer is still valid).
Q.
Is your disk locked ? The first time you boot up on a particular machine, Moire attempts to customize itself to adapt to the system. If you lock the disk, Moire is unable to save the customized features and wont activate. After customization, you may lock your bootup disk again as customization is only needed the first time. If you change computers, systems, hard disks, printers or install a new card into your computer you might need to recustomize Moire by booting up on an unlocked disk. Are you running GateKeeper ? You need to set GateKeeper to allow Moire to modify its own resources. Note that if GateKeeper refuses to allow Moire to modify itself, Moire can get corrupted. If this is the case, get a new copy of Moire from your backup (you do make backups, dont you ?).
Q.
If you take that sort of attitude, Im not going to speak to you... Seriously though, if you disable Moires clock and use your own clock program, you will be glad to know that Moire does not draw its patterns in the menubar anymore, so screensaver compatible clocks will stay turned off. This wont work if you have multiple monitors positioned in funny positions. If you use my clock, the full screen including the menubar is used in drawing the patterns. Another advantage of using my clock is that it is very fast and small. If you use some of the public domain clocks in conjunction with Moire on a 68000 Mac, Moire might move jerkily when activated. This is because the pd clock is taking too much computational power away from Moire. However Moires internal clock turns itself off when Moire is active, so that Moire gets going on full engines.
Q.
How come some FKEYs dont work when Moire 2.22 is running ?
Q.
On a colour Macintosh, Moire appears to interfere with the colour windows. After Moire is
deactivated, all the colour is distorted. Why ? This is because the programs you are currently using do not comply with Apple guide-lines for colour programs, i.e. the Palette Manager. An example of such a program is PixelPaint version 1.0. SuperMac has released a version of PixelPaint that remedies this problem.
Q. Moire isnt drawing using its normal colours. Whats happened ? You are probably running a colour program. In some cases, the colour program will refuse to relinquish some of its colours when Moire activates and thus Moire will be unable to use its normal colours. Instead, Moire will have to borrow the colour programs colours.
Q. The fonts used by other cdevs in the Control Panel look funny after I open Moire. Why ? This is problem only with older Control Panels. I suggest you upgrade to Control Panel 3.2 or later.
Q. I cannot seem to be able to set the Sleep and Wake Rects. Why ? Are you selecting a point or a rectangle. Clicking on a point will cause Moire to revert to its defaults. You need to select an area ! Q. There appear vertical bars on the menu bar when I close the Control Panel when Moire cdev is active. Why ? You are probably running 32-bit colour QuickDraw under MultiFinder under System 6.0.3. This appears to be a bug in the DA Handler. Try opening the Control Panel while holding down the option key (to make the DA open in the current layer) and activate Moire cdev. Click on the colour button to access the colour settings and then close the Control Panel. The menu bar remains normal. Try the same thing in the DA Handler and the bars appear when the Control Panel is closed.
Q. Why doesnt Moire activate when Im running MPW ? Before MPW runs a tool, it reinitializes the environment. As a side-effect, QuickDraws internal structures are disposed off. Therefore no drawing can take place until you run a tool, command
Big Screens
This screensaver will work with big screens and multiple-screen Macs. If you have 2 or more monitors Moire will darken all screens and then the pattern will move across all screens as if they were one ! However Stepping-Out poses a problem because it dynamically modifies the screen-size. Therefore the program always checks the screen-size whenever the Moire cdev is accessed via the Control Panel and just before the Moire is activated.
This means if Moire ScreenSaver is misbehaving because of a change in screen-size, just open Moire cdev again from the Control Panel.
MultiFinder
Moire works best with MultiFinder when you are using at least System 4.3 onwards. This is because earlier Systems had bugs which might prevent Moire from activating itself under certain unusual circumstances.
Colour
Moire uses the Palette Manager to arbitrate its colours. If colour animation or random stripes is selected, colours are randomly selected based on HSV coordinates, then converted to RGB. Colours with a saturation less than 0.9 and a value below 0.5 are not selected.
ACKNOWLEDGEMENTS
Congrats if you read every line of my documentation up to this point. Not many peoplehave read all of it, judging from the questions they pose to me ! I tell them, its all in the docs, but they never listen ! Moire ScreenSaver was inspired by Pyro! by Steve Brecher. I thought that I could do it better Thanks especially to Jason Castan for the colour testing, and also Sven Axelsson, Stuart Burden, Ray Ryan, David Platt, Greg Ward, Jeff Laing, Graham Cottew and Simon Darcy for their testing and bug reports. Also thanks to John Pearce and William Orvis for their help with the Kermit and Word bugs. This program was written using THINKs LightSpeed C. The Moire algorithm was taken from some code distributed via UseNet. Unfortunately the author of the code forgot to include his name, so if the moire code looks mighty familiar to you write to me and I will include your name in the next version. I hope the author answers sometime because its been nearly a year since Moire was first released and I havent got any reply from him/her yet. Thanks also to Scott Storkel for the Dysons Folly algorithm. I reserve all rights to the portions of the program that were written by myself. This program is now shareware unlike previous versions because of the numerous improvements made and the many hours of testing to ensure that all the improvements actually did work. Virtually every line of the program has been rewritten. Therefore I ask you send a $10 licensing fee to the address given below. I dont mind foreign currency, but theres a $2-3 Australian charge for
converting overseas cheques, so please dont send me 10 Yen or worse. Moire does not come with any warranty at all. Any screensaver operates by fooling the operating system, unless it is already incorporated into the firmware. Therefore no liability is assumed for any use that is made of this program. Nevertheless, even if liability is found to exist, it shall not exceed the sum paid to the author. Please send all bug reports and donations (please address all cheques to John Lim and NOT to Mr. Shareware, nor Moire, nor THINK, nor Screensaver etc.) to : ==================== John Lim 18 Nottingwood St., Doncaster East 3109, Victoria, AUSTRALIA. ====================
Written26th July 1989. Revised 3rd August.