Skip to content

This projects makes a simple animation of the physical response of two coupled pendulums oscillating, without any kind of friction losses or external stimulation.

License

Notifications You must be signed in to change notification settings

john98nf/Coupled-Pendulums-Animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coupled-Pendulums-Animation

C++ made-with-Markdown MIT license Open Source Love svg2

A simple animation of the physical response of two coupled pendulums oscillating, without any kind of friction losses or external stimulation. Its geometry is the one explained below. This project was created back in the summer of 2017, after my freshman year in college.

📌 Geometry

The first pendulum is attached to a stationary point and
the second one is attached to the first one.

📌 Software Prerequesties

For trying this simple project on your own, you just have to install some basic Development Tools, a C++ compiler and SFML libraries. For Ubuntu, or some debian based distibution in general, this can be done with the following commands:

sudo apt update
# Development tools like gcc, g++ compilers along with make 
# (Package name might varies, depending on your linux distro)
sudo apt install build-essential
# Ubuntu Package for sfml libraries. (Might varies, depending on your linux distro)
sudo apt install libsfml-dev

📌 Compiling & Running

The whole process of compiling and linking object files can be done using the Makefile. Just execute the make command inside this repo directory. After this operation, executable animation.out is created. Enjoy 😀😀!

📌 Screenshot

About

This projects makes a simple animation of the physical response of two coupled pendulums oscillating, without any kind of friction losses or external stimulation.

Topics

Resources

License

Stars

Watchers

Forks