Breaking down my thought process when creating something with geometry nodes, as asked by Gehrig Campbell-Dempsey. Hope you find it useful!
Why I messed up the modulo:
I initially said that modulo creates sequences from 1 to 4, but actually from 0 to 3.
Why?
Well, modulo outputs the remainder of a division. So:
10mod5 = 0, because you can fit exactly two fives in a ten, and no space is left
10mod3 = 1, as you can fit three threes and one is left (10-3*3=1)
So when we modulate the array of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 at 4 we get
from
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
an array of
1, 2, 3, 0, 1, 2, 3, 0, 1, 2
Why is 1mod4 1? Because you cannot fit any fours into one, the one remains intact and is our answer. That modulo thing should be clear now.
Bad Normals
2022-01-17 15:00:16 +0000 UTC_udjinstone_
2022-01-16 17:39:50 +0000 UTCBad Normals
2022-01-16 16:59:05 +0000 UTC_udjinstone_
2022-01-16 16:50:43 +0000 UTC