Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 571 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 571 Bytes

threejs-star-sph

Smoothed particle hydrodynamics example in Three.js

About

Simulates the formation of a star with smoothed particle hydrodynamics based on the Python tutorial by Philip Mocz. Uses GLSL shaders to solve the differential equation at each step and then render a particle cloud represented by an InstancedMesh of spheres. Might run a little slow on phones.

Built with three-js-webpack.