Skip to content

Commit

Permalink
add hyperbolic limit set animation
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhaoliang committed Apr 13, 2021
1 parent d581f5e commit 7a2f5f0
Show file tree
Hide file tree
Showing 6 changed files with 539 additions and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The purpose of this project is to show the beauty of math with python. It consis
+ [Reaction diffusion simulation with pyglet and glsl](./src/grayscott).
+ [Raymarching fractals with pyglet and glsl](./src/fractal3d).
+ [Raymarching Möbius transformation animations with pyglet and glsl](./src/mobius).
+ [Limit set of rank 4 hyperbolic Coxeter groups](./src/hyperbolic-limit-set)
+ [Miscellaneous scripts](./src/misc) like E8 root system, Mandelbrot set, Newton's fractal, Lorenz attractor, etc.

These topics are chosen largely due to my personal taste:
Expand All @@ -51,12 +52,6 @@ I'll use only popular python libs and build all math stuff by hand (tools like `

**Note**: Python3.5 is deprecated now because it's a bit tricky to install the latest numba on Ubuntu16.04 for python3.5 (if you are using `anaconda` for package management then you need not worry about this because anaconda will fix it for you). Note `numba` is only used in a few fractal scripts in the `misc` directory and all other projects should also work for python>=2.7.

A few examples:

<p align="center">
<img src="./gallery.png" width="800">
</p>

## How to use

All projects here are implemented in a ready-to-use manner for new comers. You can simply run the examples without tweaking any parameters once you have the dependencies installed correctly. Each subdirectory in `src/` is a single program (except that `glslhelpers` is a helper module for running glsl programs and `misc` is a collection of independent scripts), any file named `main.py`, `run_*.py`, `example_*.py` is an executable script that gives some output.
Expand Down
Binary file removed gallery.png
Binary file not shown.
Binary file added src/glslhelpers/textures/rusty_metal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7a2f5f0

Please sign in to comment.