Skip to content

EmperorMurfy/Liu_Hui_Pi_Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liu Hui's π Algorithm

Developed as part of my school assignment, this program is intended to visualize Liu Hui's π algorithm.
Built using Python, this project utilizes the Manim library. You can read more about it here.
The video will be released on March 14, 2025 in celebration of PI day on Youtube.

Project Details + License

As aforementioned, this project is developed using Python. I've seperated functions into seperate files.
To render a scene (ex: CircleArea), enter in your terminal:

manim circleArea.py circleArea -qh -p

Though this repository was made in the hopes that someone might find it useful while Manim,
please do not reuse without permission. All code included is only meant as a learning reference.
For more details, please see LICENSE.

Manim

"Manim is a community maintained Python library for creating mathematical animations."
To my knowledge, there are two versions of Manim publically available:

For my project, I settled on the community version.
if you're attempting to use Manim yourself, you should check out both versions.
However, I'd recommend getting started with Manim Community since it offers incredible documentation.

Author's Note

Hiya, thought I'd leave something here.
Though this project was originally for my mathematics class,
I thought it'd be a shame not to share it with the community.

I'm quite proud of what I was able to accomplish, especially in such a short time span.
The script + research took about a week. Development + rendering the animations took a day.

-- Time Frame --
Monday - Relearned Python + figured out Manim Library. Developed the program and rendered most scenes.
Tuesday- Recorded all in-person scenes. Began editing.
Wednesday (4AM) - Completed Version 1. It's done!

Overall, the creation of the final video took three days (and multiple all-nighters).

As a thank you for reading up to this point, you get exclusive early access to the video!
👉 Watch it now: https://www.youtube.com/watch?v=g6Bx0x3jq58
Watch the video

About

Code developed with Manim to visualize Liu Hui's π algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages