recreational_mathematics_with_python
recreational_mathematics_with_python copied to clipboard
Short python samples of recreational mathematics.
Recreational Mathematics with Python
This is the source code repository of the recreational mathematics page at beltoforion.de.
- https://beltoforion.de/en/recreational_mathematics (english)
- https://beltoforion.de/de/unterhaltungsmathematik (german)
This repository contains a number of short python samples illustrating topics from the field of recreational mathematics. The source code of each sample fits on a single page.
John Conways Game of Life
A Python implementation of John Conways Game of Life
- https://beltoforion.de/en/recreational_mathematics/game_of_life.php (english)
- https://beltoforion.de/de/unterhaltungsmathematik/game_of_life.php (german)
The Chaos Game
Create fractal patterns with a random iteration algorithm called the chaos game.
- https://beltoforion.de/en/recreational_mathematics/chaos_game.php (english)
- https://beltoforion.de/de/unterhaltungsmathematik/chaosspiel.php (german)
2D Wave Equation
A finite difference solution to the 2D wave equation with absorbing boundary conditions and up to 8th order accuracy of the spacial derivations.
- https://beltoforion.de/en/recreational_mathematics/2d-wave-equation.php (english)
- https://beltoforion.de/de/unterhaltungsmathematik/2d-wellengleichung.php (german)
The Sierpinski Triangles and more
A python implementation for computing fractals with a recursive algortihm.
- https://beltoforion.de/en/recreational_mathematics/sierpinski_triangle.php (english)
- https://beltoforion.de/de/unterhaltungsmathematik/sierpinski_dreieck.php (german)
3D Wave Equation
A finite difference solution to the 3D wave equation with absorbing boundary conditions.
- https://beltoforion.de/en/recreational_mathematics/3d-wave-equation.php (english)
- https://beltoforion.de/de/unterhaltungsmathematik/3d-wellengleichung.php (german)
https://user-images.githubusercontent.com/2202567/230522822-1c96265c-c805-4710-ba59-d8fae02b6fdd.mp4