Complementary RGB Color Pairs
Wilhelm Sanke
sanke at hrz.uni-kassel.de
Sun Feb 25 17:41:17 EST 2007
The zip-archive of the ImageData Toolkit - downloadable from page
"Sample Stacks" of site
<http://www.sanke.org/MetaMedia> - seems to be O.K. now from my side.
It is still unclear for me what has happened to the "kaput" archive.
For those who do not want to bother to download a big stack just for the
matter of a few script lines
here is the script of btn "complementary colors" that at least gives you
a hint how to proceed to find out
complementary color triplets:
"on mouseUp
set the cursor to watch
put the milliseconds into Start
put the imageData of image 2 into iData
put 0 into counter
repeat for each char C in idata
add 1 to counter
put numtochar(255 - chartonum(C)) into char counter of idata
end repeat
set the imageData of image 2 to iData
put the milliseconds - Start into fld "test"
end mouseUp"
Regards,
Wilhelm Sanke
More information about the use-livecode
mailing list