Thursday, December 19, 2019

MoreMath

I'm a math fiend in the morning: solved yesterday's problem so that
the user can specify his color from the ColorPicker visual, the rgb
controls, or HSB, and output the complementary color rgb.




*     *     *


Hue runs 360, from red; saturation is a percentage from white; brightness a 
percentage from black.

source: GoogleTranslate from German-language Wikipedia.

                                                             *     *     *



The code for the rectangle fill has to be entered from rgb values
between .1 and 1:


The Bear image requires the creation of an ImageViewer, which is added by the
GridPan.



No comments: