Computer Science Canada

how to use xor in turing

Author:  omni [ Thu Dec 18, 2003 8:55 pm ]
Post subject:  how to use xor in turing

I would I use picxor? Each time I use it, it clears my screen. Or is it possible to invert the colours?

Author:  Tony [ Thu Dec 18, 2003 10:55 pm ]
Post subject: 

the way picxor works is that if you draw an identical image over itself, it will clear it... I'm not sure why you'd need that though... some style of doing animations I suppose

Author:  omni [ Tue Dec 30, 2003 4:38 pm ]
Post subject: 

how would uu draw a box like windows paint program does it? my box keeps erasing previously drawn pictures with it

Author:  recneps [ Tue Dec 30, 2003 5:03 pm ]
Post subject: 

what is xor?

Author:  McKenzie [ Tue Dec 30, 2003 5:45 pm ]
Post subject: 

In the current version of Turing you can't draw regular shapes in XOR mode, only pictures. The old DOS version allowed it, and it worked well. With the new version you need to take a picture of your drawing canvas (Pic.New) before they start picking the size and shape of their box. Instead of drawing a white box to erase the preview box re-draw the whole canvas (Pic.Draw). If you are using View.Update the end result is pretty good.
As for what is XOR, that probably belongs in the tutorial section.


: