Sweep line algorithm - Voronoi tessellation

Поділитися
Вставка
  • Опубліковано 20 січ 2013
  • 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/m31coding/Havoc
  • Наука та технологія

КОМЕНТАРІ • 32

  • @matthieujoannon73
    @matthieujoannon73 8 років тому +67

    Extremely satisfying to watch. 10/10 !

  • @jonneh8317
    @jonneh8317 5 років тому +26

    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 років тому +13

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

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

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

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

    excellent work

  • @FahadAshraf1995
    @FahadAshraf1995 5 років тому +1

    Thanks Kev!

  • @davidmaynard5181
    @davidmaynard5181 5 років тому

    That’s really pretty

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

    Protect this video at all costs.❤🎉

  • @headshot690
    @headshot690 7 місяців тому

    NICE!
    WAIT A MINUTE/
    ITS BEEN 10 YEARS!

  • @TranquilSeaOfMath
    @TranquilSeaOfMath 11 місяців тому

    Nice animation.

  • @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

  • @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 3 роки тому +1

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

    • @m31coding
      @m31coding  3 роки тому +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 років тому +1

    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  7 років тому +7

      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 7 років тому

      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?

  • @FlareGunDebate
    @FlareGunDebate 8 місяців тому

    aaaaaahhhhhyyyeeeeaaaahhhhhhh

  • @rayhaoray
    @rayhaoray 9 років тому

    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

  • @fuzzytheduck6821
    @fuzzytheduck6821 3 роки тому

    Bubbles be like

  • @user-464cH3
    @user-464cH3 4 місяці тому

    How it works!?

  • @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