Balls dropped on a double well curve (~ x^4 - x^2)

  Рет қаралды 151,787

Alexander Gustafsson

Alexander Gustafsson

Жыл бұрын

1, 2, and 1000 balls dropped on the function y = x^4 - 3x^2.
In the 1000-ball part balls are initially mutually separated by less than a millionth of the plot width.
Thanks to those suggesting this system! If you announce yourself in the comments, I'll give you credit of course.
Music by @gpcbass. The cool song was also used in our last video, well worth a second listening. It's called Polar_Mist.
Visuals in Python & FFmpeg.

Пікірлер: 226
@Orange_Pear
@Orange_Pear 3 ай бұрын
I felt so happy for the first one when it got to the right side
@SquareWaveHeaven
@SquareWaveHeaven Ай бұрын
I actually told the ball when it got close, "No way mate, you're stuck on that side for good"
@aspwil
@aspwil Жыл бұрын
If you were to drop a ball from each pixel on the left side, and then color that pixel based on the number of bounces it takes to make it to the right side. I wonder how the pattern would turn out. Would it be fractal like?
@Sgrunterundt
@Sgrunterundt Жыл бұрын
Probably
@landsgevaer
@landsgevaer Жыл бұрын
There must be periodic orbits that stay on one side, and as you move away from those there must be orbits that move to the other side, so that pretty much guarantees that there must be some fractal structure surrounding those.
@DavidGuild
@DavidGuild Жыл бұрын
​@@landsgevaerThat doesn't necessarily mean it's fractal. There could be sharp boundaries between regions.
@landsgevaer
@landsgevaer Жыл бұрын
@@DavidGuild Not sure what you mean by "sharp boundary". Mandelbrot has a sharp boundary, but it is infinitely convoluted. I can't draw or post links here unfortunately. Hard to explain in text. It is comparable to the fractal that you get when looking at multiple mirroring balls: images of balls in balls in balls etc. corresponding with light rays bouncing from one to another. Here you have domains that switch from the left concavity to the right, in which you have regions that switch to the left again, in which.. etc. If you record the bounces taking place on the Left or Right, you get sequences like LLRRRLRRLLLLRLRRRL.. similar to how that occurs in the logistic map. Sorry that I cannot explain it better.
@wkromhout8532
@wkromhout8532 Жыл бұрын
I suspect it would be really random. Butterfly effect.
@adampitt8782
@adampitt8782 11 ай бұрын
"When fleas are placed in a jar, they try to jump out but after the lid is placed on, the fleas stop attempting the escape, as they learn the boundaries of the new environment they’re in. Even when the lid is removed, the fleas never jump out. Their thinking has created the ‘lid’ as the boundary, so has conditioned them to limit their jumping."
@yqisq6966
@yqisq6966 Жыл бұрын
The best part about this channel is how the animations seamlessly links deterministic dynamics with statistical mechanics.
@CombustibleL3mon
@CombustibleL3mon Жыл бұрын
Would love to see a wave packet falling into this double well!
@watsisname
@watsisname Жыл бұрын
Same! The time evolution of a wave function in a double potential well can have really interesting behavior.
@Empisee
@Empisee Жыл бұрын
I came here to say this.
@m.guypirate6900
@m.guypirate6900 Жыл бұрын
I concur
@SirPogsalotCreates
@SirPogsalotCreates Жыл бұрын
The satisfaction of watching the first ball finally make it over the middle to the other side was unreal
@NeseComedy
@NeseComedy Жыл бұрын
Wow the green blob really sticked together until the end
@copycat500
@copycat500 Жыл бұрын
3:10 is it just me or do these middle balls sync up with the music? Either way, nice simulation!
@markgearing
@markgearing Жыл бұрын
Came here to say exactly this. It seems like the music was timed around this point
@animations_ag
@animations_ag Жыл бұрын
Just a lucky coincidence. The music was specifically made for another of my visuals.
@BurningLemon1970
@BurningLemon1970 Жыл бұрын
@@animations_ag Which one? Would love to watch it.
@animations_ag
@animations_ag Жыл бұрын
@@BurningLemon1970 kzbin.info/www/bejne/p2eZnKqfr9iIrM0
@chanthachalmers8798
@chanthachalmers8798 Жыл бұрын
@@animations_ag when I click the read more nothing happens 😂
@ZenithWest169
@ZenithWest169 Жыл бұрын
Just to clarify, the ball strikes the surface with perfect elasticity and its overall energy (KE+PE) is conserved?
@watsisname
@watsisname Жыл бұрын
That's right -- otherwise the balls would reach lower maximum heights with each bounce, and eventually be unable to ever cross between the wells again.
@Thenoobyone2981
@Thenoobyone2981 Жыл бұрын
ball strikes.
@rosiefay7283
@rosiefay7283 Жыл бұрын
This really came alive with the many balls. The two wells lend an interest to the video that you don't get with just different shapes of well. Next, how about a sinusoid y = sin x? So that the balls don't disperse too far too soon, make the wells high enough that jumping from one well to another is rare but still possible.
@Kualinar
@Kualinar Жыл бұрын
Make that y= sin x * |x|
@dimi-desp
@dimi-desp Жыл бұрын
Excellent choice of music! Really mesmerizing result
@Orange_Pear
@Orange_Pear 3 ай бұрын
3:09 this was timed perfectly with the music
@Kualinar
@Kualinar Жыл бұрын
Gorgeous visual and good music. What more can we ask ?
@timvanarsdel
@timvanarsdel Ай бұрын
The music makes me yearn to see a metropolitan magazine writer profess her love to an Australian rustic in a NY subway station
@lorenzodeusebio6795
@lorenzodeusebio6795 Жыл бұрын
And that kids, is why you always have to brush your teeth
@petterlarsson7257
@petterlarsson7257 3 ай бұрын
1:09 I LOVE HOW SMOOTHLY IT BOUNCED
@tomfiddle7382
@tomfiddle7382 Жыл бұрын
i like how the music bops even harder at 2x speed.
@apuji7555
@apuji7555 Жыл бұрын
I think looking at cosh x could be really interesting! And also, maybe a video comparing x^2, x^4, and cosh x, and seeing how fast they go chatoic would be really interesting!
@WangleLine
@WangleLine 11 ай бұрын
The music in this video is such a banger
@baarni
@baarni Жыл бұрын
Nice… a beautiful demonstration of the progression of entropy…
@mctonger
@mctonger Жыл бұрын
still loving the content, keep it up!!
@Gretchaninov
@Gretchaninov 5 ай бұрын
We can't predict what a ball will do in a double parabola thing, but we can apparently predict the climate for the next 100 years (a complex and chaotic system).
@BboyKeny
@BboyKeny Жыл бұрын
I find it curious that: The 1000 balls lost synchronization after sliding in the half pipe and kept synchronization when bouncing against the walls with an orthogonal angle. And eventually an even distribution shows up, with 1 clump of balls traveling together but seemingly losing mass. Making it seem that eventually it will end up with all the balls scattered and approximately an even amount apart. Is this because of the second law of thermodynamics?
@zaksmith1035
@zaksmith1035 Жыл бұрын
It’s a related phenomenon in that statistically the balls will always separate, just as all energy is statistically converted to unusable energy over time. But this system is chaotic, which means the paths of the balls have a sensitive dependence on initial conditions. The balls are released at slightly different points, so very slightly different that it looks to be the same to the naked eye. The green clump represented an outlier clump that had more tendency toward similar behavior over a longer period of time. Eventually, though, the entire system would look completely random.
@ReD_RuM_
@ReD_RuM_ Жыл бұрын
❤ the moment when separation starts....love it
@MesaperProductions
@MesaperProductions Жыл бұрын
A great demonstration of simulated annealing.
@MapSpawn
@MapSpawn 4 ай бұрын
I love all the music in each video, I am returning just for the music and I guess the balls too.
@willhastings731
@willhastings731 Жыл бұрын
Would be cool to have a marker that tracks the location of the center of mass. Maybe even draw the path.
@DouglasZwick
@DouglasZwick Жыл бұрын
Man, this song absolutely *slaps*. Total banger right here.
@CalebSu-pv1bj
@CalebSu-pv1bj 3 ай бұрын
I had always heard that all of the variance in the universe was caused by a tiny discrepancy in the initial Big Bang singularity. This reminds me of that dynamic.
@KazmirRunik
@KazmirRunik Жыл бұрын
when your balls dropped on a double well
@drottercat
@drottercat Жыл бұрын
What is the offset in the initial condition of many balls?
@llahneb10
@llahneb10 Жыл бұрын
Awesome! Would be super cool to add a slight attraction or repulsion between them, or color them based on their speed
@Dragon-Slay3r
@Dragon-Slay3r 6 ай бұрын
That was the cricket glove leg on the slip from the mop while the other leg was a iron needle
@alvargd6771
@alvargd6771 Жыл бұрын
its cool to see sliding arise with a system where you just bounce balls back
@ogasdiaz
@ogasdiaz Жыл бұрын
Do you know what kind of shape induces the fastest divergence? Of course something like a stochastic process would be an overkill. I just would like to have a function that maps curves into a scalar meaning how “chaotic” they are
@SomeoneCommenting
@SomeoneCommenting Ай бұрын
I wonder how this will look if the balls are made so that they can bounce with each other too. That would be total chaos.
@curtisbrummitt5470
@curtisbrummitt5470 Жыл бұрын
I really just watched a 4+ minute video on balls dropping.
@gamer4l1f34
@gamer4l1f34 Жыл бұрын
1000 balls never ceases to amaze! 😮
@pbarnes171
@pbarnes171 3 ай бұрын
This makes me think of quantum wave functions 🌊⚛🤩. Fascinating
@arbieroo5679
@arbieroo5679 Жыл бұрын
I always love the falling ball vids! I was wondering how you generate the colour spectrum for them? Are you using RGB triples? If so, how do you obtain the appropriate values? If not, how do you create the spectrum?
@haggisllama2630
@haggisllama2630 Жыл бұрын
They may use hsb colour values instead of RGB, and changing the hue incrementally
@arbieroo5679
@arbieroo5679 Жыл бұрын
@@haggisllama2630 Do you mean HSV?
@garrettscholtes3113
@garrettscholtes3113 4 ай бұрын
3:09 great timing with the music
@me4321a
@me4321a Жыл бұрын
Yo sick dude my balls dropped at Olive Garden💀
@voidnull9438
@voidnull9438 Жыл бұрын
Relaxing!
@danielevilone
@danielevilone Жыл бұрын
Fascinating
@Dragon-Slay3r
@Dragon-Slay3r 6 ай бұрын
These are the 2 iron balls from yesterday which are short thats why the ball didnt travel into the hands
@deusexceraunius8229
@deusexceraunius8229 11 ай бұрын
The bacterica inside of a tooth be like:
@harrymoschops
@harrymoschops 4 ай бұрын
A catenary curve would be a good candidate for a similar animation
@superdawolf9747
@superdawolf9747 Жыл бұрын
this is what happens when confetti is brought to life
@user-rt8je9pd5e
@user-rt8je9pd5e Жыл бұрын
Wow that's the perfect illustration of thermodynamics and liquid physics, would be even more interesting if you add colour change depending on the speed of the ball
@Boxland_
@Boxland_ Жыл бұрын
Very cool system! One part of the song reminds me of Dear Prudence.
@PhilBagels
@PhilBagels Жыл бұрын
I noticed that!
@SamFams.
@SamFams. Жыл бұрын
Me: If he gets to that other well... Everyone is dead. Ball: *Immediately goes in the other well* Me: ...Well S#!t
@WolfBravery
@WolfBravery Жыл бұрын
I like how at the top after a bit of the 1000 balls it seems like tuere is an invisible barrier
@WolfBravery
@WolfBravery Жыл бұрын
You start to see it at 3:33
@bobczech7774
@bobczech7774 Жыл бұрын
Underrated video
@mattm4389
@mattm4389 Жыл бұрын
I bet I'm not the only person who cheered out loud at 0:33
@ad10bv
@ad10bv 11 ай бұрын
NOW THESE ARE SOME SERIOUS BALLS
@christianlewis7055
@christianlewis7055 Жыл бұрын
I was stoked when that first ball got over the hump.
@Peterscraps
@Peterscraps Жыл бұрын
2:40 interesting that the points diverge almost immediately after many smaller collisions.
@wadswa6958
@wadswa6958 11 ай бұрын
omg hii peterscrapsss
@wadswa6958
@wadswa6958 11 ай бұрын
iam a fan
@purple-edge
@purple-edge Жыл бұрын
The prophecy is true!
@ralseisleepsgaming8961
@ralseisleepsgaming8961 3 ай бұрын
the edge is unreal
@haggisllama2630
@haggisllama2630 Жыл бұрын
How do you calculate the collisions? Id love to see an explanation video or tutorial or whatever else on how you achieve these simulations as they are super neat
@stepanylmusic4257
@stepanylmusic4257 Жыл бұрын
its all done by counting a derivative in x point and mirroring an angle
@radioforthebirds
@radioforthebirds Жыл бұрын
How about intensity of the rebound? They seem to always bounce up to a fixed height..
@PhilBagels
@PhilBagels Жыл бұрын
@@radioforthebirds That's just the natural way they would bounce if there was no loss of momentum or kinetic energy due to friction or distortion. Since those other realistic factors haven't been simulated here, they always bounce up to the height from which they were originally dropped. It's a good thing that friction isn't taken into consideration here, because then the video would be boring. Eventually, all the balls would wind up on the bottom, and they'd quickly lose any opportunity to get over the hill in the middle.
@HotelPapa100
@HotelPapa100 Жыл бұрын
@@PhilBagels OTOH the rotational momentum transferred to the balls would give an interesting additional aspect. You could still do it energetically ideal.
@hoon_sol
@hoon_sol Жыл бұрын
@@HotelPapa100: Yeah, zero torque makes this less interesting.
@rick420buzz
@rick420buzz Жыл бұрын
Imagine a boomerang roller coaster based on this. That hill in the middle would produce some WICKED airtime!
@paull2937
@paull2937 Жыл бұрын
This is assuming the collisions are completely elastic.
@tonycook1624
@tonycook1624 4 ай бұрын
I can hear snippets of Dear Prudence buried in the music
@protondium_8927
@protondium_8927 Жыл бұрын
Imagine for April fool's next year it's 1000 balls in a square
@wowutisforever
@wowutisforever 2 ай бұрын
Well I’m subscribed now
@flocon9388
@flocon9388 3 ай бұрын
The dance of chaos
@glaseraaa
@glaseraaa 11 ай бұрын
tbh i want to see a website with 1000 balls in a random curve that occasionally changes
@alexandreburov8529
@alexandreburov8529 Жыл бұрын
running in reverse time would be very spectacular.
@FizBliz
@FizBliz 11 ай бұрын
Cavities otw to my nerve:
@nianyiwang
@nianyiwang Жыл бұрын
the more you watch the more they look like patrick star's pants
@acompletelyawesomenameyay2587
@acompletelyawesomenameyay2587 Жыл бұрын
really want to see balls dropped on a catenary curve y=cosh(x)
@rabbit6872
@rabbit6872 Ай бұрын
I'd love to see this but with each of the 1000 balls having a very slightly different mass and starting from the same position/same velocity
@codingevolution1018
@codingevolution1018 Жыл бұрын
🦷🥶Tooth Sensitivity Pain Visualized 😂🤣
@Helloooogh
@Helloooogh 11 ай бұрын
It feels like the music is synced to the balls
@patrickpredella
@patrickpredella Жыл бұрын
What about computing a location probability map? The probability of the ball being in any point of the surface?
@petterlarsson7257
@petterlarsson7257 Жыл бұрын
1:10 i like how the balls just slide on it instead of bouncing
@hhurtta
@hhurtta Жыл бұрын
Oh, my heart broke a little when the 2 balls were separated :(
@Thenoobyone2981
@Thenoobyone2981 Жыл бұрын
Every comment in this comment section: 🤓 Me: balls
@Ezzell_
@Ezzell_ Жыл бұрын
This would be great at a Dentist office
@jan-lukas
@jan-lukas Жыл бұрын
Why did the green balls stay together for so long?
@helo3309
@helo3309 11 ай бұрын
water but each particle is almost weightless and super bouncy
@SatisfyingWhirlpools
@SatisfyingWhirlpools Жыл бұрын
YES!
@user-px3vw5ml5l
@user-px3vw5ml5l 9 ай бұрын
3:10 nice timing
@homierubikscubedude5
@homierubikscubedude5 Жыл бұрын
Cavities forming in real time
@scratchymarcus2517
@scratchymarcus2517 Ай бұрын
3:13 the music was a bit late, if it were earlier then it would perfectly sync with the balls
@kennethmonroe2519
@kennethmonroe2519 11 ай бұрын
2:51 goes so hard
@4DRC_
@4DRC_ Жыл бұрын
The 1000 balls by the end is acting like a fluid
@snowflakenotcold4091
@snowflakenotcold4091 Жыл бұрын
Anyone else cheering for the ball to escape left side in the beginning
@AbyssalTheDifficulty
@AbyssalTheDifficulty Жыл бұрын
w
@sofia.eris.bauhaus
@sofia.eris.bauhaus Жыл бұрын
well,
@BloxyGuyRBLX
@BloxyGuyRBLX 2 ай бұрын
Love the amongus legs!
@JYouker
@JYouker 11 ай бұрын
I want this graphed 3D for each frame with the third dimension being time :D
@JYouker
@JYouker 11 ай бұрын
then we can rotate the camera angle
@MePeterNicholls
@MePeterNicholls Жыл бұрын
Help me understand. These balls seem to have infinite bounce, are we presuming zero friction ? What other presumptions ?
@user-tc7nz6yi6c
@user-tc7nz6yi6c 11 ай бұрын
whoa my double well curve tastes like colors 2:47
@triPocoPi9576
@triPocoPi9576 Жыл бұрын
It’s interesting how there’s a height limit so to speak
@defunctuserchannel
@defunctuserchannel Жыл бұрын
At 1:42 or so we have officially achieved chaotic motion
@bitonic589
@bitonic589 8 ай бұрын
So I found the scientific name for a tooth shape. :D
@Nedawor
@Nedawor 11 ай бұрын
Make the balls collide with eachother!
@thee8017
@thee8017 Жыл бұрын
nah whose molar did they do this in
@arvinpaunil7265
@arvinpaunil7265 11 ай бұрын
when you realize it's a human tooth
@1224chrisng
@1224chrisng Жыл бұрын
2:40 it looks like the ball is just grazing the walls, and it's rolling down the hill until it hits the other side. In real life, that spinning would take up kinetic energy and slow it down. Is there some rotation physics simulated here or is it just repeatedly hitting the sides?
@animations_ag
@animations_ag Жыл бұрын
Just hitting - no rotation.
@Bradley_UA
@Bradley_UA Жыл бұрын
The plot thickens
Ellipse reminds you of its focal points
5:10
Alexander Gustafsson
Рет қаралды 176 М.
Portals to Non-Euclidean Geometries
8:32
ZenoRogue
Рет қаралды 1,3 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 18 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 119 МЛН
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 19 МЛН
Imaginary Numbers are Not "Imaginary"!
13:59
Dr Sean
Рет қаралды 1,4 М.
Bouncing simulations that cure my attention span
9:34
CodeCraftedPhysics
Рет қаралды 449 М.
How Many ERRORS Can You Fit in a Video?!
20:40
ElectroBOOM
Рет қаралды 593 М.
Butterfly effect from 1 to 10 million double pendulum 60 FPS HD
2:52
The Gaussian Integral
10:09
RandomMathsInc
Рет қаралды 645 М.
Cube Bouncing BUT Every Bounce It Gets 1% BIGGER and FASTER🌟
3:34
Made You Watch
Рет қаралды 457 М.
The Double Pendulum Fractal
4:00
Sam Maksimovich
Рет қаралды 1,1 МЛН
Rocket League, but the ball DUPLICATES every touch!
12:45
Lethamyr
Рет қаралды 1,6 МЛН
5000 balls falling in a circle and a parabola, plus a cute bug
3:02
Alexander Gustafsson
Рет қаралды 466 М.
Animation vs. Math
14:03
Alan Becker
Рет қаралды 60 МЛН
Обманет ли МЕНЯ компьютерный мастер?
20:48
Харчевников
Рет қаралды 188 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,7 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 48 МЛН
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 79 М.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11