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

LOGO-L> Problem with LOGO PCX encoding



Hello everyone !

After more than 2 years of abscence, I'm back! For those of you who
don't remember me, I was an active member back then and wrote the LOGO
mandelbrot fractal plotter, a text adventure engine and a virtual
turtles module for UCB-logo.

Now that I'm back at Logo programming, I'm having a problem with UCB
logo: I wrote a sample PCX file saver which takes an array of colors and
makes a PCX file out of it. It outputs the binary data as decimal
numbers in a file, and then the file is converted by a nice utility I
hacked in 4 minutes called "asc2bin". The only problem is: the test just
filled the array with a constant. What I want to know is this:
Is there a way to get the color index of the color of the pixel
currently right *under* the turtle ? There was a primitive in the french
version of LogoWriter called "Couleursous" with litteraly translates to
"Color under". I was wondering if the same thing existed in UCB logo,
and if not, what could be the alternatives ? I want to be able to get
the color of all the pixels in a rectangular area.

	Regards,
-- 
Tennessee Carmel-Veilleux (Coordonator of Digital Meltdown)
veilleux@ameth.org (www.ameth.org/~veilleux) ICQ ID : 8604827
Support Linux ! (www.linux.org;www.gnu.org) 1.99$
CD->(www.cheapbytes.com)
||*|| This message was written in Canada / Ce message a ete ecrit au
Canada
---------------------------------------------------------------
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