摘要:
整个集合大概是按照难易程度排序,简单常见的在前面,比较少见的在最后。 1.1 拆项 >>> a, b, c = 1, 2, 3 >>> a, b, c (1, 2, 3) >>> a, b, c = [1, 2, 3] >>> a, b, c (1, 2, 3) >>> a, b, c = (2 * 阅读全文

posted @ 2024-08-05 09:00
近我者赤
阅读(42)
评论(0)
推荐(0)
摘要:
1.turtle绘制奥运五环图 import turtle as p def drawCircle(x,y,c='red'): p.pu()# 抬起画笔 p.goto(x,y) # 绘制圆的起始位置 p.pd()# 放下画笔 p.color(c)# 绘制c色圆环 p.circle(30,360) # 阅读全文
posted @ 2024-08-04 19:53
近我者赤
阅读(235)
评论(0)
推荐(0)
摘要:
坐标系与坐标平面--效果: 代码: # -*- coding: utf-8 -*- from manim import * class ZBX_ZBPM(Scene): def construct(self): #坐标平面(网格) my_plane = NumberPlane( faded_line 阅读全文
posted @ 2024-07-26 09:24
近我者赤
阅读(207)
评论(0)
推荐(0)
摘要:
文本测试--效果: 代码: #-*- coding: utf-8 -*- from manim import * class TransformExample(Scene): def construct(self): banner = ManimBanner() banner.shift(UP * 阅读全文
posted @ 2024-07-26 09:20
近我者赤
阅读(122)
评论(0)
推荐(0)
摘要:
几个常用的教程: 系列教程manim 中文教程文档(含安装教程) 系列教程manim使用(一) manim基本组件 系列教程做出高逼格的数学动画——一起来学manim·入门篇(一) manim边学边做--MathTex 利用Python中的Manim进行数学绘画和创作 常用的一些操作 【注:随版本升 阅读全文
posted @ 2024-07-26 08:51
近我者赤
阅读(1328)
评论(0)
推荐(0)