The message below is being cross-posted from the LogoForum. Please
reply here at comp.lang.logo and it will be cross-posted back to the
LogoForum. The original author of this message is
jotape1960@[EMAIL PROTECTED]
In LogoForum@[EMAIL PROTECTED]
"Dale Reed" <dale-reed@[EMAIL PROTECTED]
> wrote:
>
>
> PS Back to "standards"
> Try this code in MSWLogo and FMSLogo and tell me if you get the
same
> answers.
> On my computer, but apparently not others, MSWLogo determines the
color of
> the pixels *under* the pen but FMSLogo determines the color *of*
the pen.
>
> to aa
> cs pu
> fd 100
> rt 90 fd 100
> setpc [255 0 0]
> setpensize[3 3]
> pd bk 200
> pu home
> setpc [0 0 0]
> setpensize[1 1]
> pd fd 95
> repeat 10[show pixel fd 1]
> end
>
Hi Dale!!!
I get a different behaviour too.
When I run the program with the original MSWLogo, I get the screen
background color under the turtle, because here PIXEL represents the
pixel color BEFORE the pen "writes" it:
[255 255 255]
[255 255 255]
[255 255 255]
[255 255 255]
[255 0 0]
[255 0 0]
[255 0 0]
[255 255 255]
[255 255 255]
[255 255 255]
When I run the program with FMSLogo, I get the turtle pen color
because here PIXEL represents the pixel color AFTER the pen "writes"
it:
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
[0 0 0]
???
I wonder if it was a bug in the original MSWLogo which was fixed
into FMSLogo, or It was right in the original and it's a bug in
the "new" version. ???
GOD BLESS YOU ALL!!!!!!!
Juan J. Paredes G.
From Curicó, Chile, South America, with love
__._,_.___
LogoForum messages are archived at:
http://groups.yahoo.com/group/LogoForum


|