Skip to content

pascalbakker/Magnetic_Pendulum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magnetic Pendulum Chaos Theory

4 magnet chaos theory

Info

The goal of this project is to display chaos with the mangentic pendulum. Youtube video explaining the problem.

Each purple square is a magnet. Each color represents which magnet it ended up being attracted.

A quick video explaining the magnetic pendulum

In main.c:

"k_f","k_m","k_g" are the force constants.

To add magnets update the "magnets" array and the "numOfMagnets" variable.

How to build

mkdir build && cd $_ && cmake .. && cmake --build .

How to execute

./MagneticPendulum

About

Program simulates magnetic pendulumn fractal using Beemans Integration method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors