cours/manim créer une scène.md
oscar.plaisant@icloud.com a2ee0fa5ca from github to this gitea
2023-10-23 23:09:51 +02:00

29 lines
524 B
Markdown

---
title: |
```python
from manim import *
class NomDeLaScene(Scene):
def construct(self):
circle = Circle()
self.play(Create(circle))
self.wait()
```
---
up:: [[manim]]
#informatique/python
---
```python
from manim import *
class NomDeLaScene(Scene):
def construct(self):
circle = Circle()
self.play(Create(circle))
self.wait()
```
- [!] pour [[manim compiler une scène|compiler]], il faut préciser le bon nom de scène (ici `NomDeLaScene`)