AnimG LogoAnimG

Explore Community Manim Examples

Browse published Manim examples, math animation examples, and reusable ideas created by the AnimG community.

Sliding Block on a Surface with Variable Friction

Sliding Block on a Surface with Variable Friction

The animation shows a block moving from point a to point b on a horizontal plane where the coefficient of kinetic friction changes with position. A plot of the friction coefficient is displayed, highlighting the interval of motion. As the block slides, the current friction value and force are shown, and a marker moves along the plot. The work done by friction is illustrated as the shaded area under the curve and expressed with the integral formula, followed by a brief numeric example.

mechanicsfrictionwork-energyvariable-coefficients
Nghi Trần PhươngNghi Trần Phương
Binary Insertion Sort Step-by-Step Visualization

Binary Insertion Sort Step-by-Step Visualization

The animation walks through binary insertion sort on a small list of numbers. It highlights the current key, shows the binary search for the insertion point with shrinking intervals, and animates the shifting of elements. Each step demonstrates how comparisons are reduced to logarithmic time while movements remain quadratic, ending with the fully sorted list and a brief summary of performance.

sortingbinary-insertion-sortalgorithm-visualization
Jesús Eduardo Mondragón ArreguinJesús Eduardo Mondragón Arreguin
Unit Circle Motion Traced as a Sine Wave

Unit Circle Motion Traced as a Sine Wave

A point moves counter‑clockwise around a unit circle while a vertical line projects its height onto a separate axis. As the point completes one full rotation, its vertical coordinate is plotted in real time, drawing one period of a sine wave. The animation shows the direct connection between circular motion and the sine function, ending with both the circle and the wave fading out.

trigonometryunit-circlesine-wave
Nguyễn HảiNguyễn Hải
Optimizing Water Pipe Layout with Derivatives
Math

Optimizing Water Pipe Layout with Derivatives

A two‑minute animation walks through the cost‑minimization problem for a water pipe installation. It introduces the variables, derives the distance formulas, builds the cost function, computes the first derivative, solves for the critical point, confirms a minimum with the second derivative, presents numerical results, and displays the cost curve with the optimal point highlighted.

calculusoptimizationengineeringcost-analysis
JimJim
Apple Drop to Planet Scale

Apple Drop to Planet Scale

A clean 2‑D vector animation shows a red apple detaching from a simple branch, falling gently with a hint of gravity, touching the ground, then the camera lifts and zooms out to reveal a minimalist Earth, keeping the apple as a tiny point. The sequence visualizes free‑fall motion and a dramatic scale transition from a local scene to a planetary view in about ten seconds.

physicsscale-transitionplanetary-view
mq691728
Quick Tour of Three Classic Math Tricks
Math

Quick Tour of Three Classic Math Tricks

A short visual showcase of three popular mental math tricks. First, the 1089 reversal trick demonstrates how any three‑digit number leads to 1089 through reversal, subtraction, and addition. Next, a finger method reveals the product of six times seven as 42. Finally, the digit‑sum test shows how adding the digits of any number determines divisibility by nine. Each trick is animated step by step with minimal captions.

mental-mathnumber-trickseducational-animation
Roblox PlayerRoblox Player
Proof of Right Triangle Hypotenuse Using Centroids

Proof of Right Triangle Hypotenuse Using Centroids

The animation places two right isosceles triangles sharing a common right angle on a horizontal base, shows their medians and centroids, drops perpendiculars from the centroids, forms a right‑angled trapezoid, and highlights a small inner right triangle. It then demonstrates the Pythagorean calculation that leads to a hypotenuse length of ten centimeters.

geometrytrianglespythagorean-theoremcentroidvisual-proof
Kubilay ÖztürkKubilay Öztürk
Orthocenter Construction for Eight Triangle Types

Orthocenter Construction for Eight Triangle Types

A visual proof shows how the three altitudes of acute, obtuse, right, isosceles, and equilateral triangles intersect at the orthocenter. Each phase draws a specific triangle, adds altitudes step by step, marks right angles, and highlights the common point H. The final slide compares the orthocenter positions across all cases, illustrating interior, vertex, and exterior locations.

geometryorthocentertrianglesaltitudes
Kubilay ÖztürkKubilay Öztürk
Midpoint Perpendiculars and Circumcenter Across Triangle Types

Midpoint Perpendiculars and Circumcenter Across Triangle Types

The animation draws various triangles—acute, obtuse, right, isosceles and equilateral—marks side midpoints, constructs the perpendicular bisectors, shows their common intersection O, highlights equal distances from O to each vertex, and draws the circumcircle. A final slide compares the position of O and the circumcenter for all cases.

geometrytrianglescircumcenterperpendicular-bisectors
Kubilay ÖztürkKubilay Öztürk
Five People Arranged in All Possible Orders

Five People Arranged in All Possible Orders

A step‑by‑step visual proof shows how five distinct silhouettes can be placed in a row. Each scene highlights the decreasing number of choices for the next slot, building the multiplication 5 × 4 × 3 × 2 × 1 and ending with the factorial result of 120 different arrangements.

combinatoricsfactorialpermutationsvisual-proof
Kubilay ÖztürkKubilay Öztürk
Midpoint and Angle Bisector in a Scalene Triangle

Midpoint and Angle Bisector in a Scalene Triangle

The animation draws a scalene triangle with given side lengths, marks the midpoint of the base, constructs the internal angle bisector from the top vertex, and then walks through the algebraic steps using the midpoint formula and the angle bisector theorem to compute the length of the segment between the midpoint and the bisector intersection.

geometrytrianglemidpointangle-bisector
Kubilay ÖztürkKubilay Öztürk
Step by Step Matrix Multiplication of Two 2x2 Matrices

Step by Step Matrix Multiplication of Two 2x2 Matrices

The animation shows two 2 by 2 matrices side by side, then visualizes each row of the first matrix paired with each column of the second. Elementwise products are highlighted, summed, and the resulting entry is placed into the product matrix. Each entry is computed in sequence, flashing as it appears, and the completed product matrix is revealed at the end.

linear-algebramatrix-multiplication
phdmjjm