# python_turtle **Repository Path**: land_0718/python_turtle ## Basic Information - **Project Name**: python_turtle - **Description**: 跟海龟学 Python和数学 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 15 - **Created**: 2024-02-22 - **Last Updated**: 2024-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 跟海龟学 Python和数学 本项目包含了[Python](python)、[Python Turtle](python-turtle)画图、[Geogebra-几何画板](geogebra)、[高级绘图 - Processing](processing)等学习资料和示例程序,从基础知识到高级用法和技巧,让初学者能通过充满乐趣的画图来学习Python编程、编程思维、数学等。 ![cover](images/cover/python_turtle.jpg) ## 1. 配置运行环境 * Python的基本知识学习可以参考[《90分钟学会Python》](https://gitee.com/pi-lab/machinelearning_notebook/tree/master/0_python) * Python的运行环境安装可以参考[《安装Python环境》](https://gitee.com/pi-lab/machinelearning_notebook/blob/master/references_tips/InstallPython.md) 安装依赖库,Ubuntu系统下执行 ``` sudo apt install python3-tk ``` ## 2. Python 练习题 学习Python最好的方式就是把最基本的语法学会之后,通过一个一个练习题牵引,从简单的程序开始编程,在练习的过程不断加深对Python编程的理解。最终实现Python语法、算法、程序的掌握,并具备一定的解决问题能力。 具体可以参考: * [Python基础练习题](python/0-code_practice_1-basic.md) * [Python算法练习题](python/0-code_practice_2-algorithm.md) ## 3. 几何 几何不仅仅是数学中非常重要的一个内容,而且是编程中非常有用、有趣的一类知识和技能。为了更好的学习几何,可以使用几何软件例如 [Geogebra](geogebra),另外通过[Python Turtle绘图](python-turtle),或者[Processing绘图](processing)增加对几何的理解,并强化兴趣。 教程和示例代码: * [Geogebra](geogebra) * [Python Turtle绘图](python-turtle) * [Processing绘图](processing) ## 4. 高级绘图 - Processing 为了更好的展示动态效果,可以使用[Processing](processing)绘制更为复杂、动态的图形。 ## 5. 画廊 下面展示一些有趣的绘画,大家可以基于示例程序修改得到自己想要的绘图效果。 ![1_taiji](images/1_taiji.png) ![4_fractalTree2](images/4_fractalTree2.png) ![4_cherryFlower](images/4_cherryFlower.png) ![5_peppaPig](images/5_peppaPig.png) ![Flocking](processing/Flocking/Flock.gif) ![WaltzCircles.gif](processing/WaltzCircles/WaltzCircles.gif) 更多的请访问: * [Python Turtle - Gallery](Gallery_Turtule.md) * [Processing - Gallery](processing/README.md) ## 6. 参考资料 * [参考、说明文档](docs/referenes.md) * [90分钟学会Python](https://gitee.com/pi-lab/machinelearning_notebook/tree/master/0_python) * [安装Python环境](https://gitee.com/pi-lab/machinelearning_notebook/blob/master/references_tips/InstallPython.md)