News for hackers. Stuff that matters.
Re:'Carmack Lines': Playing with Javascript by krazydad on Saturday January 04, 2014 @12:42PM (#7011977)
I've been making these for a long time. One of my favorites is (x XOR y) MOD 3 != 0

((x ^ y) % 3) != 0

Other primes like 5 and 7 look interesting as well.

Re:'Carmack Lines': Playing with Javascript by GyrosOfWar on Saturday January 04, 2014 @02:58PM (#7012616)
With ((x | y) % 7) != 0), I get this result in Processing: http://i.imgur.com/K35xxI7.png

I think I know what I'll do for the rest of the evening.

Re:'Carmack Lines': Playing with Javascript by rongenre on Saturday January 04, 2014 @04:13PM (#7012960)