/nikfemm

nik's fem library

Primary LanguageC++GNU General Public License v3.0GPL-3.0

nikfemm

a 2d physics simulator written in C++ from scratch

how to test it

clone the repo first:

git clone https://github.com/nikisalli/nikfemm.git

enter the repo

cd nikfemm

update submodules

git submodule update --init --remote

create build dir

mkdir build && cd build

configure and build

cmake ..

make -j4

run an example

../bin/test

simulation example results

motor.mp4

alt text

alt text

alt text

alt text

magnets.mp4