| Colorator, Light Pastel | |
| float loclip (float num, float clipat ) { num = num + .5- clipat ; float Result = num * llRound (num); return Result; } |
User defined
function num is number (usually random) between 0 and 1; clipat is clip point. Numbers less than clipat are set to zero. |
| float randFMTO(float FM, float TO) { return llFrand(TO- FM) + FM; } |
User defined function Result is random number ranging from FM to TO. |
| default { state_entry() |
|
|
Set timer to trigger event every 120 seconds. |
|
Event: timer() |
|
Timer code block: With the range .5 to 1, ranFMTO delivers
only lighter colors. For dark shades, use a range such as .0 to
.5. |
| } | Close default |
| Mods for this script | |
|
For strong colors use this timer code block. To
strengthen the colors more, use. 7 in place of .5. |
|
Turn a color off with 0, on full with 1. |
|
The Thinkerer
09/13/2008 Copyright (c) D. F. Dansereau & S. H. Evans |
LODScr | ||
| Famous fables | |||