Back to Browse

Manim Tutorial Series E05: Interactivity | Mathematical Animations WITH EASE

43.8K views
Apr 15, 2022
46:58

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): https://mybinder.org/v2/gh/behackl/manim-with-ease/HEAD?labpath=E05%20-%20interactivity.ipynb - OpenGL user guide by aquabeam: https://web.archive.org/web/20250708135737/https://www.aquabeam.me/manim/opengl_guide/ - Issue #2669: https://github.com/ManimCommunity/manim/issues/2669 - pyglet documentation: https://pyglet.readthedocs.io/en/latest/index.html - pyglet key constants: https://pyglet.readthedocs.io/en/latest/programming_guide/keyboard.html - Interactive Scene methods source code: https://github.com/ManimCommunity/manim/blob/f73861e3581871c719e3131699e0111238a6d5e7/manim/scene/scene.py#L1520 - GitHub repo with series materials: https://github.com/behackl/manim-with-ease - Manim: https://www.manim.community - Discord: https://manim.community/discord ### More about me - Homepage: https://benjamin-hackl.at - Twitch: https://twitch.tv/behackl - Twitter: https://twitter.com/behackl - Discord: https://benjamin-hackl.at/discord ### Attributions - Audio mix & master: Jesús Rascón (@jesi_rgb) - Presentation slides via https://revealjs.com ### Music - Album: Ayla by Bhxa | Provided by Lofi Records | https://lofigirl.com/blogs/releases/ayla - Album: Sea Forest by Ambulo | Provided by Lofi Records | https://lofigirl.com/blogs/releases/sea-forest - Album: My Memoir by Elijah Lee | Provided by Lofi Records | https://lofigirl.com/blogs/releases/my-memoir --- 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

Download

1 formats

Video Formats

360pmp462.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Manim Tutorial Series E05: Interactivity | Mathematical Animations WITH EASE | NatokHD