forked from: forked from: Self Sorting Particles

SPH - Smoothed Particle Hydrodynamics

クリック：水を注ぐ

SPH(もどき)をASで実装してみました。
最適化していないので重いです。
タイムステップを考えていなかったりといろいろ適当な部分がありますので注意。
カーネルを除く基本的な計算方法は一緒です。
　

Quasimondo: optimized my linked list method with the neighbor technique used by
Saharan in this sketch: http://wonderfl.net/c/2pg0

In the latest version I optimized the grid with some linked list structure, too