Fractal emerging from chaos in a circle

  Рет қаралды 217,079

Alexander Gustafsson

Alexander Gustafsson

2 жыл бұрын

Shown is a ball bouncing in a circle under gravity for many start positions. The sixth bounce is associated with a color of the circle for colouring a "pixel" representing the start position. For a relatively high pixel density, the resulting image becomes a fractal. In the very end, a corresponding image for 10 bounces is shown, indicating, unsurprisingly, a more chaotic behaviour.
Music by @gpcbass! The song is called Cayenne.

Пікірлер: 188
@animations_ag
@animations_ag 2 жыл бұрын
Inspired by @hafizs makmur in one of my previous videos (kzfaq.info/get/bejne/j9V3oNRhrsq3qJ8.html). Further, this video was a source of inspiration: kzfaq.info/get/bejne/eZt6nsqn3JO-Znk.html
@sebbes333
@sebbes333 Жыл бұрын
This would be interesting to see but "scaled through time" (or bounces). So, you use the same system with the bounce & colors, choose some good resolution. Than you fill it out by using 1 bounce, take a snapshot, then reset & do the same with 2 bounces, then snapshot & reset, then 3 bounces, and so on... Or alternatively, you can use time, like after 0.1 second, then after 0.2 second, then 0.3 second, and so on. It would also be useful with unique colors, currently the green & blue is duplicated, so you can't really know if the "tile-color" belong to the left or right green, or so.
@cara-seyun
@cara-seyun Жыл бұрын
Do you have the actual image files? On KZfaq, even with max resolution, the details still look pixelated
@emer3376
@emer3376 Жыл бұрын
PLS make an online simulator
@olbluelips
@olbluelips 2 жыл бұрын
I love fractals like this that emerge from chaotic systems!
@aaaaaaaaaaaa9023
@aaaaaaaaaaaa9023 Жыл бұрын
Same.
@enricofaa9302
@enricofaa9302 Жыл бұрын
This comment sounds like it was written by an AI, and not even a good one
@olbluelips
@olbluelips Жыл бұрын
@@enricofaa9302 Your comment sounds like it was written by a human, but not a good one
@il_vero_saspacifico6141
@il_vero_saspacifico6141 Жыл бұрын
Oddly specific
@enricofaa9302
@enricofaa9302 Жыл бұрын
@@olbluelips That is a very good comeback. I consider myself defeated
@YoReid
@YoReid Жыл бұрын
I guess this is a cool way of explaining chaos, as the number of bounces approaches infinity, the fractal eventually becomes infinitely complex at every point, meaning no matter how small the distance between two starting points, the end result is unpredictable. Fractals and chaos are really two sides of the same coin
@obsideonyx7604
@obsideonyx7604 10 ай бұрын
That's a nice way of putting it for someone that hasn't made the connection
@kaizenyasou6963
@kaizenyasou6963 3 ай бұрын
Well said
@qwertyuiop8522
@qwertyuiop8522 2 жыл бұрын
Instead of stopping after certain number of bounces, could you stop after certain amount of time? The ball might be in midair, but that should not be a problem. Changing this "stopping time" smoothly would make a nice animation..! (If I had the skills I'd try this myself)
@kevinmathewson4272
@kevinmathewson4272 Жыл бұрын
For midair balls, would color be assigned by nearest point, or point directly below, or some other rule?
@hwaansswaanh3511
@hwaansswaanh3511 Жыл бұрын
​@@kevinmathewson4272 i don't know
@TomRussle
@TomRussle Жыл бұрын
@@kevinmathewson4272 I'd say color below
@HenryY8
@HenryY8 Жыл бұрын
I think it would be more fair to assign the color according to the nearest point Or we can make two versions of the animation, one with the nearest points and another with the point below
@anthonyfortner318
@anthonyfortner318 Жыл бұрын
Last contact
@Achira
@Achira 2 жыл бұрын
Oh this is gorgeous. As seen in the fractal chaos and physics video, its astonishing how beautifully chaotic things can become in very simple environments. I am always wondering where fractals might lie and this is a great project!!
@DemoniteBL
@DemoniteBL Жыл бұрын
My son has taken a keen interest in becoming a landlord but has also started insulting me for not owning and not owning my own house. Billy Ilish is not the return of an astronomer. How are you, Tommy, Tommy, I visited TCT this weekend, not just because I'm a Cystro fan.
@SparksofInspiration
@SparksofInspiration Жыл бұрын
That's a rather creepy smiley face
@isaachenrikson3197
@isaachenrikson3197 2 жыл бұрын
oh wow this just showed up in my recommended with only 60 views. This is awesome! Also, I think this might blow up in a little bit
@monojitchatterjee3185
@monojitchatterjee3185 2 жыл бұрын
Listen, this is awesome! Your work is awesome! You are awesome!
@DiggyPT
@DiggyPT Жыл бұрын
0:51 ok but why is nobody talking abiut the fact that is LITERALLY STEVE FROM MINECRAFT
@mimicereal
@mimicereal Жыл бұрын
HAHAHA I DIDNT NOTICE THAT
@robertspeedwagon982
@robertspeedwagon982 10 ай бұрын
I love how everytime you post a new video you seem to have found once again the perfect music to go along the visuals.
@wallywutsizface6346
@wallywutsizface6346 2 жыл бұрын
I’ve never seen this before this is super cool
@jubnubbens
@jubnubbens 2 жыл бұрын
Have I been staring at walls for too long or does it look like a face
@ramonsanchezperez897
@ramonsanchezperez897 2 жыл бұрын
I predict you will get very very well known if you keep up this amazing work. I wish you the best of luck. Consider commenting.
@nyuh
@nyuh Жыл бұрын
lmao i cant unsee minecraft steve in the first iteration nice vid
@YawnGod
@YawnGod Жыл бұрын
So this is why everything evolves into being a crab. Nice.
@NonTwinBrothers
@NonTwinBrothers Жыл бұрын
This makes me wanna simulate my own! But of course, solving for the parabolic trajectory mathematically, to not lose precision I'll let you know when I make it ;)
@capsfederation3154
@capsfederation3154 Жыл бұрын
Looks like the folds in my grandmas curtains
@theodorostsilikis4025
@theodorostsilikis4025 2 жыл бұрын
it would be interesting to do the same for (1bounce is predictable ) ,2 3,4 ,5 7,8... and stack the fractals.I bet between the frames there will be the feeling that there is a continuous transformation as if there exist something like a 2,5 bounce even though that thing is crazy and doesnt exist.
@mygills3050
@mygills3050 Жыл бұрын
Bounce twice, then place a point halfway along the arc. Maybe?
@HenryY8
@HenryY8 Жыл бұрын
​​@@mygills3050 you can take the halfway point of the arch and use the point below, or you can take the nearest point in the circumference
@user-pr6ed3ri2k
@user-pr6ed3ri2k Жыл бұрын
half a bounce
@anthonyv6962
@anthonyv6962 15 күн бұрын
Every bounce is predictable. It's a chaotic system because a very small change in the initial condition (drop point) cause large change in ball location as time advances. In short, two balls dropped a pixel apart might be in very different locations on bounce 20. However for any single drop point bounce 20 will always occur at the same point, very predictable. Chaos has nothing to do with predictability.
@timer1238
@timer1238 11 ай бұрын
1:00 that one green square among the red and yellows [][]
@jordanthedove
@jordanthedove 2 жыл бұрын
I wasn't expecting that! Amazing :)
@HDX30
@HDX30 2 жыл бұрын
I see that 3Blue1Brown has inspired your this latest video. Keep up the amazing short simulations; I have been watching every single one of them.
@animations_ag
@animations_ag 2 жыл бұрын
Thank you :). I have yet to see 3B1B's fractal beauty though. Another viewer suggested doing something similar like this. That user referred to 3B1B, so indirectly I'm obviously inspired therefrom. I'm saying this since I think it's important, or at least good practice to cite inspiration and ideas properly.
@HDX30
@HDX30 2 жыл бұрын
@@animations_ag I think it's well known enough that chaotic iterative and dynamical systems lead to fractals in the numerical methods community that it's hard to associate the inspiration to any one person. I had generated similar patterns 10 years ago in my undergrad course (which led to grad studies), and I love how KZfaq creators are now popularizing the beautiful resulting patterns.
@6los9
@6los9 11 ай бұрын
Music got me here thinking Ghostbusters and Michael Jackson's thriller did a mashup. Might as well throw in 90's horror movie music for extra credit💀💀💀
@mayosmayo4738
@mayosmayo4738 Жыл бұрын
Imagine waking up and seeing this on the sky
@vincent5858
@vincent5858 2 жыл бұрын
Is this a discovery? The circle seem to show a volume . A video montage showîng mutation from 1 to 100 bound could really show the fractal effect i thînk. Thank you.
@MinusMedley
@MinusMedley 7 ай бұрын
Yep everyone's face looks like that after years and years of gravity.
@biochemicalracketeering3018
@biochemicalracketeering3018 2 жыл бұрын
This is something special
@jay_344
@jay_344 2 жыл бұрын
Gonna call it right now: this video is going to blow up
@patrickfrost9405
@patrickfrost9405 11 ай бұрын
Chaos? Oh boy I love chaos!
@TheCobaltKnight27
@TheCobaltKnight27 2 жыл бұрын
0:51 Minecraft steve
@NikitaFractal
@NikitaFractal Жыл бұрын
haha
@lailoutherand
@lailoutherand Ай бұрын
haha
@5hape5hift3r
@5hape5hift3r Жыл бұрын
Wonder if there is a turning complete version of a chaotic system, where a program can be encoded into the initial state.
@the_magisterate
@the_magisterate 11 ай бұрын
i think a lobster emerged from the chaos
@masterrafferty4065
@masterrafferty4065 Жыл бұрын
Chaos Fractal sounds like a band.
@spiralofants1236
@spiralofants1236 Жыл бұрын
this is so freaking cool, man
@killmeister2271
@killmeister2271 Жыл бұрын
that's fascinating; i should try to compute something like this.
@EastNorthEast
@EastNorthEast Жыл бұрын
Pretty cool
@vinijoncrafts7213
@vinijoncrafts7213 Жыл бұрын
looks like a creepy face lmao anyways very interesting!
@orsonukain
@orsonukain Жыл бұрын
bro built the weather forecast map
@maxwellmogadam399
@maxwellmogadam399 Жыл бұрын
Nice conclusion!
@catnip5315
@catnip5315 Жыл бұрын
That looks...oddly terrifying
@coolsonic8982
@coolsonic8982 Жыл бұрын
Bruh that crazy I rendered the same image last year without knowing this video, so funny to see it here haha
@HotelPapa100
@HotelPapa100 2 ай бұрын
This has similar characteristics to the image you see when gazing inside a mirrored hemisphere. the bounces are not gravitational but angular, but the outcome is similar.
@empty5013
@empty5013 6 ай бұрын
the lobster god
@igif2008
@igif2008 Жыл бұрын
Teacher: The test won't be hard, all you need to do is predict where a ball will end up The test: *Internal screaming
@ablak3712
@ablak3712 2 жыл бұрын
amazing
@gabrielandal9964
@gabrielandal9964 Жыл бұрын
Bro said balls
@lance499
@lance499 Жыл бұрын
when the devs forgot to set for how long would a character's trail last:
@Eliphand
@Eliphand 11 ай бұрын
I didn't understand any of this but the first word was BALLS and that made me laugh
@FullAfterburner
@FullAfterburner Жыл бұрын
Mandelbrot Set 😊
@andrewcullen7671
@andrewcullen7671 Жыл бұрын
Seems analogous to the interference pattern in the double-slit experiments from quantum mechanics.
@MegaMindfreak666
@MegaMindfreak666 2 жыл бұрын
What would it look like if done in an ellipse?
@BoZl_
@BoZl_ Жыл бұрын
It made rainbow steve
@noahnaugler7611
@noahnaugler7611 10 ай бұрын
It's interesting how increasing the number of bounces will limit to an entirely red semicircle
@dave5194
@dave5194 Жыл бұрын
Cool, Looks like a menorah 🕎
@Harm0nic-Tortvre
@Harm0nic-Tortvre Жыл бұрын
Hey, you. You're finally awake.
@kewbycupine5956
@kewbycupine5956 10 ай бұрын
Looks kind of like the symbol from hollow knight
@20IA
@20IA 11 ай бұрын
The mauler
@sampersonguy5337
@sampersonguy5337 10 ай бұрын
Huh, scary clown fractal
@kahlzun
@kahlzun Жыл бұрын
Large red insect attacks the blue line
@people174
@people174 Жыл бұрын
this proves somthing
@blc_cat6937
@blc_cat6937 5 ай бұрын
first one low-key looks like steve for minecraft
@prietjepruck
@prietjepruck Жыл бұрын
He, nice idea. I think I'll program one myself either in processing or in shadertoy.
@shruggzdastr8-facedclown
@shruggzdastr8-facedclown Жыл бұрын
It's like a heat-map reminds of MRIs of the human brain
@toimine8930
@toimine8930 2 жыл бұрын
Nice Speaking of images you get by simulating every pixel, what would it look like if you put a bunch of obstacles on the screen, then from every point on the plane shone light rays in every direction, and coloured the points based on the rays' average position, and let the picture evolve over time? Hope i make sense
@dairop3220
@dairop3220 Жыл бұрын
Are you talking about ray-casting ? It looks like you are but with multiple rays by pixel, which doesn't make a lot of sense (you would just get a blurry image, it's like when someone that have glasses isn't wearing them, the focal is not in perfect and thus create something similar)
@user-lw4vi4oy2d
@user-lw4vi4oy2d Жыл бұрын
Ah one of my favorite fractal, clown
@qwertyman506
@qwertyman506 2 ай бұрын
I notice that it's symmetrical. You could probably get away with doing half the fractal and mirroring it
@scienceium5233
@scienceium5233 10 ай бұрын
it would fun to see how it corrensponds to different bounces like evry 7th , 10th or 100th bounce and if gravity was increased
@fakestory1753
@fakestory1753 2 жыл бұрын
It would be nice if you take the average colour of bounce, so it would actually converge to a value when it goes to infinity. I guess no fractal but a heat map will appear.
@lillynordicpale
@lillynordicpale 10 ай бұрын
Reminds me of solitaire.
@oof_starfire
@oof_starfire Жыл бұрын
cool
@naruii5160
@naruii5160 Жыл бұрын
i have no clue what’s happening but im fascinated
@jameeztherandomguy5418
@jameeztherandomguy5418 Жыл бұрын
A ball is being dropped onto half of a circle according to simulated physics. The circle is colored certain colors on every part. The ball is let bounce a number of times, and wherever it stops is recorded as the original positions color. so drop a ball from a certain position, let it bounce some number of times (I'm not sure what it is, I'm sure you could count the number of bounces they let it do), then see where it lands on the circle, and map the color that it landed on to its original position. The positions get more and more specific as the video goes on: i.e. they are dropping much more balls from much more positions. Interestingly, this forms a "fractal": a shape that repeats. If you look at the top, you can vaguely see a pattern that is getting smaller and smaller towards the top. It would probably be more accurately visible if he dropped more balls and let them bounce for longer, since: ultimately, this video is made to be in relation to a different video about the Butterfly effect simulated by dropping balls at VERY slightly different positions, and watching the balls slowly come apart as the slight change in position continues to multiply everytime it is bounced.
@julietmike896
@julietmike896 2 жыл бұрын
Cool idea! But I am a bit sad to only see it pixelated. We need 4K
@animations_ag
@animations_ag 2 жыл бұрын
I always strive for high resolution but that wasn't possible here. I blame my bad coding skills. The "high res" fractal images had ~600x600 px and they took ~30 hours each to compute. I know this sounds silly, but I couldn't make it faster.
@zdlax
@zdlax Жыл бұрын
Looks like an oil slick in water. Turbulent flow etc.
@OSHAWOTT_PLAZA
@OSHAWOTT_PLAZA 10 ай бұрын
0:42 POV: you see steve
@vittoriobeghelli3561
@vittoriobeghelli3561 Жыл бұрын
Really beautiful. Thank you!!
@SparksofInspiration
@SparksofInspiration Жыл бұрын
I'm glad I watched a video going into this in depth (which, conversely, had horrible music) before this. If you know, you know.
@emer3376
@emer3376 Жыл бұрын
Please make an interactive version
@yinvara9876
@yinvara9876 2 жыл бұрын
wow
@FoxDog1080
@FoxDog1080 11 ай бұрын
0:50 It's Steve
@6los9
@6los9 11 ай бұрын
Oh wow it is😮
@Ponlets
@Ponlets Жыл бұрын
how do you do this or where do you get this program?? is neat
@rodrigoalmeida625
@rodrigoalmeida625 Жыл бұрын
Wtf steve head at 0:52
@theawakeneddoughfruit
@theawakeneddoughfruit 3 ай бұрын
MORE BITSSS
@superman52534
@superman52534 Жыл бұрын
Vertasium has a really cool video on fractals and the mandbrot set. If you like this video and want a little explanation go check it out
@superman52534
@superman52534 Жыл бұрын
It's titles This equation will change how you see the world
@RipleySawzen
@RipleySawzen 4 ай бұрын
Simulating 6 bounces should take all of a microsecond. Why are we looking at 360p image?
@sergiokorochinsky49
@sergiokorochinsky49 Жыл бұрын
Very colourful indeed!... But... is it a fractal?
@jameeztherandomguy5418
@jameeztherandomguy5418 Жыл бұрын
Yes look at the top.
@enhydramatic
@enhydramatic 2 жыл бұрын
Is this really a fractal? If the coloring function is smooth (differentiable) everywhere, then all the intricacy and complexity we see is finite - yes, with probably billions of colored regions with areas at the scale of around 1e-10, but still finite and getting dull when you zoom in, unlike in fractals, where you can just keep going infinitely if you have a good starting point. Now the question is whether the coloring is differentiable. Intuitively, it seems so: a small change to the initial point would cause comparably small changes to all five (nine) parabolas involved and therefore a similarly small change to the resulting color, and there seem to be no locations where the behavior could become substantially different because of a small change. But I may be missing something here, correct me if I’m wrong.
@animations_ag
@animations_ag 2 жыл бұрын
I think you are right. This images shown here are no "true" fractals. On the other hand, I guess the video suggests how to generate a fractal for this system. For that to happen, we'd probably need an infinite number of bounces (or infinite time).
@enhydramatic
@enhydramatic 2 жыл бұрын
@@animations_ag I think infinite bounces/time wouldn’t make sense because almost everywhere there would be no limit (if we don’t lose energy on bounces) or the same limit (if we do). Anyway, computable finite approximations to that would be prone to the nonfractalness described above.
@animations_ag
@animations_ag 2 жыл бұрын
​@@enhydramatic Your are probably right, again :). It's puzzles me a bit, though - when do we actually have a fractal here, if at all possible? I should perhaps mention that I'm a physicist and not even close to an expert here.
@enhydramatic
@enhydramatic 2 жыл бұрын
@@animations_ag I’m no expert either - and am puzzled by the very same question! From what I’ve found without digging too far - known fractals are either explicitly defined as repetitions of actions (e. g. Sierpinski triangle) or they arise from properties of infinite iterative processes (Mandelbrot and Julia sets and the like). An intuition of one such case and a reason for its fractalness is explained really nicely in a recent 3Blue1Brown’s video (kzfaq.info/get/bejne/Y7iUgtqZ0te0Zac.htmlm56s). Bouncing a ball is an iterative process indeed. What’s lacking is the opportunity for discretely different behavior - akin to Mandelbrot set’s members not escaping to infinity and non-members’ doing this. This behavior has to be affectable by arbitrarily small changes (which is necessary but not sufficient, you’d need additional reasoning and/or zooming into resulting images to verify). You could make the bowl escapable (like part of sine wave between two maximums) and maybe plot how many bounces / how much travel distance is needed to escape for a given starting point. Introducing tiny loss of energy will probably make this more interesting. I’m still not sure whether that would yield a true fractal, but seeing the result of this will inspire further thinking and tinkering (and I’ll come back if I can think of anything as well). I wonder if your code would generate the fractal picture from this video (or something with a similar idea) quickly enough, and what is going to happen with its speed when it suddenly needs to handle numbers with hundreds of decimal places (so that zooming is possible). This way, you could explore and find interesting locations, and then generate a smoothly zoomed visualization.
@bayramyenikaya1383
@bayramyenikaya1383 Жыл бұрын
How does it look if you put the center of circle on grid? You will get a straight red line in the middle. The pattern will look more symmetric
@walkieer
@walkieer 11 ай бұрын
You know this kind of remind me of the black hole render from Interstellar. I guess in some way it's the same since light are kind of light balls affected by the black hole? Like ray tracing but the rays can bend?
@ParasocialCatgirl
@ParasocialCatgirl 2 жыл бұрын
huh
@450AHX
@450AHX 2 жыл бұрын
A suggestion: don't make the color-coding symmetrical. Also, do both halves of the circle.
@SuezireKaka
@SuezireKaka Жыл бұрын
What would it be when the semicircle line is colored from red to violet?
@rafaelsantosnovais7813
@rafaelsantosnovais7813 Жыл бұрын
0:52 steve from minecraft
@mittarimato8994
@mittarimato8994 Жыл бұрын
Now as you have the fractal after 10 bounces, see how the fractal changes when you slowly change the shape from the circle into a square or a triangle 😀
@humbledb4jesus
@humbledb4jesus Жыл бұрын
if chaos is structured, then were does that leave entropy? if entropy is the process of converting structure to chaos, are fractals the process of turning chaos into structure? are entropy and fractal opposites fighting for balance... could the essence of 'life' be considered a fractal because the organization required of a living being is the absolute opposite of entropy?
@matthewbadger8685
@matthewbadger8685 Жыл бұрын
Can you show a progression as bounce numbers change?
@animations_ag
@animations_ag Жыл бұрын
In principle yes; however my script is too inefficient to do something visual out of it in that respect. I compare 6 and 10 bounces in the end though.
@user-er6dh7pn8v
@user-er6dh7pn8v Жыл бұрын
キャベツの断面みたいだ
@RonWolfHowl
@RonWolfHowl 2 жыл бұрын
Ooh what if you extended it vertically upward? (The containing shape would basically be the bottom half of a pill)
@WhatIsThatThingDoing
@WhatIsThatThingDoing Жыл бұрын
Or a ring, roughly analogous to a torus?
@Bogdan_Vader
@Bogdan_Vader 6 ай бұрын
I hope you didn't render left and right side separately, like it's shown on 0:41 where you add same square for different sides separately
@LordTulip2nd
@LordTulip2nd 3 ай бұрын
Now zoom into it
@michaelmerrett
@michaelmerrett Жыл бұрын
What decides the colour of the square? Never mind I read the description
@tremon3688
@tremon3688 Жыл бұрын
But is this a fractal by definition? Dos it repeat a pattern to infinity, no matter how close yo zoom in?
@animations_ag
@animations_ag Жыл бұрын
That's a good question, which we discussed in a comment here some year ago. I think someone more mathematically talented than me has to answer that question.
Lyapunov's Fractal (that Lyapunov knew nothing about) #SoME2
24:42
Simple Fractal rendering
11:05
Pezzza's Work
Рет қаралды 131 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 20 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 109 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
Butterfly effect in a circle
2:38
Alexander Gustafsson
Рет қаралды 1,3 МЛН
Every Optical Illusion in 8 Minutes
8:36
The Paint Explainer
Рет қаралды 1,1 МЛН
Simulations that help me stay focused
9:06
CodeCraftedPhysics
Рет қаралды 142 М.
Turning Math Into Art With Amazing Fractals
6:44
Numb3r Tr33
Рет қаралды 33 М.
Hardest Mandelbrot zoom in 2014, 10^198 - 350 000 000 iterations
9:11
Fractal universe
Рет қаралды 9 МЛН
AI Learns to Play Tag (and breaks the game)
10:29
AI Warehouse
Рет қаралды 2,1 МЛН
Butterfly effect from 1 to 10 million double pendulum 60 FPS HD
2:52
5000 balls falling in a circle and a parabola, plus a cute bug
3:02
Alexander Gustafsson
Рет қаралды 473 М.
Turning Math Into Art With Beautiful Fractals
8:45
Numb3r Tr33
Рет қаралды 242 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,9 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 1,3 МЛН