[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] Error in Color help file



fixed.

thanx :-)
Till

On 14.12.2007, at 19:56, paul wrote:

The Color help file says:

*rand(hue, sat, val, alpha)
	create new random color.

but the Color class method is:

*rand { arg lo=0.3,hi=0.9; ^Color.new(rrand(lo,hi),rrand(lo,hi),rrand(lo,hi)) }

so help file should say something like:

*rand(lo,hi)
create new random color with red, green and blue values between lo and hi.

Cheers,

Paul

_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-devel