I made my own animation library

Опубликовано: 11 Июль 2024
на канале: Doug Mercer
28,408
1.6k

To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/DougMercer .
You’ll also get 20% off an annual premium subscription.

———————————————————————————————
Sign up for 1-on-1 coaching at https://dougmercer.dev
———————————————————————————————

I made my own animation library (in Python). It's awesome.

In this video, I show five of the cool features I'm really excited to use, and five of the tough challenges that I had to solve to implement them.

This library's primary goal is to make animating code easier. It's not nearly as flexible or robust as manim, but it's already helpful (for me) in its current form.

Most animations in the video, including section screens and the thumbnail, are drawn using it. The only things that didn't use it are some old video footage, screen captures, some basic text effects and the animated arrows (those are stock assets).

Errata
----------
at 14 34, my implementations for _rsub_ and _rdiv_ were both incorrect. Thanks for catching this @Yoku5!

Music
----------
"11" by HOME, released under CC BY 3.0 DEED, https://home96.bandcamp.com/album/res...

Go buy their music!

Chapters
---------------
00:00 Intro
00:54 What is Animation?
02:21 Groups of Things
03:57 Code, Lines, Tokens, and Characters
06:48 Brilliant (ad)
08:18 GUI
11:06 Variables
12:46 Expressions

Software mentioned
---------------------------------
Pygments - https://pygments.org/
PySide 6 - https://pypi.org/project/PySide6/
Manim - https://manim.community
Davinci Resolve - https://www.blackmagicdesign.com/prod...

Disclosure
-----------------
This video was sponsored by Brilliant.

#python #animation