Sweep line algorithm - Voronoi tessellation

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • Steven Fortune's sweep line algorithm for constructing a Voronoi tesselation. I use this algorithm in every timestep of a hydrodynamical simulation.
    The code is publicly available: github.com/m31...

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

  • @matthieujoannon73
    @matthieujoannon73 8 лет назад +68

    Extremely satisfying to watch. 10/10 !

  • @jonneh8317
    @jonneh8317 5 лет назад +29

    Holy shit, I've been struggling to understand what goes on in Fortune's Algorithm as most visualizations just jump from event to event.
    This, without any words at all, explains everything perfectly. Thank you, friend.

  • @subarnachatterjee3586
    @subarnachatterjee3586 11 лет назад +14

    hmm.. nice one.. although it lacks expalnations, the diagrammatic approach is very clean..

  • @CarrotCakeMake
    @CarrotCakeMake 3 года назад

    Glad I found this before spending too much time reading stuff.

  • @gabrielzenobi6928
    @gabrielzenobi6928 Год назад

    excellent work

  • @FahadAshraf1995
    @FahadAshraf1995 5 лет назад +1

    Thanks Kev!

  • @anuragpacholi
    @anuragpacholi Год назад

    Protect this video at all costs.❤🎉

  • @markus_knoedel
    @markus_knoedel Год назад +1

    Great. Although I don't know how to write the codd for this. But great to watch.

    • @m31coding
      @m31coding  Год назад +1

      The code is finally publicly available: github.com/m31coding/Havoc

  • @davidmaynard5181
    @davidmaynard5181 6 лет назад

    That’s really pretty

  • @headshot690
    @headshot690 10 месяцев назад

    NICE!
    WAIT A MINUTE/
    ITS BEEN 10 YEARS!

  • @TranquilSeaOfMath
    @TranquilSeaOfMath Год назад

    Nice animation.

  • @Everlier
    @Everlier 10 лет назад +2

    How do you approximate straight lines correctly after casting the parabolas?

    • @m31coding
      @m31coding  10 лет назад +15

      Hey,
      thank you for your interest. Two things: The movie is just a visualization, in the actual algorithm the sweep line jumps from event to event. Secondly, the intersection of two parabolas traces a perfectly straight line.

    • @Everlier
      @Everlier 10 лет назад

      Kevin Schaal
      Yeap, i understand that line is straight. But it straight perfectly only with perfect precision of floating point calculation. Thats was my poin of intrest.
      By the way, discreteness of calculation situations is make the thing clearer for me.
      Thanks for feedback.

  • @curtiswfranks
    @curtiswfranks 4 года назад +1

    How are the parabolas(?) determined at each point in time?

    • @m31coding
      @m31coding  4 года назад +4

      The parabolas are determined such that every point along the line has the same distance to the mesh generating point (red) and the sweep line (blue). For the Euclidian distance metric the results are parabolas, for the Manhattan metric the results are V-shapes of straight lines.

  • @ibiixie
    @ibiixie 8 лет назад +2

    I'm thinking of using this for city generation and road generation in my game, however I can't find any good videos/websites to explain how to implement it...

    • @m31coding
      @m31coding  8 лет назад +8

      Hi,
      you may find an explanation in my diploma thesis which can be found on my homepage. Moreover, I can recommend the book "Computational Geometry - Algorithms and Applications".
      best regards,
      Kevin

    • @ibiixie
      @ibiixie 8 лет назад

      Kevin Schaal Alright, will check those out! Thank you :D

    • @colonthree
      @colonthree 4 года назад +1

      I'm using it for my mesh generator now. It's really good. :3c

  • @colinmcmahon5829
    @colinmcmahon5829 3 года назад

    Tiny Bubbles, it's an Aero!
    So, what are you doing after the Game?

  • @rayhaoray
    @rayhaoray 10 лет назад

    I'm trying to implement this method. Do you mind to share your code? That would be very helpful! Thanks

    • @m31coding
      @m31coding  Год назад

      github.com/m31coding/Havoc

  • @user-464cH3
    @user-464cH3 7 месяцев назад

    How it works!?

  • @FlareGunDebate
    @FlareGunDebate 11 месяцев назад

    aaaaaahhhhhyyyeeeeaaaahhhhhhh

  • @fuzzytheduck6821
    @fuzzytheduck6821 3 года назад

    Bubbles be like

  • @wjrasmussen666
    @wjrasmussen666 2 года назад

    any chance of getting source code?

    • @m31coding
      @m31coding  Год назад

      It is finally available: github.com/m31coding/Havoc

    • @wjrasmussen666
      @wjrasmussen666 Год назад

      @@m31coding Thank you so much. I see you have PHD and that you earned it. Thanks, the code samples are always helpful. If I create anything interesting, I will let you know!

    • @m31coding
      @m31coding  Год назад +1

      @@wjrasmussen666 Sounds good, have fun :)

  • @sspark010
    @sspark010 Год назад

    0:00