Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ninivert/sandpiles
Frame renderer for the "Sandpiles" video
https://github.com/ninivert/sandpiles
animation mathematics sandpiles
Last synced: about 1 month ago
JSON representation
Frame renderer for the "Sandpiles" video
- Host: GitHub
- URL: https://github.com/ninivert/sandpiles
- Owner: ninivert
- Created: 2018-08-18T13:04:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T22:53:05.000Z (almost 6 years ago)
- Last Synced: 2024-11-09T20:44:53.180Z (3 months ago)
- Topics: animation, mathematics, sandpiles
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sandpiles
Source code used for generating [Sandpiles on La Chaine des Poubelles](https://www.youtube.com/watch?v=DEXNqBxSdHw).
## Python implementation
Under the /python/ directory, it was used to generate the .avi files containing the animation.
Run the `main_filesplitting.py` file to avoid being limited by the 4GB limit of .avi files in OpenCV.
In the repo directory, `python main_filesplitting.py`
It was __very__ slow, next time I'll probably use node.js or C++.
## JavaScript implementation
[Live demo here](https://ninivert.github.io/Sandpiles/)
Under the /docs/ directory, hosted with GitHub pages.