LEE-JAE-HYUN179 / mpm2d

mpm2d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Material Point Method for snow simulation 2D

Explanation of MPM in 500~ lines of code.
This repo is 2D Implementation of Material Point Method for snow simulation.
This code is for Educational purpose not parallelized and optimized!!

Build instruction

mkdir build
cd build
cmake ../
make

(or give -G option depending on your preference.)

Record

  • Make directory mpm2d/build/out/;
  • Make sure that your system has installed ffmpeg

Result

Simulation result for various parameter.

Dependencies

About

mpm2d


Languages

Language:C++ 93.7%Language:CMake 4.6%Language:GLSL 1.7%