01 2023 档案
摘要:试了很多方法,都没有用,最后把 python 拓展给禁用了才可以取消下划线
阅读全文
摘要:最近 Jupyter 内核崩了,就打算卸载 Jupyer 和 Anaconda 了 只需要 python, ffmpeg, latex 即可,注意在安装 manim 时要安装在默认位置: python -m pip install manim 不要添加 target,否则会报错: manim : 无
阅读全文
摘要:asp() 即 animation successive play,可以传入一系列动画,实现依次播放,但是其具有缺陷,其会在实现动画前将所有参数解析一遍,这会导致如果存在 updater() 的动画会基于起初的条件进行更新,如果在这之前其他的动画改变了此物体,那么动画将不会变成预期的效果
阅读全文
摘要:前者尽量不要使用,因为多个 animate 出现后只会执行最后一个 后者目前没有什么 bug,但是如果使用 AnimationGroup 可能会出现 bug: def ashg(*args, **kwargs): # Animation Shift group li = [] i = 1 for a
阅读全文
摘要:在做一个 updater(),移动的时候颜色会改变,发现使用 ash() 即 ApplyMethod() 时 updater() 不起作用,而 asho() 即 animate.shift() 会起作用
阅读全文
摘要:如果没有使用 set_camera_orientation(),那么右为 x 轴方向,上为 y 轴方向,垂直纸面为 z 轴方向 如果使用了 set_camera_orientation(),那么视角会顺时针旋转 90 度,即下为 x 轴方向
阅读全文
摘要:%%manim -v WARNING -ql s1 if type("xxp's manim") == str: # 不写在下方 construct 函数中,因为这可能使用到其内部的函数,我想与其分离,因为如果 construct 内部的函数改写了,我此处的类也需要改写 if type('funct
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="try.css"> <title>Document</title> </head> <body> <div clas
阅读全文
摘要:自己写了一个 Chessboard 类: class Chessboard(VGroup): def __init__( self, shape: tuple = (8, 8), height: float = 1, width: float = 2, # depth 属性指的是厚度,不是指处于 z
阅读全文
摘要:这一切都可以在 https://docs.manim.community/en/stable/guides/deep_dive.html 中找到 首先,我们知道,manim 的主要组成部分为:mobject, animation 和 scene 其中,我们只要理解前两者就可以了,我们不关心 scen
阅读全文
摘要:首先定义了三个坐标轴: axes1, axes2, axes3 = all_axes = VGroup(*( Axes((-3, 3), (-1, 1), height=2.0, width=FRAME_WIDTH * 0.5 - 1) for x in range(3) )) 我发现 3b1b 特
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="try.css"> <title>Document</title> </head> <body> <div clas
阅读全文
浙公网安备 33010602011771号