Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 778 Bytes

readme.md

File metadata and controls

18 lines (13 loc) · 778 Bytes

three.js Fluid Simulation with SPH

test step : particle gravity acceleration

I used the GPUComputationRenderer plugin as a means to utilize GPGPU in the three.js environment.

integrate function

implement SPH fluid simulation using GPGPU

Massive particle computations using the GPU.
The fluid simulation was implemented using the SPH method,
and the number of particles in the video below is 20x20x20.

SPH simulation

Things Learned After Using GPUComputationRenderer in three.js

Even when using the GPU to compute particles,
if the number of particles exceeds a certain threshold,
it's not just that the speed slows down, but WebGL stops rendering altogether.