|
|
|
|
|
by sbf501
1339 days ago
|
|
Whenever I get bored (rarely these days) I like to write path-finding & annealing algorithms. I start with a super simple ray-tracing framework I first wrote in the 1990's for visualization, and then I play around with things like gravity and electromagnetic repulsion / attraction. My favorite thing to do is watch a million charged spheres distribute themselves on a weird surface obeying gravity and electromagnetics, and then have another sphere try to navigate through them. It's pointless but satisfying. I'm sure Blender and Processing and all the new fancy tools can do it better, but I understand every single line of code, so I feel like it is something I made for me. |
|
I credit it for being one of the reasons I learned to code because it made me think about how cool it was that somebody built that. (I was ~9 years old.)
Now I think I'll have to go finally reimplement that site from memory! I'm sure I can brute force the math with the help of Copilot :P