Not very acoustically real yet ...
I made a small room with 1 million particles emitted from from a sphere and then bounce around.
It should use WebGL2/WebGPU if you have supported gpu and browser.
Press space bar to start the explosion. 20fps on my 2017 iMac.
Very pretty to watch.
https://playground.babylonjs.com/#K0DAW0#3
Next step is to assign each particle a texture.
In webgpu have RGBA textures that we can use for storing particle data.
For instance,
r for particle frequency
g for particle SPL
b for phase value
a ...
It would be easy to multi texture allowing us encode more data into each particle should we wish to track any other metrics.
I made a small room with 1 million particles emitted from from a sphere and then bounce around.
It should use WebGL2/WebGPU if you have supported gpu and browser.
Press space bar to start the explosion. 20fps on my 2017 iMac.
Very pretty to watch.
https://playground.babylonjs.com/#K0DAW0#3
Next step is to assign each particle a texture.
In webgpu have RGBA textures that we can use for storing particle data.
For instance,
r for particle frequency
g for particle SPL
b for phase value
a ...
It would be easy to multi texture allowing us encode more data into each particle should we wish to track any other metrics.