Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

very clear read; wish I had this when I was learning molecular dynamics. However, I suggest using bouncing term on the walls rather than sticking.


Thanks, I'll try that, I'm not really happy with the behaviour at the edges yet. In hindsight it proved to be one of the most difficult things of the whole simulation!


> wish I had this when I was learning molecular dynamics

Keep in mind, though, that the article only outlines a way to make fluid drops look realistic, and doesn't actually guarantee anything about whether the behavior is realistic.


Jep, lot of shortcuts to make it run at 60 fps. It's most likely not very scientifically accurate.


the same thing could be said about molecular dynamics.


Yes, the wall should probably exert a repelling force just like very close fluid particles do (except that the entire displacement is applied to the fluid particle, because the wall doesn't move).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: