zlacker

[return to "Show HN: Demo of Agent Based Model on GPU with CUDA and OpenGL (Windows/Linux)"]
1. morito+u11[view] [source] 2023-12-05 01:40:42
>>ktt878+(OP)
If you want to create some pretty effects, add the concept of a velocity-texture which is added to agents velocity as they pass over it. Then let the user draw on the texture. Very cheap way to get interactivity. My own version from before compute shades were a thing (https://moritonal.github.io/force-particles/)
◧◩
2. ktt878+w21[view] [source] 2023-12-05 01:50:57
>>morito+u11
Thanks for your advice. I will update more in the next version.
[go to top]