8000 GitHub - DerekChia/donut-math: We all love spinning donut, don't we?
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DerekChia/donut-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Spinning Donut Math

This code is based on the original article by Andy Sloane, who first created the Donut Math in C. This piece of art is also featured in videos by Lex Fridman and Joma Tech.

The code is re-written in Python with heavy annotation to make it easier to understand. Feel free to change the variables at the top of the script to experiment with the effect of different parameters. There is no dependency on any external libraries. Just run the script (python donut.py) and watch the magic happen.

Animation

Animation

About

We all love spinning donut, don't we?

Resources

Stars

Watchers

Forks

Languages

0