Jun 01, 2021 Article blog
This article was reproduced to Know ID: Charles (Bai Lu) knows his personal column
Download the W3Cschool Mobile App, 0 Foundation Anytime, Anywhere Learning Programming >> Poke this to learn
It took a while to use Python to draw some interesting patterns, and to explore Python's visualization capabilities...
PS:
Some of the patterns refer to some of the source code of some blogs.
By the way, prove a wave of my aesthetic T_T...
That's right, it's time to prove a wave
Let's Go!
Baidu web download link:
https://pan.baidu.com/s/1ZOaw7JmZ2dNvw0BDCcaTcA
Password: grsp
Python version: 3.6.4
Related modules:
numpy module;
matplotlib module;
numba module;
PIL module;
and some Python's own modules.
Install Python and add it to the environment variable, and pip installs the relevant modules that are required.
The principle has nothing to say, just show it
First of all, of course, there are some mathematical fractal patterns against the sky
(1) Julia Fractal
(2) a kaleidoscope of twenty-sided symmetry
(3) Mandebro set
(4) Newton fractal
Second, I also used Python's turtle module to draw some interesting patterns.
(1) Snowflakes in the sky
(2) Roses
Scenario 1:
Scenario II:
(3) Love (T_T okay some non-mainstream)
That's all...
Later have the opportunity to draw other bar
Python's visual library is still very rich and powerful, so that friends in need can learn on their own.
such as:
Matplotlib;
Pandas;
Bokeh;
Pygal and so on.