DuqueDeTuring / Math-Tweets

Maths Tweet with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweets

Maths Tweet with Python

Maths Tweet with mostly Python and a bit of Inkscape or Geogebra.

Some elements are provided below. More images and animations can be found in the associated directory.

Hitomezashis are (numerical) decorative reinforcement stitching inspired by Japanese tradition.

In this part, simple iterations creating perspective function are investigated. They are prototype of BĂ©zier curves, simply used for the fun.

Here, simple traditional geometric constructions from the Islamic world are investigated (stars, zellige, etc.):

Here, we investigate visually random walks connections to the CLT:

Docker

You can run the programs using a Docker container. In this example just replace the paths according to your setup :

    sudo docker image build -t math_tweet_with_python .
    sudo docker container run -it --rm -v FULL_PATH_FOR_THE_OUTPUT:/gifs -v FULL_PATH_FOR_THIS_REPO:/code math_tweet_with_python python3 /code/Berhu_video/Beru_from_mathurin.py
    sudo docker container run -it --rm -v FULL_PATH_FOR_THE_OUTPUT:/pdf -v FULL_PATH_FOR_THE_OUTPUT:/svg -v FULL_PATH_FOR_THE_OUTPUT:/png -v FULL_PATH_FOR_THIS_REPO:/code math_tweet_with_python python3 /code/IslamicArt/ten_star.py

About

Maths Tweet with Python


Languages

Language:Python 99.4%Language:Dockerfile 0.6%