The Daily Click ::. Forums ::. Klik Coding Help ::. Ink Effect XOR!!!!
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
9th October, 2007 at 17:22:43 -

What exactly does the XOR option do? I copied a large red square with a slight gradience to it and made one of their ink effects "XOR" and when placing it over the other it made some funky patterns! Well, weird circles!

WHAT IS GOING ON

 
Image

Tell 'em Babs is 'ere...

Fifth

Quadruped

Registered
  07/05/2003
Points
  5818

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
9th October, 2007 at 17:31:44 -

Well, it stands for "Exclusive OR". Logically, it takes the colors (its color and the one it overlaps) and compares the bits. The resulting bit is deemed TRUE if either one OR the other bits is TRUE, but not if both are. This varies from a normal OR, which, if both bits were TRUE, would make the resulting bit TRUE.

Like this:

0 XOR 0 = 0
0 XOR 1 = 1
1 XOR 0 = 1
1 XOR 1 = 0


...and that's what goes on in the equation.


Effectively, though, it inverts the color underneath over the color on top. So if you had a solid white object with the XOR ink effect on it, everything underneath it would turn the opposite color.

Image Edited by the Author.

 
Go Moon!

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
9th October, 2007 at 17:33:40 -

Nevermind...

Fifth was first

Image Edited by the Author.

 
My signature is never too big!!!
   

Post Reply



 



Advertisement

Worth A Click