如果我跑了
python -m manimlib scene.py ket_bra
我的场景在交互式查看器中呈现得很好,但是我没有得到任何输出文件,终端会打印以下内容
ManimGL v1.6.1
[13:55:48] INFO Using the default configuration file, which you can modify in `c:\users\miika\manim\manimlib\default_config.yml`
我正在寻找类似于新的'coords_to_point'版本(2021年)中已经失效的manim。
你用什么代替coords_to_point?
from manimlib import *
class DiagramPlot(Scene):
def construct(self):
data = [20, 0, 0, -5]
x = [0, 8, 38, 39]
dot_collection = VGroup()
for time, val in enumerate(data):
dot = Dot().move_to
我已经使用Manim大约一个月了,当我到达的时候,没有比缺少声音更痛苦的事情了。
所以代码看起来像这样:
class AudioTest(Scene):
def construct(self):
group_dots=VGroup(*[Dot()for _ in range(3)])
group_dots.arrange_submobjects(RIGHT)
for dot in group_dots:
self.add_sound("click_this_and_nothing_else",gai
基本上这和中的问题是一样的,但是不清楚这个人是如何解决这个问题的,因为他说他不知道他是如何解决这个问题的。我使用的是Windows10和MiKTeX。我尝试编辑constants.py,TEX_USE_CTEX = False被更改为True,并返回错误:
File "D:\Programs\manim\manim\manimlib\extract_scene.py", line 153, in main
scene = SceneClass(**scene_kwargs)
File "D:\Programs\manim\manim\manimlib\sce
$ python3 -m manim example_scenes.py WriteStuff -pl
Media will be written to /Users/pi/Documents/ManimInstall/manim/media/. You can change this behavior with the --media_dir flag.
sh::命令not
Traceback (most recent call last):
File "/Users/pi/Documents/ManimInstall/manim/manimlib/extract_scen
我目前正在使用jupyter-manim,因为这是我使用manim最有效的方式。我在Kaggle上运行我的代码,每次我在manim中使用TextMobject时,它都会输出一个显示为Latex error converting to dvi. See log output above or the log file: media/Tex/54dfbfee288272f0.log的错误。我尝试过TexMobject和Text函数,但只有Text函数有效。然而,文本功能是有限的,我不确定如何改变字体。有没有办法解决这个问题,或者是使用jupyter-manim时附带的东西?似乎所有其他功能都可以工
我正试着在Colab里运行shaders version of Manim。这个版本必须在实时交互窗口中显示渲染的视频,而不仅仅是编写mp4。我安装并导入了所有内容,没有任何错误: from manimlib.imports import * 但在运行时会出现异常: !python3 -m manim example_scenes.py OpeningManimExample
Media will be written to ./media/. You can change this behavior with the --media_dir flag.
Traceback (most r
我在一个vgroup中动态创建了10个文本输入。当用户单击一个按钮时,我想获取所有文本输入上显示的文本。如何做到这一点。我的代码如下所示
var vgroup:VGroup = new VGroup;
for(var i:number=0;i<10;i++){
var textinput:TextInput=new TextInput();
vgroup.addElement(textinput):
}
我使用的是Ubuntu (22.04LTS版本),并遵循来自的安装文档,但是当我试图运行scene.py CreateCircle的测试代码时,我得到如下信息:
“没有找到'manim‘指挥部,你的意思是:.”
有人知道怎么解决这个问题吗?
测试代码(来自):
from manim import *
class CreateCircle(Scene):
def construct(self):
circle = Circle() # create a circle
circle.set_fill(PINK, opacity=0.5) # set the color