When coding XOR patterns I was amazed at the complexity from eg a simple (x^y)%3
When hand drawing/calculating it, I get a bit of an intuition why...
Math teacher & parent by day, creative coder by night.
When coding XOR patterns I was amazed at the complexity from eg a simple (x^y)%3
When hand drawing/calculating it, I get a bit of an intuition why...
Not sure whether one can see what's going on here...
Jasmin Stitch - it was messy fumbling all the way, no getting into the flow... 🙈
f(x,y)=( x / (y ^ ( x - y ) ) ) % 2040
Full Version: https://youtu.be/K_JypACeC9E
Where would we expect this too look interesting?
/ is integer division, so the bigger the divisor, the more pixels are gonna get crushed into the same value.
The picture will thus look interesting, where (y ^ ( x - y ) ) is small.
^ is bitwise xor: If you write both inputs in binary you get the output in binary by setting a digit to 1 iff the corresponding digits in the inputs are different. So the xor output is small if its inputs are similar (the more significant digits match)
So we expect an interesting picture for y~x-y, or 2y~x.
New xor pattern generalization dropped! For each pixel (x|y) write x and y in base 3, then add the corresponding digits of x and y mod 3.
Here we have purple for f(x,y)%4==0
Let me show you these Recursive Graphs my kid (12years old) came up with!
Explanation/Making-Of video: https://youtu.be/sX1gz13-_Xc
Whipped up some quick code to find terminating rules and gave them to the kid to draw!
Icosahedral Stereograph!
I made a making-of video for this crocheted cellular Automaton:
https://youtu.be/YjW4R5sGvdk
Hyperbolic Truncated Icosahedral Fractal
Dodecahedral Stereograph!
For this Month's High-resolution Render for Patrons of Level Square and up I replugged and coded up the xor-variation in a juicy watermelon palette!
Full Resolution:25600x14400
My Patrons can on my May Theme!
The Options are:
-Hyperbolic Manifolds
-Unplugged
-Multineighbourhood Cellular Automata