I got one implemented in D at https://github.com/olaost/snowflake Should try to put it up on Shadertoy...
Consider a single free water molecule. As it moves around randomly it will hit the growing snowflake on a random side and get stuck to it, jiggling around a bit until it is in a position that is hard to get unstuck…
The D language, while not 100% C++ compatible, takes a pragmatic approach to C++ interop (https://dlang.org/spec/cpp_interface.html)
I got one implemented in D at https://github.com/olaost/snowflake Should try to put it up on Shadertoy...
Consider a single free water molecule. As it moves around randomly it will hit the growing snowflake on a random side and get stuck to it, jiggling around a bit until it is in a position that is hard to get unstuck…
The D language, while not 100% C++ compatible, takes a pragmatic approach to C++ interop (https://dlang.org/spec/cpp_interface.html)