3b1b / 3b1b/manim

New Manim version that supports GPU

オープン
#936 コメント 45 件 リアクション 4 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.8k
フォーク
7.7k
PR マージ指標
PR 指標を取得中

説明

I get an error in Colab trying to run Manim from "shaders" branch. I see `tqdm` for each animation, that means they are successful. But then it gets into a loop and I have to stop it with the error:
```
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/manim/manim.py", line 5, in
manimlib.main()
File "/content/manim/manimlib/__init__.py", line 14, in main
scene.run()
File "/content/manim/manimlib/scene/scene.py", line 77, in run
self.tear_down()
File "/content/manim/manimlib/scene/scene.py", line 96, in tear_down
self.interact()
File "/content/manim/manimlib/scene/scene.py", line 104, in interact
self.update_frame()
File "/content/manim/manimlib/scene/scene.py", line 139, in update_frame
self.camera.clear()
File "/content/manim/manimlib/camera/camera.py", line 114, in clear
rgba = (*Color(self.background_color).get_rgb(), self.background_opacity)
File "/usr/local/lib/python3.6/dist-packages/colour.py", line 988, in __init__
self.web = color if color else 'black'
File "/usr/local/lib/python3.6/dist-packages/colour.py", line 1006, in __setattr__
fc(value)
File "/usr/local/lib/python3.6/dist-packages/colour.py", line 1084, in set_web
self.hex = web2hex(value)
File "/usr/local/lib/python3.6/dist-packages/colour.py", line 1005, in __setattr__
fc = getattr(self, 'set_' + label)
KeyboardInterrupt
```
**UPDATE:
If you want to try it in Colab, [the code is here](https://github.com/moderngl/moderngl/issues/392#issuecomment-605913255).**

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。