The REAL problem is we want infinite resolution.
To help "simulate" a higher resolution you could require
each drawable cell be several pixels. This way you could
light up half a cell and be able to draw a line from the
center of one cell to the center of another, with out having
to decide whether each ending cell should be all on or all
off (which is the current problem).
This is just a theoretical point I'm making not a practical
one (today). Users want access to the lowest level of resolution
available (one pixel). By requiring multiple pixels for each cell
you of course reduce the level of resolution available to the user.
I think 4x4 pixels would work nice but still not perfect
(only an infinite number of pixels could be perfect)
Your comment about MSWLogo's uneven cup is correct. But I don't
think of it that way. If you had an Uneven cup 4x4 pixels, yes, you
would notice it. But if it was 100x100 you would not. Having
a square with 4 corners missing is more common and stands out more
and does not matter how big it is. I think inclusive on one
end and exclusive on the other solves more problems than it
creates and it just works out nice. It always lights up excatly the
number of pixels you ask the turtle to move. You can't draw unless
you move (when you mathematically calculate movements you might have
calculations that cancel out and come out zero, so FD 0 should not
draw a dot). It's also consistent with what Windows itself does
with rectangles etc.
Your idea of being smarter about the pixel under the turtle might
work. It also might create some new problems that you did not
expect. The user should understand how things are drawn and now
has control of them. The user should think of imaginary lines going
down the center of a pixel and being lit if they intersect.
Here is an acid test, what do think it should draw?
penreverse
fd 100
rt 179
fd 100
-- =============================================================== 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.