particular
particular copied to clipboard
N-body simulation library written in Rust featuring BarnesHut and GPU accelerated algorithms.
The current design decisions prevent `gpu::BruteForce` from working on WASM with WebGPU: - Use of push constants for the softening https://github.com/gpuweb/gpuweb/issues/75 - Reading the accelerations buffer requires blocking the main...
See https://www.intel.com/content/dam/develop/external/us/en/documents/normvec-181650.pdf
Hey, this is a really cool project! Well done! You should probably submit it to https://bevyengine.org/assets/ for more visibility since you also have a very good integration example with Bevy....
Currently, using `gpu::BruteForce` with 2D f32 vectors requires to first convert them to 3D f32 vectors. Making this compute method more generic could remove the need for this conversion, also...