Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pendulum-sim-cpp

So my IB Physics Exam is coming up soon and I need to study for it...

But I really wanted to do some coding since it's been some time. So I made this simulation of a pendulum, so that I can get a little bit of Physics and Coding in!

It uses 2D vector analysis to simulate a pendulum the exact way it would behave in real life! It is very customizable and kind of addicting. Enjoy!

Video Demo

Screen.Recording.2026-05-02.205912.mp4

Online Website

There is a version of this hosted here on GitHub pages.

Building Locally

Option 1: Using just

just build
# append "release" to build with release mode

You need to install just for this to work.

Option 2: Using cmake

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -S . -B build
cmake --build build --config Release
# replace "Release" with "Debug" to build with debug mode

About

A simulation of a pendulum in C++

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages