A computer animation by Jason Schattman that shows how complex-valued functions warp & twist the plane in stunning—and sometimes violent—ways. For example, the function f(z) = z^2 shown at the start of the video bends each vertical line of the grid into a left-facing parabola, and each horizontal line into a right-facing parabola. The square-root function (shown at 1:58) literally rips the grid in two! But my favourites are the reciprocal function f(z) = 1/z (at 1:23), which turns the grid inside out, and f(z) = sin(z) (at 2:20), I won’t give it all away. Just watch and enjoy. :)
More detail for the mathematically inclined
********************************************
These animations are illustrations of conformal mapping. A conformal map of a complex-valued function f(z) is a graph on the complex plane that shows how each vertical and horizontal line gets transformed by the function. (The complex plane is the set of all complex numbers of the form a bi, where i is the square root of -1.)
For each point z in the grid that is being mapped, the program computes f(z) (think of this as the final destination of point z). The program then animates the journey of that point between z and f(z) over time. This is done using linear interpolation. At time t, where t ranges from 0 at the start to 1 at the end, let g(z, t) be the interpolated point between the starting point z and the ending point f(z). The program computes point g using the formula g(z, t) = t(f(z)) (1-t)z, so that g(z, 0) = z at the start, and g(z, 1) = f(z) at the end, and g(z, 0.5) would be halfway between z and f(z).
To see more of my mathematical animations, check out my videos on...
Animated string art:
All 6 Trig Functions on the unit circle:
Optical illusions with rotating cubes:
Amazing epicycles using tumbling batons:
Sound waves in an oval room:
Fly through the 3D Sierpinski pyramid:
Drawing on a spinning white board:
Cool mathy fact: Watch how the quartic function f(z) = z^4 maps the vertical lines of the grid directly on top of the horizontal lines! Can you see how this relates to the fact that i^4 = 1?
I coded these animations using the Processing programming language. You can download the code at
With the code, you can easily create your own complex-valued functions and make new animations with them.
1 view
262
87
3 days ago 00:14:16 0
LTT Game Nerf War : SEAL X Nerf Guns The Most Stressful Heatwave Mission LTT Has Ever Had!
3 weeks ago 00:00:18 1
She Was Just Pretty… Until AI Hit the Gym 💪😂 #shorts #AImagic
3 weeks ago 00:02:25 2
Greta’s Anatomy | Redneck AI Country Parody (Grey’s Anatomy)
3 weeks ago 00:01:01 3
Actors & Their Iconic Roles AI Fashion Runway part 8 #aiart #thor #johnwick #scarletwitch #loki
4 weeks ago 00:04:02 0
SIA & DAVID GUETTA - TITANIUM (Music Video 2025 | Sora) @sia @davidguetta
4 weeks ago 00:53:12 1
2025 Life Time UNBOUND Gravel presented by Shimano Race Highlights
1 month ago 00:20:27 1
System of a Down if They Were a 1970s Hard Rock Band | System of a Crown
1 month ago 00:02:24 2
Charlie’s Angels BRAND NEW EPISODE (2025)!
1 month ago 00:02:43 2
Charlie’s Angels: MIND CONTROL (Episode 1)
1 month ago 00:01:42 2
Charlie’s Angels: Brand New Parody Series Teaser
1 month ago 00:02:17 2
Ball Drop Madness | Political AI Music Video
1 month ago 00:08:11 6
Funky Green Dogs - Fired Up (Murk’s Original Groove) - 1996
1 month ago 01:11:06 1
Texas Country Song for True Cowboys and Cowgirls: The Ultimate Collection of Timeless Hits!
1 month ago 00:01:23 8
Zootopia 2 | Teaser Trailer
1 month ago 00:01:00 8
🌟 Unbelievable Magic Transformation! From Vase to White Tiger Woman to Flower Queen | Must-See Show
2 months ago 00:08:31 1
Jury RAGES On Diddy For Lying Under Oath | Court Drama HEATS UP!
2 months ago 01:34:41 1
Hydra - The Lost Island Full Movie | Monster Movies | The Midnight Screening
2 months ago 00:00:20 2
Rogue Core: April Dev Diary - Hammer Caster
2 months ago 00:00:00 0
Rust | Movie Review (2025)
2 months ago 00:09:40 0
Super Hot | Indie Game about Time | w/ facecam - MATRIX!