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

Re: LOGO-L> set color



You did not specify which logo.

In MSWLogo you can do this:

setpencolor (list 0 random 255 0)

If you must use a single index for color in your logo you can do this.

make "greens [1 4 5 7 8 12 15] ; You'll have to determine what indexs are shades of green
setpencolor item ((random (count :greens)) + 1) :greens

Hudsoc wrote:
> 
> My students want to know if it is possible when using the setc random
> command to have just shades of green appear; the only way I can figure
> out how to use random is for it do go through all the colors or to begin
> at white and go through the end number of the command (ex. setc random
> 55).
> 
>   Also is it possible to use random with setpensize?
> 
> Clare
> ---------------------------------------------------------------
> Please post messages to the Logo forum to logo-l@gsn.org.  Mail
> questions about the list administration to logofdn@gsn.org.  To
> unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.

-- 
===============================================================
George Mills
email: mills@softronix.com
http://www.softronix.com
The www page contains some very powerful educational software.
Our single most important investment is our kids.
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home