A lighthouse beam in a von Koch snowflake fractal

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • Like the video • Billiard in a von Koch... this simulation shows a mathematical billiard in 6 different levels of approximation of a von Koch snowflake fractal:
    Level 0: 0:00
    Level 1: 1:00
    Level 2: 2:00
    Level 3: 3:00
    Level 4: 4:00
    Level 5: 5:00
    For each level, a light beam starts from the center, with a slowly changing angle. Whenever it reaches the boundary of the approximate fractal, it is reflected as on a perfect mirror, the color of the beam changes slightly, and its luminosity decreases. In total, 36 reflections are shown for each starting angle. To avoid numerical problems, the corners have been replaced by very small absorbing circles.
    The jumps in the trajectory occur whenever it encounters a corner where the boundary is concave. As the level increases, the behavior of the trajectory becomes more and more erratic, suggesting that there is no well-defined limit for the billiard dynamics as one approaches the limit of a genuine fractal boundary.
    After making this simulation, I found that this question has been investigated by Michel L Lapidus and Robert Niemeyer, see for instance arxiv.org/abs/0912.3948
    There is no definite answer on existence of a limit, but some results on families of periodic trajectories and some conjectures.
    Render time: 5 minutes
    Color scheme: Parula, initially from Matlab
    www.mathworks.com/help/matlab...
    Music: "Song for Michael" by Magic In The Other‪@MagicInTheOther‬
    Current version of the C code used to make these animations: github.com/nilsberglund-orlea...
    www.idpoisson.fr/berglund/sof...
    Some outreach articles on mathematics:
    images.math.cnrs.fr/_Berglund...
    (in French, some with a Spanish translation)
  • Наука та технологія

КОМЕНТАРІ • 279

  • @greenmario3011
    @greenmario3011 2 роки тому +888

    On top of the math properties this works as a visual demonstration of why roughness and porosity, at the right scales, make materials absorb more light. At higher levels the beam constantly gets trapped in tiny surface features where at lower levels it would have bounced around the whole space while still bright.

    • @jamesgillum9604
      @jamesgillum9604 4 місяці тому +19

      yeah I was about to comment on how it's interesting that the light becomes trapped in certain sections as the fractal deepens, that's such a good analogy

    • @1495978707
      @1495978707 4 місяці тому +2

      Except for snow and neutron reflectors

    • @corrinflakes9659
      @corrinflakes9659 4 місяці тому

      @@1495978707 ironically enough for exceptions, this fractal is snowflake crystal-like.

    • @hgb3405
      @hgb3405 Місяць тому

      So would that be better or worse?

  • @bobman929
    @bobman929 2 роки тому +431

    Cool how the laser can be going mental but the initial beam doesn't even look like it's moving

    • @aa01blue38
      @aa01blue38 2 роки тому +12

      Infinite fractals probably diverge no matter how small the change is in the initial angle, do they? Just like the double pendulum.

    • @theroboman727
      @theroboman727 2 роки тому +33

      It's called chaos. Big differences from very small starting differences

    • @lekoman
      @lekoman 4 місяці тому +2

      It's kinda like a gear train.

    • @JamieElli
      @JamieElli 4 місяці тому

      Any time the laser hits a corner, it reflects in a very different direction.

    • @JamesTDG
      @JamesTDG 4 місяці тому

      And it's why it makes doing precision shots in a game so damn hard lol

  • @JaelinBai
    @JaelinBai 2 роки тому +323

    The interesting thing about a Koch snowflake at iteration infinity is that it would have no straight barriers for the ray to bounce off of. It would be only corners, infinitely many corners

    • @hegelscat9423
      @hegelscat9423 2 роки тому +40

      Each barrier is infinitesimally small after infinite iterations, if the line is rotating on a circular trajectory then it is in my opinion intuitive to assume it "bounces" at every point on the circle.
      Infinitely many corners yes, but also infinitely many infinitesimally long lines. Would be interesting to see a function of the lengths between every intersection of the lines, see how chaotic it gets, or if there is a pattern.

    • @seramuse888
      @seramuse888 2 роки тому +13

      It's like the Weierstrass function but slightly better looking.

    • @theshuman100
      @theshuman100 4 місяці тому +2

      what im hearing is that the beams would always bounce straight back like the dvd logo at a corner hence

    • @liamernst9626
      @liamernst9626 4 місяці тому

      @@theshuman100only if the angle bisector of the corner is parallel with the incoming ray

    • @ShuRugal
      @ShuRugal 4 місяці тому +9

      At that point, the number of corners the ray "sees" depends on the Wavelength of the ray. Which probably explains most of how "color" works. A surface has a microscopic shape which allows some wavelengths in, scatters others randomly, and reflects a narrow range coherently?

  • @RebekahSolWest
    @RebekahSolWest 2 роки тому +377

    Nicely synchronized with the music! And this is super interesting to watch.

    • @NilsBerglund
      @NilsBerglund  2 роки тому +39

      Yay, thank you!

    • @Dark0neone
      @Dark0neone 2 роки тому +10

      Pretty sure it's not synchronized, that's an illusion.
      Would make a really cool visualizer though, if the speed of the beam's rotation was tied to bpm or something.

    • @khanmaxfield7974
      @khanmaxfield7974 4 місяці тому

      ​@@NilsBerglund wait has it been synchronised somehow or is the rate of rotation constant?

    • @The_Legend47
      @The_Legend47 4 місяці тому +1

      NGL, the music puts me in the mindset of "Hotel California," by The Eagles....

  • @Scott-jk5zk
    @Scott-jk5zk 4 місяці тому +54

    I tried to wake up early but the guitar rocked me back to sleep

  • @fabiofdez
    @fabiofdez 2 роки тому +23

    So cool how each reflection traces the inner surface faster, the beam flashing around faster yet as it dims

  • @empmachine
    @empmachine 2 роки тому +302

    It is really cool when the beam bounces in such a way as to perfectly line up with the source (like it's feeding it'self). Almost like it's finding the hidden solution to some complicated math problem and it makes me wonder: does every shape (even one with a fractal dimension; level infinity) have at least one angle where this effect will manifest? And that's with inf angle resolution (i.e. mathworld).
    Geeze your videos can provoke thought (even in my not-yet-awake-morning-brain). You rock!

    • @CuulX
      @CuulX 2 роки тому +31

      The koch snowflake (iteration infinity) only has lines of length 0 and corners everywhere. How do you define the bounce angle against a corner? Because that's the only thing that's left. Maybe as if the normal of the corner is the average of the two sides that make it (which can be computed from the iteration that introduced the corner).

    • @NilsBerglund
      @NilsBerglund  2 роки тому +79

      Thanks - provoking thoughts is the best that can happen with these videos, I'm really glad when they do.
      I'm not sure if much is known on fractal shapes. For convex shapes with a smooth boundary, the situation is well understood. A result due to Henri Poincaré and George Birkhoff, for instance, says that for any rational number p/q between 0 and 1, there exist at least two periodic trajectories of period q, turning p times around the boundary.

    • @ObjectsInMotion
      @ObjectsInMotion 2 роки тому +13

      For the non-fractal shapes, every single angle eventually comes back to the origin, there is nothing special about the ones that line up here, they just line up in few cycles. The only reason you dont see the others come back to the origin is because the light ray is fading with each bounce. If it didn't, you'd see they all connect.

    • @zoltankurti
      @zoltankurti 2 роки тому +3

      @@CuulX I would imagine the corners are countable, aren't they? If that's the case I would expect most lines to not hit any corners of the fractal.

    • @CuulX
      @CuulX 2 роки тому +7

      @@zoltankurti excellent question! Since the fractal only has corners and no line segments and since it is connected, a line from the center at any real number angle must pass from the inside through some corner for the first time somewhere before it exits the fractal forever. So there has to be at least one corner for every real number between 0 and tau radians (or other angle system). Conclusion: there are uncountably many corners on the fractal.
      On the other hand, the exact position should give you a specific corner. But non-rational numbers with their infinite decimal expansion can't correspond to a corner introduced at a specific iteration. So finding where the intersection is is similar to finding the last digit of a real number, impossible. So not possible for all real number angles, even though the intersection exists.
      The "good" news is that while koch snowflake and the intersection at real numbers isn't computable, neither are any real numbers in a computer so you will never need to find the answer in a simulation of particles regardless of that fact. All numbers are the rational approximation when stored by a computer.
      It is probably not possible to do symbolic math with real numbers to find things like the real number position of points, but not sure. The itarative process is nonanalytic by definition?
      I think you guessed the countability of the set of corners since the iterative process shown usually to construct the fractal is presented in a countable way. If the contruction process is an uncountable one instead: Take one side of the snowflake and then the corner is the one that corresponds to the decimal expansion of the real number in base 4 for the 4 new line segment starts introduced at each decimal. The iteration count is then the same as the length of the decimal expansion and can be countably infinite. But it's clear that each real number addresses a unique and specific point. Same thing really from another perspective.

  • @zooblestyx
    @zooblestyx 4 місяці тому +8

    Fascinating how my intuition just cannot accept that the patterns on level 5 are just as deterministic and harmonious as on level 0.

  • @AesaKamar
    @AesaKamar 2 роки тому +44

    It’s fascinating to see how fractals convert the smooth continuous movement of a rotating ray into discretized chaos reflecting all over the place seemingly randomly
    It also interesting to think about how an infinitely iterated fractal can cause a 1d ray to index a 2d space
    And kudos! You’re one of my favorite computational artists and this is one of my favorite videos~

    • @NilsBerglund
      @NilsBerglund  2 роки тому +5

      Thanks! I didn't know I was a computational artist, but I like the sound of it ;)

    • @dade1603
      @dade1603 3 місяці тому

      does "index a 2d space" with a "1d ray" mean the ray passes through all possible points in an area? vocab moment

  • @j.thomas1420
    @j.thomas1420 2 роки тому +50

    0° to 45° to investigate, and independently the level of the snowflake, we obtain every pattern reachable. Even the simple triangle has that property.

    • @williamhenby952
      @williamhenby952 4 місяці тому +7

      Obligatory nitpicking: it's 60°, not 45°. You might be thinking 8 degrees of symmetry, but triangles only have 6.
      Other than that, yeah, every level of the Kock snowflake has 3 axes of reflective symmetry, and 120° rotational symmetry

  • @darkpheonix77
    @darkpheonix77 2 роки тому +4

    I nominate this as the best screensaver ever.

  • @Aniga34574
    @Aniga34574 4 місяці тому +5

    An idea that came to mind watching this, have the walls of the fractal show the brightest color that hit that portion of it. This would help show us what from the light has the most focus on vs not per level, and would be giving a stark contrast as the light does die out before touching most of the walls in the higher levels.

    • @NilsBerglund
      @NilsBerglund  4 місяці тому +1

      Thanks!

    • @entity07
      @entity07 Місяць тому

      I wonder how the wavelength might change with the reflections, whether there would be a prismatic effect

  • @shoam2103
    @shoam2103 2 роки тому +48

    I like how it gets more chaotic at every iteration, and the beats with the music seems to almost match up in rhythm and tempo.
    Do you put a lot of conscious effort into the selection of music? How does this selection process look like?

    • @NilsBerglund
      @NilsBerglund  2 роки тому +36

      Sometimes I select a track I like first, and make a simulation matching its duration and mood.
      But usually, I make the simulation first, and then select the music. In that case I start by looking for tracks that have approximately the right length, and listen to a few of them (typically between 2 and 10 tracks) while playing the video. The YT audio library lists track according to genre (classical, jazz, pop, ambient, and so on) and mood (calm, sad, happy, inspirational, dramatic, funky, ...), which helps narrowing the selection. Also, by now, I have identified a number of artists I tend to like, though I also look for new ones.
      For each track, I try to decide whether it goes well with the simulation. I pay attention to the general mood, things like rhythm, changes in tempo/key/style, and whether they match the simulation. When several tracks are similar, and the video has several parts, I tend to select the track that best matches the changes between parts.

  • @user-ge8yn4ql4i
    @user-ge8yn4ql4i 2 роки тому +4

    This would be great as the background for a clock... :)

  • @shadamethyst1258
    @shadamethyst1258 2 роки тому +30

    I can see this being used as a visual proof that a square-approximated circle (used in the false proof that pi=4) doesn't have a second derivative and thus isn't a circle

    • @aaanimations_
      @aaanimations_ 4 місяці тому

      I like this idea, that the square's angles don't match the circle's, but the thing is the squares mostly reflect both horizontally and vertically, and as the area of the square approaches 0, the reflections get more and more accurate.
      I'm probably completely off-topic.
      With this said, I think pi = 3.14159265358979... not 4.

    • @kliu1066
      @kliu1066 Місяць тому

      @@aaanimations_which is why OP mentioned it is a false proof, and that you cant say a square is a circle and pi = 4. You can use this as a visualisation for the proof despite it being false

  • @stevenclark2188
    @stevenclark2188 2 роки тому +7

    It's amazing just how few iterations that took to get very chaotic.

  • @Deixa_cats
    @Deixa_cats 2 місяці тому +1

    Not only is this frikin cool, its a good representation of the butterfly effect

  • @beckybascue7012
    @beckybascue7012 Рік тому +1

    It's impossible to feel more satisfied then how you feel when you realize each level is a perfect minute.

  • @theangrierbrit
    @theangrierbrit 4 місяці тому +3

    bro this new just shapes and beats level looks hard

  • @triPocoPi9576
    @triPocoPi9576 Місяць тому +1

    i want to see how frequently each each edge of the snowflake is hit, like, every time the light hits it, it’s color get closer to some other color. i would love that.

  • @MirlitronOne
    @MirlitronOne 4 місяці тому +1

    Came for the ray tracing, stayed for the music.

  • @EarlOfMaladyCrescent
    @EarlOfMaladyCrescent 2 роки тому +1

    Amazing! Those rebounded lines are jumping about all over the place, particularly on the higher levels! & as usual, brilliant music to go with the cool visuals!

  • @antonhengst8667
    @antonhengst8667 2 роки тому +2

    One of my favorites yet. Thank you!!

  • @asdfghyter
    @asdfghyter 4 місяці тому

    this is also a nice illustration of a chaotic system! even the tiniest change in the input angle makes the final parts of the beam jump around erratically

  • @R2Bl3nd
    @R2Bl3nd 2 роки тому +5

    The very last iteration really looked like a laser at a rave or something

    • @NilsBerglund
      @NilsBerglund  2 роки тому +1

      Pink Floyd (or at least David and Richard) playing Echoes in Gdansk ;)

    • @wmlye1
      @wmlye1 2 роки тому +1

      The first video on the "suggested next" grid after this played was ua-cam.com/video/4TKDGCBbD2s/v-deo.html, which has a laser light rave style thumbnail. The UA-cam algorithm strikes again!

    • @NilsBerglund
      @NilsBerglund  2 роки тому

      Cool! Indeed, some of these "lighthouse beam" sims remind me of David Gilmour and Rick Wright playing PF's Echoes at Gdansk: ua-cam.com/video/EMneCi9F_UQ/v-deo.html

    • @wmlye1
      @wmlye1 2 роки тому

      @@NilsBerglund For years, the most popular show at our local planetarium was "Laser Floyd".

    • @entity07
      @entity07 Місяць тому

      A bit of afterimage could be a cool effect to overlay. It would replicate what your eyes do naturally with a bright light

  • @mariodistefano2973
    @mariodistefano2973 2 роки тому +3

    Fantastic simulation! Very very instructive on how equations behave in every situation and at the limits! would be interesting also if the fractal would be in 3D!!!

  • @jonathanshorp8346
    @jonathanshorp8346 Рік тому +1

    ok so holy cow i love this video like
    A) this is just a really cool concept in and of itself
    B) Its shown AMAZINGLY, with the gradual decrease in the lines brightness to show # of reflections, and so higher levels dont seem too chaotic with the reflection changing rapidly
    C) also the music chosen for this?? fits so freaking well!!
    this video makes my math brain very happy

  • @brandonsaffell4100
    @brandonsaffell4100 2 роки тому +7

    Amazing project, and an amazing result.

  • @spankeyfish
    @spankeyfish 2 роки тому

    the music adds a psychedelic air to the animation, I can imagine hippies dropping acid and watching it on a loop for hours

  • @bepeplia5086
    @bepeplia5086 Місяць тому

    Your music taste for this one is exquisite

    • @NilsBerglund
      @NilsBerglund  Місяць тому +1

      I found the syncopated beats go well with the visuals.

  • @lamaost8487
    @lamaost8487 Місяць тому

    I just saw the thumbnail and was mentally prepared for a great Trial, but this is also cool

  • @Kaimaahl
    @Kaimaahl Рік тому

    i wonder what is possible in real life with this, light shows, music and to even everything around us

  • @Worldahurt
    @Worldahurt 2 місяці тому +1

    Good luck at the billiards tournament !

  • @howtoappearincompletely9739
    @howtoappearincompletely9739 4 місяці тому

    That was mesmerising, and you chose the perfect backing music for it. :-)

  • @kingghoul2324
    @kingghoul2324 4 місяці тому +1

    Me, trying to get a headshot in Steamworld Heist:

  • @maciejmatyka
    @maciejmatyka 2 роки тому +31

    It is interesting. As usual the question about details ;) - are you reflecting beam using segment/ray collision or is it pixel based solution?

    • @NilsBerglund
      @NilsBerglund  2 роки тому +18

      I compute the collisions exactly. The boundary is a polygonal line, with about 3000 sides at level 5. The code now uses a structure containing data on each side of the polygonal line, and intersections with all sides are computed by solving an equation of degree 1. The the earliest intersection is computed, and used to iterate the map.

    • @wmlye1
      @wmlye1 2 роки тому +2

      @@NilsBerglund I'm assuming you are using a zero-width ray; do you have any special cases if the ray were to precisely hit a point between segments, or do you just pick the first segment in the list? This now has me thinking about what if we had a non-zero width ray and split the ray into two smaller rays whenever the two sides of the ray hit different segments...

    • @NilsBerglund
      @NilsBerglund  2 роки тому +14

      Here I chose to just kill the ray whenever it hits a corner of the boundary. For special angles, for instance those that divide 180°, one can define a limiting behavior. For 60° corners as occur here, the ray should be reflected with respect to the bisector of the angle. But you don't have a well-defined limit for general angles.

    • @brandonsaffell4100
      @brandonsaffell4100 2 роки тому +2

      @@NilsBerglund exactly is a pretty big word.

    • @NilsBerglund
      @NilsBerglund  2 роки тому +12

      By "exactly" I mean that there is an exact formula for the intersection between trajectory and boundary. The computer of course makes round-off errors when evaluating it. But this remains more precise, and more importantly much faster, than if one were to estimate the intersection coordinates by some approximation scheme, say Newton's method. That would be required for boundaries with more complicated equations, e.g. involving sines or exponentials.

  • @Rensra
    @Rensra Рік тому

    I played this on double speed, just for fun, and the groove of this song magnified alongside the visuals.
    Dig!

  • @akaelalias4478
    @akaelalias4478 2 роки тому +2

    This is one of my favourite videos of yours!

  • @paulensor9984
    @paulensor9984 4 місяці тому +1

    Level 4 felt like lightning strikes

  • @Supuhstar
    @Supuhstar 4 місяці тому +1

    It makes sense, but I hadn't guessed that at higher levels, the light beam more easily gets trapped

  • @yoinki_sploinki
    @yoinki_sploinki 4 місяці тому +2

    It looks like a collision error in a game lmao

  • @ReverseDFatE
    @ReverseDFatE 2 роки тому +2

    Hmm, I wonder what would happen in the snoflake corners would be rounded slightly.

  • @daveandrew589
    @daveandrew589 2 роки тому

    There is no dark side of the moon. As a matter of fact, it's all dark.
    Very Cool.

  • @TheDeepDiveLLC
    @TheDeepDiveLLC 4 місяці тому +1

    What I see when I'm trying to fall asleep

  • @anlev11
    @anlev11 2 роки тому

    Great ideia!

  • @lightningfirst689
    @lightningfirst689 9 місяців тому +2

    Looks a bit like Animusic. Like the beam is what's creating the music, especially level 1.

  • @adamnevraumont4027
    @adamnevraumont4027 5 місяців тому +1

    Even a lighthouse beam has non-zero width. And spreads. Adding even a small angle to the beam would make the math harder, but instead of the discontinuous jumps you'd get a lot of ambient light and volumetric reflections. Especially if the corner sharpness is reduced from infinite.

  • @charliezard64
    @charliezard64 3 місяці тому

    Love the 10/8 soundtrack!

    • @NilsBerglund
      @NilsBerglund  3 місяці тому

      Yes, I love these non-standard time signature (as in PF's "Money"). And the syncopated beats go well with the erratic motion of the beam, I think.

  • @jameslockwood8008
    @jameslockwood8008 4 місяці тому +1

    Why does it feel like the fate of the universe depends on some bouncing lines 💀💀

  • @rv706
    @rv706 2 роки тому

    Oh, the Koch's fractal is such a massive snowflake!

  • @ares395
    @ares395 4 місяці тому +1

    The more bounces away you are the more 'unstable' the beam is by jumping around

  • @vincemarenger7122
    @vincemarenger7122 2 роки тому

    Imagine being inside a mirror covered room shaped like this.

  • @lkahfi
    @lkahfi 2 роки тому +1

    Nice transition!

  • @SynthRockViking
    @SynthRockViking 4 місяці тому +1

    The Ancients moved mountains with vibrationsss

  • @HotelPapa100
    @HotelPapa100 2 роки тому +3

    Have you chosen the music deliberately to have similar fractal structures?
    It's eerie how different aspects of it synch up with the different phases.

    • @NilsBerglund
      @NilsBerglund  2 роки тому +3

      I usually spend some time selecting the music, yes. Here I found that the slightly syncopated drumming matched the beam's jumps rather well. I think I also fixed the total length of the published version of the simulation after having found that track.

  • @frankdaze2353
    @frankdaze2353 2 роки тому

    I love your videos!

  • @benjaminshropshire2900
    @benjaminshropshire2900 2 роки тому +2

    Each time I see one of these, I start trying to figure out how to generate a soundtrack to match it. The level snowflakes seem to jump around at about the right pace for a rhythm of some kinds, and it seems there should be some way to convert the chaos to a melody: maybe extract the dominant frequency components and process them in some way? It would be as much art as math but could be mesmerizing if done well.

    • @NilsBerglund
      @NilsBerglund  2 роки тому

      It's in interesting idea. I don't know enough about sound generation to do it myself at this point, but maybe someone more familiar with that wants to give it a try.

  • @cmos905
    @cmos905 2 роки тому +3

    mesmerizing, i loved it!

  • @00vulture
    @00vulture 4 місяці тому +1

    Now this is what I think Euclides's head looked like

  • @Xabraxus
    @Xabraxus 4 місяці тому +1

    I wonder if all the simulations of this have the same self intersection points, surely at some point it gets so precise that it gets calculated differently by different processors? I wonder where exactly that cut off point is past the floating point.

  • @thermitty_qxr5276
    @thermitty_qxr5276 Рік тому +1

    Its interesting to see that even if the origin moves slowly the laser will move more faster than the last lines.

  • @DreadedEgg
    @DreadedEgg 2 роки тому

    gosh you are really coming into your own with this channel

  • @Xezlec
    @Xezlec 3 місяці тому

    I'd love to see what happens if the corners are all rounded! It'd transition "gradually" instead of suddenly

  • @hjdbr1094
    @hjdbr1094 2 роки тому +5

    Quick question, if you fix the initial ray and keep increasing the level of the snowflake, does it converge to a determined pattern of reflexions? i.e., could you find the pattern of reflexions for any initial ray in a real Koch snowflake?

    • @NilsBerglund
      @NilsBerglund  2 роки тому +4

      The article the description links to has some results in that direction. I think you have to adapt the angle a bit to the generation of the approximation. But then you get sequences of periodic patterns at every generation.

  • @lord.serginho
    @lord.serginho 4 місяці тому +2

    is... is that... ok, i might have brain damage. this is definitely not ceroba's theme

  • @elecboy5126
    @elecboy5126 2 роки тому

    I liked the description more than the video

  • @GaryFerrao
    @GaryFerrao 2 роки тому +1

    I just came for the corners.

  • @19Edurne
    @19Edurne 4 місяці тому +1

    There are moments when you wish you had three, even four, hands. This is one when I wish I had more eyes...

  • @nxpnsv
    @nxpnsv 2 роки тому

    brilliant

  • @blakksheep736
    @blakksheep736 3 місяці тому +1

    This music reminds me of Rimworld!
    I dont want to be reminded of Rimworld, I have exams this week! 😢

  • @guillegeox
    @guillegeox 2 роки тому

    Impresionante, me encanta ❤

  • @drsatan7554
    @drsatan7554 2 роки тому

    Yet another insightful video.
    Any chance you could do a video with the Deja vu instrumental music, just to make it a touch more epic?

    • @NilsBerglund
      @NilsBerglund  2 роки тому

      I would need a source with a licence allowing reuse, otherwise the video may be taken down for copyright reasons.

  • @SirWulfrick
    @SirWulfrick 2 роки тому

    I have the sudden urge to get stoned and watch this on a 3hr loop. @.@

  • @alan2here
    @alan2here 2 роки тому

    It might be better to only expose pixels in the beam slightly each time they are hit, and have each beam last for many more iterations.

  • @Osama-Bon-Jovi-01
    @Osama-Bon-Jovi-01 2 роки тому

    Awesome

  • @rmarbertin8131
    @rmarbertin8131 3 місяці тому +1

    I had an idea to do something like this, but to hear reverberations, in fractals. Easier said than done though.

  • @lougarcia1485
    @lougarcia1485 2 роки тому

    Mathematical walkthrough, 3, 6, 9,@ a time. Lucky freakin humans!!

  • @Tastenkrueppel
    @Tastenkrueppel 4 місяці тому

    I wonder what it may sound like if you map the edges of the snowflake to a tone being played when the edge is hit by the laser. As an octave spans 12 semitones it should be easy to evenly distribute one or more octaves around the figure.
    Will it result in a sheer cacophony or will there be some kind of rhythm or distinctive chord progressions?

  • @leahl5007
    @leahl5007 3 місяці тому +1

    If you keep increasing the stages, eventually you’ll render the Steamed Hams scene from the Simpsons 👍

  • @juanchetumare
    @juanchetumare 2 роки тому +1

    Hi Nils! Love your work! Did you by any chance play around trying to see which points got "touched" by the light? Obviously with some intensity threshold, and raytracing is hard. But it would be interesting to see if there's places the light didn't reach.

    • @NilsBerglund
      @NilsBerglund  2 роки тому +1

      Thanks! I did something in that direction for a wave simulation, see ua-cam.com/video/GXPtzpZIXhQ/v-deo.html
      I would expect the places where the average energy of the wave concentrate to have some similarity with what happens for particles, though I'm not sure.

  • @loggat3804
    @loggat3804 2 роки тому +3

    Also, how do you always find new ways to reinterpret the movement of light? Like, how much is it your own ideas and how much is it finding new things in your research?

    • @NilsBerglund
      @NilsBerglund  2 роки тому +1

      I have a lot of different sources of inspiration. My research and teaching make up a small part of it. A lot more comes from things I heard about here and there over the years, suggestions from colleagues, and ideas by commenters. Often these ideas remind me of things I had forgotten I knew about. Then it is usually not too hard to find some information online to fill in the missing information.

  • @lampkanocna6
    @lampkanocna6 3 місяці тому +1

    I wonder if (for higher level approximations) there are some dark spots that the laser never illuminates, even if it makes a complete, perfectly continuous circle.

    • @NilsBerglund
      @NilsBerglund  3 місяці тому +1

      That seems a bit unlikely for this particular shape, but I'm not sure. There are indeed polygonal "billiards" that are known to have unilluminable spots, see for instance ua-cam.com/video/U63o4enhQ4Q/v-deo.html

  • @unflexian
    @unflexian 2 роки тому +1

    pretty!

  • @ralanham76
    @ralanham76 4 місяці тому

    You can going with this. Also you can spon the shape and keep the laser straight up.

  • @S.G.Wallner
    @S.G.Wallner 2 роки тому +2

    I was surprised by the jumpiness when the bean passed vertices, but I'm hindsight it makes sense. The moments of resonance were really breathtaking.

  • @oncedidactic
    @oncedidactic 2 роки тому

    I would love to see a heat map of this

  • @slateand808
    @slateand808 2 роки тому +2

    Could this be used for cryptography, since it's hard to predict the starting position of the beam based on where it landed, as the levels increase?

    • @NilsBerglund
      @NilsBerglund  2 роки тому +1

      In principle you can use chaotic systems for cryptography (look for "chaotic synchronization"). I'm not sure this particular system would be useful in practice.

  • @slavvaw
    @slavvaw 2 роки тому

    great music, i like

  • @movax20h
    @movax20h 2 роки тому

    Nice idea. I wonder if it is possible to do raytracing of full Koch snoflake (i.e. infinitely many branches), by calculating the branches on the fly. Should be possible, with a bit of trigonometry.
    But as somebody else mentioned, Koch snowflake at infinty iterations, does not have any edges, just corners....

    • @NilsBerglund
      @NilsBerglund  2 роки тому

      It is not straightforward to define the limit. But in the description, there is a link to an article looking at that problem, for instance by finding families of periodic trajectories that exist at any level.

  • @yqisq6966
    @yqisq6966 4 місяці тому

    Music is so cool.

  • @cheydinal5401
    @cheydinal5401 2 роки тому +1

    0:53 Like a Pink Floyd Album cover

  • @Multiversal_Guardian_Of_Ice
    @Multiversal_Guardian_Of_Ice 3 місяці тому

    As a snowflake, I can confirm that is a fractal.

  • @amazingfireboy1848
    @amazingfireboy1848 2 роки тому +1

    Yet another episode of I have no idea what's going on but it's really cool.

    • @amazingfireboy1848
      @amazingfireboy1848 4 місяці тому

      Oh hey, I feel like I've seen you before. How are you?

  • @pierreabbat6157
    @pierreabbat6157 2 роки тому

    What about half iterations? Between the triangle and the six-pointed star there's a hexagon, etc.

  • @Hailfire08
    @Hailfire08 2 роки тому

    I heard about bricks of negative refractive index materials forming 'perfect' lenses - could you do a wave simulation where a wave comes from a point, passes through a negative refractive index material, and focuses again to a point?

    • @NilsBerglund
      @NilsBerglund  2 роки тому

      I'm not sure how to simulate those, but I can try to find out.

  • @franmedina2096
    @franmedina2096 2 роки тому

    I wish I had this level of understanding of the universe

  • @TheRealAnsontp
    @TheRealAnsontp 2 роки тому

    So this is what dreams look like from 3rd person-

  • @Vfulncchl
    @Vfulncchl 2 роки тому +1

    For some reason I really wanted it to go faster

  • @MusicEngineeer
    @MusicEngineeer 2 роки тому

    now i want to see a lasershow in a koch-snowflake shaped mirror room!

    • @brendawilliams8062
      @brendawilliams8062 2 роки тому

      The laser uses one half mirror, so that one makes you 💭 think for sure.

  • @lucasamorim8699
    @lucasamorim8699 2 роки тому

    Hi Nils! Do you think these simulations can help us "see" SRB measures an/or measures of maximal entropy for the billiard maps/flows?

    • @NilsBerglund
      @NilsBerglund  2 роки тому

      I know SRB measures often occur in chaotic dissipative dynamical systems. When do they occur in conservative ones? Something to do with Aubry-Mather sets perhaps?