Email or username:

Password:

Forgot your password?
Top-level
icoon

@neauoire nice! Are there some docs/resources on how the halftining xor works?

2 comments
Devil Lu Linvega

@icoon Someone explained it to me on here many months back, but the idea is to take the x,y positions and XOR them together, mask it with 0x01 AND, so you get either 0 or 1, and add that whenever the color of the source pixel is a multiple of two.

The function in the image shows how I do it in a catlang.

Go Up