Рет қаралды 24,095
Manim is a free and open-source, community-maintained Python library for creating (mathematical) animations originally started by Grant "3blue1brown" Sanderson. This tutorial series is a guided tour through Manim's features.
This episode covers a very particular feature: keyboard and mouse interactivity with the OpenGL renderer - enjoy!
#manim #tutorial #animation #python #programming #math #3blue1brown
Links to resources
- Jupyter worksheet (copy code to run locally, interactivity does not work online): mybinder.org/v2/gh/behackl/ma...
- OpenGL user guide by aquabeam: www.aquabeam.me/manim/opengl_...
- Issue #2669: github.com/ManimCommunity/man...
- pyglet documentation: pyglet.readthedocs.io/en/late...
- pyglet key constants: pyglet.readthedocs.io/en/late...
- Interactive Scene methods source code: github.com/ManimCommunity/man...
- GitHub repo with series materials: github.com/behackl/manim-with...
- Manim: www.manim.community
- Discord: manim.community/discord
More about me
- Homepage: benjamin-hackl.at
- Twitch: / behackl
- Twitter: / behackl
- Discord: benjamin-hackl.at/discord
Attributions
- Audio mix & master: Jesús Rascón (@jesi_rgb)
- Presentation slides via revealjs.com
Music
- Album: Ayla by Bhxa | Provided by Lofi Records | lofigirl.com/blogs/releases/ayla
- Album: Sea Forest by Ambulo | Provided by Lofi Records | lofigirl.com/blogs/releases/s...
- Album: My Memoir by Elijah Lee | Provided by Lofi Records | lofigirl.com/blogs/releases/m...
---
Video contents:
0:00 Introduction and Disclaimers
1:50 The OpenGL Renderer and You
4:43 Example: OpenGL demo
13:47 Example: Textured Surface
15:18 Live Render Preview
21:19 Default Interactions
24:16 Custom Interactions
28:06 Example: Toy interaction example
33:08 Example: Newton iteration
44:58 Closing remarks, Outro