Made Tessera, a Unity plugin for #wavefunctioncollapse
https://discord.gg/Enzu2rrJFD
http://www.boristhebrave.com
I think the border of the cells ends up piecewise parabolas.
There's a lot to experiment here, this is just random scales and rotations, but you could do other things.
I think the border of the cells ends up piecewise parabolas.
There's a lot to experiment here, this is just random scales and rotations, but you could do other things.
T = [[rand_range(0.5, 1.5), 0],[0, rand_range(0.5, 1.5)]]
T = rotate(T, rand_range(0, 2*PI))
Then distance is
dist = (T @ (pixel_pos - point_pos)).magnitude
Note that M = T.transpose @ T for the way those slides expressed it.
T = [[rand_range(0.5, 1.5), 0],[0, rand_range(0.5, 1.5)]]
T = rotate(T, rand_range(0, 2*PI))
Then distance is
dist = (T @ (pixel_pos - point_pos)).magnitude
Note that M = T.transpose @ T for the way those slides expressed it.
Finding an algorithm for the shapes seems tricky.
Finding an algorithm for the shapes seems tricky.
Yes, I pick a random scaling between 0.5 and 1.5 for each axis, then a random rotation. The points are evenly spread across the image. The maths works like those slides, though I came up with the idea and name independently.
Yes, I pick a random scaling between 0.5 and 1.5 for each axis, then a random rotation. The points are evenly spread across the image. The maths works like those slides, though I came up with the idea and name independently.
Also there's a lot of art in crafting a generator. Popular games tend to have those ineffibles done really well, it's hard to learn from other sources what works and what does not
Also there's a lot of art in crafting a generator. Popular games tend to have those ineffibles done really well, it's hard to learn from other sources what works and what does not
I suspect # means equals or not equals. It's not an operator in the manual, so I suspect it's a formatting glitch.
I suspect # means equals or not equals. It's not an operator in the manual, so I suspect it's a formatting glitch.
My guess is still that the forces the joint is applying are not enough to overcome friction. So it doesn't rotate, except for in an early clip where you jerk the rope.
I think it's translating due to some other reason than joint forces.
My guess is still that the forces the joint is applying are not enough to overcome friction. So it doesn't rotate, except for in an early clip where you jerk the rope.
I think it's translating due to some other reason than joint forces.
It looks like it might be only moving due to position correction.
It looks like it might be only moving due to position correction.
Looks neat
Looks neat
See every IDE ever.
See every IDE ever.