This repository provides a reference implementation of the publication "Strongly Coupled Simulation of Magnetic Rigid Bodies" by Westhofen et al.:
L. Westhofen, J. A. Fernández-Fernández, S. R. Jeske, and J. Bender. 2024. Strongly Coupled Simulation of Magnetic Rigid Bodies. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA '24). Eurographics Association, Goslar, DEU, 1–11. https://doi.org/10.1111/cgf.15185
Please refer to the publication page for more details. The implementation relies mainly on Stark. Please also check the upstream repository for further details on Stark.
To build the repository, cmake is being used.
The project builds in source using the following commands:
cmake -DCMAKE_BUILD_TYPE=Release .
make -j 12To run the experiments shown in the paper, execute the binary created in the examples folder
cd examples
./examplesIf left unmodified, this will execute all experiments of the paper consecutively.
Their respective outputs can be found in the output folder.
The code has been tested and compiled with:
- Debian 12 64-bit, CMake 3.25.1, GCC 12.2.0
As a fork of Stark, the main library entailing all folders except models are licensed under the Apache-2.0 license in accordance with Stark itself.
See the LICENSE file for more details.
The Armadillo.obj, Dragon.obj and Bunny.obj in models are variations of the Stanford Armadillo, Dragon & Bunny, courtesy of the Stanford Computer Graphics Laboratory.

