cours/manim créer une scène.md
Oscar Plaisant 602a41e7f8 update
2024-12-25 22:30:24 +01:00

29 lines
534 B
Markdown

---
title: |
```python
from manim import *
class NomDeLaScene(Scene):
def construct(self):
circle = Circle()
self.play(Create(circle))
self.wait()
```
---
up:: [[manim]]
#s/informatique/langage/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`)