A zoom into the Butterfly Effect

Ойын-сауық

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.

Пікірлер: 40

  • @thecomet8759
    @thecomet87599 күн бұрын

    Butterfly effect? Entropy? Nah, this is art

  • @LetsBounce1

    @LetsBounce1

    9 күн бұрын

    Thanks! It's great to hear you see the art in it too! 🌟

  • @Peluceus
    @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.

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    Well spotted! I watched Tom Scott's video when he first published it; he did a fantastic job explaining the effect :) It's great to see more people enjoying the same kind of videos as me. I noticed that it struggles even in 1080p... I didn't catch this because I only watched the exported video, which is almost lossless.

  • @mayorzulungo
    @mayorzulungoАй бұрын

    This shows perfectly how small variations compound into completely different results. I really enjoyed watching this!

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    Glad to hear you enjoyed the video! Indeed, small initial variations can lead to vastly different outcomes. What I found particularly intriguing was demonstrating that no matter how far into the future you project, there's usually a relationship between parallel futures; it's not just chaos. It's just that we only perceive this relationship when observing many closely spaced variations.

  • @mayorzulungo

    @mayorzulungo

    Ай бұрын

    @@LetsBounce1 Yeah, I agree. There is an order in what we perceive as chaos and it's perfectly symmetrical at all times.

  • @lunchannelhiv709
    @lunchannelhiv70913 сағат бұрын

    I call this butterfly insanity

  • @theepicninja1936
    @theepicninja193615 сағат бұрын

    I am your 200th subscriber!! I'm so excited!❤

  • @LetsBounce1

    @LetsBounce1

    6 сағат бұрын

    Thank you for being my 200th subscriber! If you're excited, imagine how I feel! ❤

  • @adelinasoniapetcu2711
    @adelinasoniapetcu2711Ай бұрын

    Is there any chance that, after every ball gets separated from each other (chaos), they start reordering themselves?

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    Unfortunately, achieving periodicity is unlikely due to the unpredictable nature of the initial impacts and the irrationality of trigonometric functions. Additionally, the presence of gravity further complicates the situation. In the absence of gravity, more trajectories would form loops, but the influence of gravity prevents such regularity.

  • @RoonieBarberien
    @RoonieBarberienАй бұрын

    beautiful pattern

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    Glad you like it :)

  • @JordanEr-vy8xy
    @JordanEr-vy8xy7 күн бұрын

    1:13 op

  • @MenacingPerson
    @MenacingPersonАй бұрын

    Would've been faster to generate the animation on a gpu, surely?

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    In principle no, since the calculations are sequential, but it just occurred to me that the calculations of the trajectories of the balls could be parallelized using the different cores of the processor, since their trajectories are independent. Thanks for your comment!

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    I just tested this improvement (parallelizing balls trajectories in CPU), and the execution time has dropped from 3 hours to just under 39 minutes!

  • @MenacingPerson

    @MenacingPerson

    Ай бұрын

    @@LetsBounce1 Nice!

  • @hust_man
    @hust_manАй бұрын

    wow! very underated!

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    I appreciate that!

  • @boscoyuen8970
    @boscoyuen897029 күн бұрын

    So cool animations and 88 subscribers? Lemme fix that🔨🔨🔨

  • @LetsBounce1

    @LetsBounce1

    29 күн бұрын

    Thank you so much for subscribing! I really appreciate your support and I'm glad you're enjoying the animations. Welcome aboard! 🚀

  • @TheSyporg
    @TheSyporgАй бұрын

    How can i do this as i really liked what you did and would to do some tests on my own

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    You need proficiency in programming, understanding of trajectory dynamics (physics), and the ability to solve 4th-degree equations (mathematics). If you manage these, I can give you some hints to develop it.

  • @TheSyporg

    @TheSyporg

    Ай бұрын

    @LetsBounce1 I guess I've got work to do But like can't you make it an website or something or can't you

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    ​@@TheSyporg It might be feasible with a rectangular frame, unlike the circular one in this video, which would require more computing power. However, I don't have enough time to develop a user-friendly/online playground as I have a full-time job during the day.

  • @TheSyporg

    @TheSyporg

    Ай бұрын

    @LetsBounce1 thanks for the effort you put in your videos

  • @adelinasoniapetcu2711
    @adelinasoniapetcu2711Ай бұрын

    👏🏼👏🏼👏🏼

  • @AstroMicroBro
    @AstroMicroBro9 сағат бұрын

    What's the music name?

  • @LetsBounce1

    @LetsBounce1

    6 сағат бұрын

    It's called 'Wandering', but I don't remember the exact title. I downloaded it from Pixabay

  • @JordanEr-vy8xy
    @JordanEr-vy8xy7 күн бұрын

    4:20 old

  • @AdvikTekkieTalk
    @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)

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    You're correct, adding more balls won't affect the trajectories of the other balls. But what I found particularly intriguing was demonstrating that no matter how far into the future you project, there's usually a relationship between parallel futures; it's not just chaos. It's just that we only perceive this relationship when observing many closely spaced variations.

  • @LetsBounce1

    @LetsBounce1

    Ай бұрын

    In fact, as long as gravity is not 0 and the initial velocity of the balls is 0, as in this animation, the gravity doesn't affect the trajectories of the balls other than their speeds.

  • @Thunderz2024
    @Thunderz202411 сағат бұрын

    Realizing the ball will never hit the top

  • @TalkMixPods
    @TalkMixPods24 күн бұрын

    Name game 😮

  • @TheNarwhal784

    @TheNarwhal784

    13 күн бұрын

    I believe it was coded in Python, it's not a game.

  • @LetsBounce1

    @LetsBounce1

    13 күн бұрын

    You're right, it's not a game, it's coded in java :)

  • @wiglett_
    @wiglett_2 күн бұрын

    This is not entropy

Келесі