Another #manim video, this time #math stuff. One of my favorite "proof without words" #proof of the #Pythagoras theorem.
This version of this proof has a square of side length equal to the hypotenuse inside 4 triangles. At some point, I also want to do the other version of this proof where the triangles go inside a square with side=hypotenuse. Same principle, except the algebra uses the square of a difference (𝑎−𝑏)² instead of the square of a sum used in this proof. In both cases a 2𝑎𝑏 term cancels out to reveal the Pythagoras theorem.
As is usual with learning a new thing I'm realizing that my earlier animation of the Master theorem could've been made much better if I had bothered to read up some other sections of the reference manual.
#Pythagoras #proof #math #Manim
Thanks to @aksharvarma for sharing this cool example:
https://mathstodon.xyz/@aksharvarma/110715704134127201
I have now learned about #manim, a fantastic-looking #Python library for creating mathematical animations to explain or demonstrate stuff. This looks like a *huge* time-saver for when/if I make explainer videos!
https://www.manim.community/
After learning how to do it today, here's my first go at using the #manim library to create an animation explaining a #math concept. Although here I suppose it is more a #computerscience or analysis of #algorithms concept.
I haven't provided any context in the animation (I ran out of coding+compiling steam once the core explanation was satisfactory to me). It highlights the key ideas and terms for the three primary cases of the Master theorem for solving recurrences. It is not the most general form, but is perhaps the easiest/most useful form for an undergrad to grasp.
Allows analyzing recursive algorithms which split a problem with input size 𝑛 into 𝑎 subproblems, each of size 𝑛/𝑏 and spends 𝑛ᶜ time to perform the splitting into subproblems and/or recombining of subproblem solutions to get the overall solution.
The final runtime depends on 𝑐 and on what is often called the critical exponent \(\log_b (a)\). When teaching, I often frame it as let these two fight and whoever wins will dominate the runtime. If it is a draw, they compromise by throwing an extra log𝑛 term in there. At least that's my mnemonic.
#algorithms #computerscience #math #Manim
Playing around with #manim for an animation that I want to do and made this for practice. It shows that a parabola is the locus of points equal distance from a focal point and a line called a directrix #animation #geometry #parabola
#parabola #geometry #animation #Manim
Ma vidéo finale sur les fonctions #affines en #maths réalisée avec #manim
https://tube-sciences-technologies.apps.education.fr/w/ck1aoBoiYibDEyxi6rybb4
Le code source est en description.
I'm not sure I'm using #matplotlib is really appropriate here but I'm having fun debugging & visualizing the Median Cut algorithm with it.
A bit annoying that the depth is off and that it's laggy as hell. Maybe I could try with #manim or something else?
Hello! I made a #math #video using #manim about #inversion. Hope you like it, and please give me some constructive criticism!
#inversion #Manim #video #math
#Education
> #Reanimate is a library for programmatically generating animations with a twist towards #mathematics / #2D vector drawings. A lot of inspiration was drawn from #3b1b's #manim library.
> [it glues] together different technologies: #SVG as a universal image format, #LaTeX for typesetting, #ffmpeg for video encoding, #inkscape/#imagemagick for rasterization, #potrace for vectorization, #blender/#povray for 3D graphics, and #Haskell for scripting.
https://github.com/reanimate/reanimate
#haskell #blender #potrace #inkscape #ffmpeg #latex #svg #Manim #3b1b #2d #mathematics #reanimate #education
Wow, today I learned about #Manim, a #python library to create mathematical animations and scientific presentations.
Just saw a presentation using it and I must say it looked really amazing.
Sure, it does not make good content any less necessary, but, beyond the glitter, it could be really useful for people looking for ways to do animations, understandable 3D plots...
#TIL #science #presentation #scicomm #animation #math #plots #LaTeX
#Manim #python #til #science #presentation #scicomm #animation #math #plots #latex