A zoom into the Butterfly Effect - Part 1

Поделиться
HTML-код
  • Опубликовано: 29 авг 2024
  • 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.
    Part 2: • 100,000 BALLS!! A zoom...

Комментарии • 126

  • @LetsBounce1
    @LetsBounce1  Месяц назад +2

    As some of you have mentioned that my videos could be screensavers, please let me know if you would be interested in purchasing, for a symbolic price, screensavers of some of my videos 🤗

  • @thecomet8759
    @thecomet8759 2 месяца назад +94

    Butterfly effect? Entropy? Nah, this is art

  • @Peluceus
    @Peluceus 3 месяца назад +74

    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  3 месяца назад +5

      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 3 месяца назад +32

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

    • @LetsBounce1
      @LetsBounce1  3 месяца назад +4

      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 3 месяца назад +2

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

  • @climsmedia
    @climsmedia 2 месяца назад +4

    I love adding the butterfly effect to time because even the slightest change in the past can completely change the future

  • @TheRedEpicNinjaaaaa
    @TheRedEpicNinjaaaaa 2 месяца назад +5

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

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

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

  • @cloverpayne6652
    @cloverpayne6652 2 месяца назад +1

    I like looking for the shapes they make. Usually flowers, sometimes a face. Always beautiful.

  • @alreadywhere
    @alreadywhere 2 месяца назад +4

    The last 25 seconds are what we’d see if we could see through time, I bet.

  • @julianemery718
    @julianemery718 Месяц назад +1

    I find it interesting that a circular boundery causes chaos and a hyperbolic boundery doesn't, or at least i havent seen a video of a hyperbolic boundery go on for long enough to tell if its chaotic or not.

    • @LetsBounce1
      @LetsBounce1  Месяц назад

      That sounds interesting! I'll check out some videos to see the difference

  • @GlitchArt908
    @GlitchArt908 2 месяца назад +2

    10K was beautiful!!

  • @frankyanish4833
    @frankyanish4833 2 месяца назад +6

    I feel it necessary to point out that this is not an example of chaos.
    It is a closed system of perfectly elastic impacts.
    The same starting conditions for the balls will give the same result every time.

    • @LetsBounce1
      @LetsBounce1  2 месяца назад +1

      I agree, it's true that the system is deterministic for the reason you mentioned. But sometimes we call it chaos when a system's state is so complex that we no longer understand how it got to that point. Another example is Brownian motion. Fundamentally, it's not random because we could determine the cause of each movement if we analyzed every impact in detail, but we call it chaotic because it escapes our ability to analyze it.

    • @frankyanish4833
      @frankyanish4833 2 месяца назад +3

      @@LetsBounce1 my point is that each of the balls only interact with the wall. The interactions involve no entropy(chaos); they are perfectly elastic. That makes each ball a separate instance of a closed, 1-body system.
      The animation(which looks rather cool) is overlaying these different systems upon each other to give an illusion of complexity.

    • @stefperb9531
      @stefperb9531 2 месяца назад

      ​@@frankyanish4833would a 2 pieces pendulum count as chaotic?

    • @frankyanish4833
      @frankyanish4833 2 месяца назад

      @@stefperb9531 if it’s not in a perfect vacuum with frictionless bearings? Yes.

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      @frankyanish4833 You have a good point, it's just an illusion of complexity

  • @Bleplebeian
    @Bleplebeian 2 месяца назад +1

    i find it interesting and cool that at one point you can kinda see the balls form a butterfly shape. a very trippy, hard to make out butterfly shape, but a butterfly shape none the less. kinda makes me question why butterflies look the way they do, even if the evolution of the butterfly probably (most definitely) has nothing to do with a bunch of small circles bouncing around in a bigger circle

  • @yeremkevorkian1762
    @yeremkevorkian1762 Месяц назад +1

    4:11 that’s my jar of jellybeans😂

  • @andrefilho1111
    @andrefilho1111 2 месяца назад +1

    Interesting, that no ball goes beyond the initial height, because of energy conservation, so you have a sea of static and that tiny part on the top with nothing

  • @Operator256
    @Operator256 2 месяца назад +4

    I felt like I was sitting close to the one screen on old tvs

  • @adelinasoniapetcu2711
    @adelinasoniapetcu2711 3 месяца назад +14

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

    • @LetsBounce1
      @LetsBounce1  3 месяца назад +13

      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.

  • @kerryjacobs649
    @kerryjacobs649 20 дней назад

    Thanks! I hope that my small token of appreciation sets the butterfly wings in motion for your piggy-bank to fill so that you can be further inspired to present us with more future relaxing and awesome,thought-provoking animations.

  • @jazzabighits4473
    @jazzabighits4473 2 месяца назад +2

    Reminds me of some of Mikan's stuff. Very soothing to watch.

  • @RoonieBarberien
    @RoonieBarberien 3 месяца назад +4

    beautiful pattern

  • @lunchannelhiv709
    @lunchannelhiv709 2 месяца назад +2

    I call this butterfly insanity

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 Месяц назад +1

    I can confirm taht 65536 balls would be chaos.

  • @tvgatos9334
    @tvgatos9334 2 месяца назад +3

    I can call “The art of random”

  • @Osai1234
    @Osai1234 2 месяца назад +1

    okay THIS is what i was looking for!!✅ the science behind the bounce path, if that makes sense? idk but i imagine someone understands or knows the math behind this

    • @LetsBounce1
      @LetsBounce1  2 месяца назад +1

      The science behind bounces is well studied and understood in the right scientific comunity

  • @yeremkevorkian1762
    @yeremkevorkian1762 Месяц назад +1

    I would call it the mirroring effect

  • @dbkids123
    @dbkids123 2 месяца назад +2

    Gumball machine at the end. Interesting how gravity stops everything.

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 29 дней назад

    Idk why but I think the patterns it forms are symmetrical

  • @fusionfrenzytv
    @fusionfrenzytv Месяц назад +1

    Although seems like it. Not a chaos at all. The most orderly thing there is.

  • @MenacingPerson
    @MenacingPerson 3 месяца назад +5

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

    • @LetsBounce1
      @LetsBounce1  3 месяца назад +1

      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  3 месяца назад +6

      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 3 месяца назад

      @@LetsBounce1 Nice!

  • @hust_man
    @hust_man 3 месяца назад +2

    wow! very underated!

  • @death_doom999
    @death_doom999 2 месяца назад +1

    this is technology
    if you have a very powerful computer that is

  • @AstroMicroBro
    @AstroMicroBro 2 месяца назад +4

    What's the music name?

    • @LetsBounce1
      @LetsBounce1  2 месяца назад +1

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

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 Месяц назад +1

    love ya vids

  • @Gumbocinno
    @Gumbocinno 2 месяца назад

    Looks like a dmt trip at some points

  • @TosGD
    @TosGD 2 месяца назад +2

    nice processor btw

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      Thanks! It gets the job done well :)

    • @TosGD
      @TosGD 2 месяца назад +1

      @@LetsBounce1 I only have 13700F :(

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      that's still very good!

  • @tenhayz1889
    @tenhayz1889 2 месяца назад +1

    Is it possible to extrapolate the starting state from later states? Does it stop being possible at some point?

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      Yes, it is possible (within the limits of the precision allowed by finite decimal places), since the bounces against the walls are always symmetrical with respect to the perpendicular, regardless of the direction from which the ball comes

  • @marcus-gg7fd
    @marcus-gg7fd 2 месяца назад +1

    so satafing

  • @hrushics4717
    @hrushics4717 26 дней назад

    Which game engine do you use to create this videos?

    • @LetsBounce1
      @LetsBounce1  25 дней назад

      Just plain old java with javafx

  • @boscoyuen8970
    @boscoyuen8970 3 месяца назад +2

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

    • @LetsBounce1
      @LetsBounce1  3 месяца назад

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

  • @captaincombustion6020
    @captaincombustion6020 2 месяца назад

    4:09 how it feels when my foot falls asleep

  • @The-JAILOR
    @The-JAILOR 2 месяца назад

    I personally call it "a bunch of circles in a much bigger circle", but y'all seem to like to overcomplicate things

  • @andremarquesdossantos5423
    @andremarquesdossantos5423 2 месяца назад +2

    Your mind if your an artist 3:16

  • @KaycinEdits
    @KaycinEdits 2 месяца назад

    what software do you use to make these animations?

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      I dont use a third-party software, I coded it in java :)

  • @user-vm5tt1ql7l
    @user-vm5tt1ql7l 2 месяца назад +1

    Wow
    That was good

  • @Lobsinus
    @Lobsinus 2 месяца назад +1

    This isn't really the best display of chaos. You've created perfectly predicable motion instead.
    A double pendulum is a much better example.

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      You are right, from a scientific point of view it's not a chaotic system, as @frankyanish4833 also pointed out, it's just an illusion of complexity :)

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 Месяц назад +1

    Make it an interactive website

    • @LetsBounce1
      @LetsBounce1  Месяц назад

      @truongquangduylop33 It could be possible with simpler animations and a rectangular frame, which would require less computing power compared to the circular one in this video. However, creating an interactive website would be a huge time commitment. Unless RUclips starts paying me to make this a full-time job (Subscribe 😂🤭), I can't dedicate the time needed because I already have a full-time job.

  • @penndragyn3728
    @penndragyn3728 2 месяца назад

    Touhou eat your heart out

  • @WATERWUBBOXISCOOLLOL
    @WATERWUBBOXISCOOLLOL Месяц назад +1

    M I R R O R

  • @zebraforceone
    @zebraforceone 2 месяца назад +1

    Your render times are awfully high, 10k particles with no self collision should be possible in real time. Maybe slightly slower if you're encoding HD video on the fly. You're using the GPU right?

    • @LetsBounce1
      @LetsBounce1  2 месяца назад +1

      First, let me say that I am by no means an expert in animations, collision detection, rendering, or reallife simulations. This is just a hobby project.
      To answer your question, for rendering, I use the GPU, but for collision detection (even if it's only with the circular wall), I currently have to do it on the CPU because it's more complex. The reason it takes so long to process is because I use 128-bit precision decimal numbers (which enable me to operate with up to 34 significat digits where needed) to solve quartic equations (4th grade). The double-precision floating-point type has two issues: first, the calculations were incorrect because some operations require more than 16 significant digits, and second, the imprecision of binary decimals. Operations with this type of numbers (decimal) are much slower than with typical double/float/integer primitives.
      However, I have made many optimizations and parallelized calculations (using all 32 CPU cores), so now what used to take me 3 hours when I made the video can now take 5-10 minutes. That said, the computer does heat up my room 😄

    • @zebraforceone
      @zebraforceone 2 месяца назад +1

      @@LetsBounce1 ah nice yes the 128 bit will be a killer

  • @David-pc3rg
    @David-pc3rg Месяц назад +1

    Can you do this but with Collision

    • @LetsBounce1
      @LetsBounce1  Месяц назад

      "I'm currently working on the physics of collisions between balls. I'm facing some challenges when three balls collide in the same frame, but I hope to create videos featuring collisions like that in the future

  • @TheSyporg
    @TheSyporg 3 месяца назад +1

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

    • @LetsBounce1
      @LetsBounce1  3 месяца назад

      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 3 месяца назад

      @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  3 месяца назад

      ​@@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 3 месяца назад +1

      @LetsBounce1 thanks for the effort you put in your videos

  • @RatShowground
    @RatShowground 2 месяца назад

    Go go gadget pixel reducer 3:45

  • @AdvikTekkieTalk
    @AdvikTekkieTalk 3 месяца назад +1

    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  3 месяца назад +2

      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  3 месяца назад

      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.

  • @Chest777YT
    @Chest777YT 2 месяца назад +1

    100,000 balls?

    • @LetsBounce1
      @LetsBounce1  2 месяца назад

      It would be crazy, a mess! :D

    • @Chest777YT
      @Chest777YT 2 месяца назад

      uhhh I want to see I’m exciting

    • @LetsBounce1
      @LetsBounce1  Месяц назад

      You asked, I delivered! Check the new video "100,000 BALLS!! A zoom into the Butterfly Effect - Part 2" now available on my channel!

  • @tarakellenberger2826
    @tarakellenberger2826 2 месяца назад +1

    4:10
    It's a masterpiece ✨
    Who agrees with me?
    👇

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 Месяц назад +1

    524th sub

    • @LetsBounce1
      @LetsBounce1  Месяц назад

      @@truongquangduylop33yyuh34 thank you!

  • @JordanEr-vy8xy
    @JordanEr-vy8xy 2 месяца назад +1

    1:13 op

  • @adelinasoniapetcu2711
    @adelinasoniapetcu2711 3 месяца назад +2

    👏🏼👏🏼👏🏼

  • @TexasCountryBaller
    @TexasCountryBaller 2 месяца назад +1

    *SILLY STRING*

  • @wiglett_
    @wiglett_ 2 месяца назад +14

    This is not entropy

    • @Spaceman0025
      @Spaceman0025 2 месяца назад +2

      Wdym

    • @KazmirRunik
      @KazmirRunik 2 месяца назад +3

      One word can have multiple definitions. It's entropy as a measure of disorder or randomness in a system.

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 Месяц назад

    Is Pt.2 out yet?

    • @LetsBounce1
      @LetsBounce1  Месяц назад

      It's in my channel, check it out in Videos tab

  • @JordanEr-vy8xy
    @JordanEr-vy8xy 2 месяца назад +1

    4:20 old

  • @adsadadadadadadadassa
    @adsadadadadadadadassa 2 месяца назад +1

    lets increase the number of balls

  • @eskewroberts7663
    @eskewroberts7663 2 месяца назад

    3:21 this was all just to flex his i9 cpu

  • @TalkMixPods
    @TalkMixPods 3 месяца назад

    Name game 😮

    • @TheNarwhal784
      @TheNarwhal784 2 месяца назад +1

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

    • @LetsBounce1
      @LetsBounce1  2 месяца назад +2

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

  • @abbie-4pple
    @abbie-4pple 2 месяца назад +2

    Realizing the ball will never hit the top