Sweep line algorithm - Voronoi tessellation

  Рет қаралды 74,577

Kevin Schaal

Kevin Schaal

11 жыл бұрын

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 жыл бұрын
Extremely satisfying to watch. 10/10 !
@jonneh8317
@jonneh8317 5 жыл бұрын
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 жыл бұрын
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.
@anuragpacholi
@anuragpacholi Жыл бұрын
Protect this video at all costs.❤🎉
@headshot690
@headshot690 8 ай бұрын
NICE! WAIT A MINUTE/ ITS BEEN 10 YEARS!
@gabrielzenobi6928
@gabrielzenobi6928 Жыл бұрын
excellent work
@FahadAshraf1995
@FahadAshraf1995 5 жыл бұрын
Thanks Kev!
@davidmaynard5181
@davidmaynard5181 6 жыл бұрын
That’s really pretty
@TranquilSeaOfMath
@TranquilSeaOfMath Жыл бұрын
Nice animation.
@markus_knoedel
@markus_knoedel Жыл бұрын
Great. Although I don't know how to write the codd for this. But great to watch.
@m31coding
@m31coding Жыл бұрын
The code is finally publicly available: github.com/m31coding/Havoc
@FlareGunDebate
@FlareGunDebate 8 ай бұрын
aaaaaahhhhhyyyeeeeaaaahhhhhhh
@user-464cH3
@user-464cH3 4 ай бұрын
How it works!?
@curtiswfranks
@curtiswfranks 4 жыл бұрын
How are the parabolas(?) determined at each point in time?
@m31coding
@m31coding 3 жыл бұрын
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.
@Everlier
@Everlier 10 жыл бұрын
How do you approximate straight lines correctly after casting the parabolas?
@m31coding
@m31coding 10 жыл бұрын
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.
@ibiixie
@ibiixie 8 жыл бұрын
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 жыл бұрын
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 жыл бұрын
I'm using it for my mesh generator now. It's really good. :3c
@fuzzytheduck6821
@fuzzytheduck6821 3 жыл бұрын
Bubbles be like
@sspark010
@sspark010 Жыл бұрын
0:00
@colinmcmahon5829
@colinmcmahon5829 3 жыл бұрын
Tiny Bubbles, it's an Aero! So, what are you doing after the Game?
@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
@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 Жыл бұрын
@@wjrasmussen666 Sounds good, have fun :)
What is...Fortune’s algorithm?
10:44
VisualMath
Рет қаралды 2,9 М.
I Cracked The Code Behind Nature! ( Voronoi Diagram Explanation )
11:10
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,1 МЛН
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 14 МЛН
Moving-mesh hydrodynamics: 2D-sphere
0:41
Kevin Schaal
Рет қаралды 4,8 М.
Kelvin-Helmholtz instability
1:21
Kevin Schaal
Рет қаралды 23 М.
GEO1004 -- Tetrahedralisations and 3D Voronoi diagrams
11:27
Hugo Ledoux
Рет қаралды 8 М.
Delaunay triangulation divide and conquer algorithm
0:30
Dušan Cvejić
Рет қаралды 30 М.
Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing
22:44
Visualisation of the sweepline algorithm for Voronoi
0:53
CPTuebingen
Рет қаралды 2,3 М.
Sedov blast wave
0:41
Kevin Schaal
Рет қаралды 4,1 М.
GEO1015 -- Triangulations & Voronoi diagram
17:23
Hugo Ledoux
Рет қаралды 30 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,1 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 180 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 217 М.
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 17 МЛН