Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: variables in pen color

From: keckman:welho at: 6-Aug-2010 22:49

Petri Keckman <keckman-welho.com> kirjoitti Fri, 06 Aug 2010 22:40:07 +0300
> Is there any way i can use variables in pen command? > > pen (r.g.b) > > There is no to-color function?
yes there is: pen ((r * (1.0.)) + (g * (0.1.0)) + (b * (0.0.1)))