A zoom into the Butterfly Effect

7,676
0
Published 2024-05-06
Welcome back!
In this video I show the great impact that a small variation—just 5 pixels at the outset—on the future. I also increase the sampling of balls to bring order to the apparent chaos that unfolds.

Did you know that with every ball collision in a single frame, the algorythm solves at least one 4th degree equation with a precision of 34 decimal figures?

Technical part:
Since last video, I've been hard at work refining the precision of the bouncing mechanics, upgrading from 64-bit double floating-point to 128-bit decimal calculations, which has resulted in more natural ball bounces. I also fixed bouncing in some challenging edge cases and addressed several pesky bugs along the way.

All Comments (16)
  • @Peluceus
    With the last animation, Tom Scott's video on snow and confetti in video comes to mind. It's an interesting connection between when the order starts and the video is crisp and clear - and you can see the compression begin to struggle to keep up once the balls start to act as noise; all in real time.
  • @mayorzulungo
    This shows perfectly how small variations compound into completely different results. I really enjoyed watching this!
  • Is there any chance that, after every ball gets separated from each other (chaos), they start reordering themselves?
  • @MenacingPerson
    Would've been faster to generate the animation on a gpu, surely?
  • @boscoyuen8970
    So cool animations and 88 subscribers? Lemme fix that🔨🔨🔨
  • @TheSyporg
    How can i do this as i really liked what you did and would to do some tests on my own
  • @AdvikTekkieTalk
    Dude I am pretty sure in the beginning you're changing the wrong variable in your experiment, you shouldn't change the number of balls as that has 0 effect (no collisions), you should've changed things such as gravity (which you did later on)