Pathfinding Algo on Real Map: Paris

  Рет қаралды 96,750

Navigraphix

3 ай бұрын

Join "Navigraphix" on a captivating journey 🌐:
- GIS & Blender Creativity: Merging data and design to explore efficient routes worldwide 🏙️.
- Stunning Visual Narratives: Transforming map data into visual stories through urban mazes and landscapes 🌟.
Navigraphix Content Highlights:
- Explore Efficient Routes: Dive into the art of finding the shortest paths across cities 🗺️.
- Data to Visuals: Transforming intricate GIS data into clear, engaging visuals 📉.
Stay Connected with Navigraphix:
- Subscribe for Updates: Join our visual data journey and never miss an update 🔔.
- Support by Sharing: Help us reach more viewers interested in data visualization by sharing our content 👥.
- Feedback Welcome: Share your thoughts and suggestions in the comments section below 💬.

Пікірлер: 165
@eyeamKurisu
@eyeamKurisu 23 күн бұрын
what's the quickest path to leave France
@wlockuz4467
@wlockuz4467 23 күн бұрын
Don't be in France
@no_name4796
@no_name4796 23 күн бұрын
@wlockuz4467 that's a O(1) time complexity algorithm!
@qwantum_7821
@qwantum_7821 22 күн бұрын
The way you came in, by the sewers
@Dank_Giraffe
@Dank_Giraffe 22 күн бұрын
Probably through Belgium, oh wait no that's entering
@naii2481
@naii2481 21 күн бұрын
To be in France already is a big blunder
@thomasharris9059
@thomasharris9059 22 күн бұрын
Pretty cool visualization of how lightning works as well
@droftrop4135
@droftrop4135 19 күн бұрын
please explain? im not good at physics theories and neither do I understand any algorithms
@user-hw1wb6lh6h
@user-hw1wb6lh6h 19 күн бұрын
​@@droftrop4135same here am gonna wait for explanation
@loztsoul4905
@loztsoul4905 19 күн бұрын
​@@droftrop4135 Imagine the sky as two huge metal plates. The clouds are like one plate, and they're filled with negative charge. The ground is like the other plate, but it's filled with positive charge. We call this 'polarization.' So, when things are polarized, they want to balance out. It's like when you mix hot water and cold water, they end up balancing the temperature between them. Negative charge always wants to meet positive charge, because they attract each other for having different sign. But the air in between isn't very good at letting them meet because it's not a good conductor. So, they start moving towards each other slowly, like people in a big crowd. But when they finally meet, it's not just anywhere - it's like they found the quickest way to get together. That's why lightning bolts take the shortest path. It's like they're taking a shortcut through the air because it's easier that way and it takes less effort. (sry bad english :( hope this helps)
@veryrealpersonwhoisreal
@veryrealpersonwhoisreal 18 күн бұрын
This video shows bidirectional breadth first search. If you watch the Slow Mo Guys video from 5 years ago you can see the lightning forming more like unidirectional A*.
@further_rush5138
@further_rush5138 17 күн бұрын
Electricity likes to follow the path of least resistance So how would electricity know which path has the least resistance ? It tries every path and the path with the lowest resistance ends with having the maximum electric flow Finding the path of least resistance looks a lot like a path finding algorithm shown in this video Look up "slow mo lightning"
@xWink
@xWink 22 күн бұрын
Lightning looks a lot like this in slow motion, really cool
@krolmuch
@krolmuch 19 күн бұрын
not really
@not-alot-of-options
@not-alot-of-options 19 күн бұрын
@@krolmuch Yes really. Look it up, there's plenty of videos.
@leo8755
@leo8755 19 күн бұрын
well, it kinda does try to find the shortest path to the ground
@veryrealpersonwhoisreal
@veryrealpersonwhoisreal 18 күн бұрын
This video shows bidirectional breadth first search. If you watch the Slow Mo Guys video from 5 years ago you can see the lightning forming more like unidirectional A*.
@thatwasntacatnip
@thatwasntacatnip 6 күн бұрын
@@veryrealpersonwhoisreal There are other slow-mo videos which show the branching on a receiving side. Their size is not symmetrical though - the receiving side branches are always shorter.
@PixelSubstream
@PixelSubstream 20 күн бұрын
If Google Maps had Evangelion UX Design
@hydrochicken9854
@hydrochicken9854 25 күн бұрын
I'd love to see a version of this using the A* algorithm!
@bronson4574
@bronson4574 23 күн бұрын
There's videos on it here on YT
@ericb8494
@ericb8494 19 күн бұрын
This looks like Dijkstra's pathfinding algorithm from the source and destination nodes. Google Maps uses the same approach, but with the A* algorithm instead. In my CS class, we implemented ALT which is even faster, but requires pre-processing. ALT is the same as A*, but uses precomputed heuristics between landmarks which is then used for a more accurate heuristic function, significantly reducing the amount of edges that are checked. ALT is basically A* with a better heuristic function than just a Euclidean distance heuristic function.
@ixenroh
@ixenroh 15 күн бұрын
Interesting, makes me wonder what the computational complexity is as a whole for ALT compared to A* and if it is generally cheaper, or if it's only worth to use in certain specific circumstances?
@simonkovacic2585
@simonkovacic2585 21 күн бұрын
Reminds me of slow-mo videos of lightning
@alystair
@alystair 15 күн бұрын
80's anime vibes, wow!
@adog3129
@adog3129 15 күн бұрын
80's anime vibes, wow!
@winni2701
@winni2701 20 күн бұрын
You have a good taste of music
@cxgamer9680
@cxgamer9680 23 күн бұрын
Could use a heuristic it seems like.
@josephdaly
@josephdaly 19 күн бұрын
Earned my subscription, this is an awesome visualization
@schizoposter1499
@schizoposter1499 20 күн бұрын
It would be cool to see a comparison between different path finding algorithms.
@Mayross_
@Mayross_ 3 ай бұрын
I am your 6th subscriber ! im from paris
@ragmt09
@ragmt09 23 күн бұрын
bonjour
@AbdallahAhmed-qz6uu
@AbdallahAhmed-qz6uu 21 күн бұрын
how many baguettes have you eaten today mon ami
@bounty8655
@bounty8655 20 күн бұрын
Ok but who's in Paris?
@Mayross_
@Mayross_ 13 күн бұрын
@@bounty8655 🤫
@cokemango
@cokemango 2 ай бұрын
Very nice work, how did you achieve this animation with Blender.
@Navigraphix
@Navigraphix 2 ай бұрын
I use the Blender Python API to insert keyframes and achieve the desired effect. 😉
@kaancan8888
@kaancan8888 17 күн бұрын
Awesome works, Can you do İstanbul version of this too ❤
@sametucar9544
@sametucar9544 19 күн бұрын
cool looking
@Arch-mv5te
@Arch-mv5te 20 күн бұрын
wow, thats really cool and looks awesome i really want to reacreate this
@taofeng4443
@taofeng4443 17 күн бұрын
It looks really cool
@miloelite
@miloelite 15 күн бұрын
So this is how Google Maps does its thing
@Stangy-ln6dv
@Stangy-ln6dv 20 күн бұрын
would this work with terrain? (like finding the lowest path through the mountains?)
@ShuRugal
@ShuRugal 18 күн бұрын
you could probably make it work, but you'd have to turn the terrain data into path data first. once you turn the terrain data into path data, you would then have to come up with a weighting system for the algorithm to use to evaluate a path with a greater elevation as less desirable.
@FutureAIDev2015
@FutureAIDev2015 16 күн бұрын
Is that breadth-first search?
@isbestlizard
@isbestlizard 21 күн бұрын
Now do visualisation of ant colony optimisation :D
@ayrtonpavot3096
@ayrtonpavot3096 20 күн бұрын
how is this diferent than the "itenerary" option in google maps ?
@RasberryPhi
@RasberryPhi 2 ай бұрын
is it the most optimal algorithm possible? which one do you use?
@hghghghghghghghghgh
@hghghghghghghghghgh 2 ай бұрын
Seems like a regular Dijkstra with 2 starting points to me, could be wrong
@eeeeeek
@eeeeeek 2 ай бұрын
this looks pretty bad
@nitori_kawashiro
@nitori_kawashiro 2 ай бұрын
this appears to be some sort of a meet-in-the-middle breadth first search; one'd probably be better off with dijkstra or A*
@andrasfogarasi5014
@andrasfogarasi5014 23 күн бұрын
@@nitori_kawashiro No, I'm certain this is Dijkstra. However A* would be leagues better. We have a good admissible heuristic for this. Namely, distance as the crow flies.
@vixtordev
@vixtordev 18 күн бұрын
Please make this a screensaver lol
@xaiano794
@xaiano794 22 күн бұрын
I would imagine the quickest pathfinding would be to always choose the route in the direction of the target until the 2 lines connect, then to calculate the maximum angle using straight lines (if points a and b are the source and destination, construct triangle ABC so that AC + CB = the distance of the initial route) and then explore routes in that triangle until another connects and if it is shorter, reduce the angle appropriately. That should reduce the seek time significantly
@FabianReschke
@FabianReschke 21 күн бұрын
Pathfinding algorithms usually dont actually see the top down perspective or even the angles. It's just points and distances. Imagine a fishernet. You can twist and turn it, would be hard to draw a triangle. For us humans things like this are kind of trivial (same with sorting numbers) but for computers you really need an algorithm that might look overly complicated for humans, yet is actually really efficient, given the knowledge that the program has.
@xaiano794
@xaiano794 21 күн бұрын
@FabianReschke it depends on how complex the route is to how best to calculate. The system I described is similar to the one most mapping systems use because if you used this system and asked it to calculate a route across a continent it would be forced to calculate every road in the entire continent before reaching a solution
@yudoball
@yudoball 21 күн бұрын
if you have points then you can calculate a direction vector, thus making an educated guess and ruling out paths that go in the opposite direction of your destination.
@chrisvinciguerra4128
@chrisvinciguerra4128 21 күн бұрын
@@yudoballthe video appears to show dijkstra’s algorithm, but you are talking about A* with a Euclidean distance heuristic
@8Hshan
@8Hshan 21 күн бұрын
It would fail in any case in which you'd have to go "backwards" to actually reach the destination.
@jeanvichier123
@jeanvichier123 3 күн бұрын
This looks like a graphic in Neon Genesis Evangelion
@yikebendan
@yikebendan 21 күн бұрын
EVA vibes
@Verbosal
@Verbosal 20 күн бұрын
Amazing visualization! One small issue though. The map isn't real
@majormiller493
@majormiller493 20 күн бұрын
Could you tell us where the points are located ? I can tell the northern one is near the subway station Jaurès but not that much idea for the southern one
@joaoruiz2577
@joaoruiz2577 12 күн бұрын
from the looks of it, might be from one of the entrances to the parc de buttes chaumont to the paris expo à porte de versailles.
@MPSpecial
@MPSpecial 9 күн бұрын
southwest point is in front of pavilion 7 of the Porte de Versailles exhibition centre. northeast point is at 31, rue Manin
@majormiller493
@majormiller493 9 күн бұрын
@@MPSpecial merci chef
@majormiller493
@majormiller493 9 күн бұрын
@@joaoruiz2577 thanks chef
@bustlinValorant-nm3tc
@bustlinValorant-nm3tc 2 ай бұрын
What was used for the production of this video?
@YouTubeAccount-qk9fg
@YouTubeAccount-qk9fg 23 күн бұрын
slavery
@bustlinValorant-nm3tc
@bustlinValorant-nm3tc 22 күн бұрын
@@KZbinAccount-qk9fg very helpful and insightful.
@pdcoronado
@pdcoronado 2 ай бұрын
Habrá algún tutorial ?
@hikari1690
@hikari1690 20 күн бұрын
No mentioned but this looks like a bidirectional breadth first search for those interested
@angulinhiduje6093
@angulinhiduje6093 20 күн бұрын
is it better then a-star?
@hikari1690
@hikari1690 20 күн бұрын
@@angulinhiduje6093 I think it's case by case. With a bad heuristic, A* behaves like BFS/djisktra(can never spell this right...) anyways so bi-directional BFS will be faster because the search happens from both ends and meets at the middle so the time should be O(b^(d/2)) vs O(b^d) where b is breath and d is depth. With a good heuristic, my instinct is A* will be faster because although it needs to cover twice the depth, it doesn't need to explore as many branches as BFS would. But this is just gut feeling, I don't have the maths to back it up.
@hikari1690
@hikari1690 20 күн бұрын
@@angulinhiduje6093 oh, but A* ensures the result you get is optimal while bi-directional bfs might not if the cost isn't uniform. Bidirectional BFS is also a pain to implement
@olocuilta456
@olocuilta456 22 күн бұрын
1st sucriber from north korea
@JkaBG
@JkaBG 22 күн бұрын
wut??
@afadeevz
@afadeevz 21 күн бұрын
Is that you Kim?
@olocuilta456
@olocuilta456 21 күн бұрын
@@afadeevz yes
@OfficialDaveChannel
@OfficialDaveChannel 20 күн бұрын
Wild guess but maybe ur from el salvador idk
@olocuilta456
@olocuilta456 18 күн бұрын
@@OfficialDaveChannel how you know that
@overcookedsquid8400
@overcookedsquid8400 13 күн бұрын
Ghost in the shell type algo
@ficolas2
@ficolas2 13 күн бұрын
no heuristic?
@PhenixArcher
@PhenixArcher 23 күн бұрын
would love to see a download for this
@thomasb.8808
@thomasb.8808 15 күн бұрын
Shortest path, but definitely not the quickest...
@DrifterXx22
@DrifterXx22 23 күн бұрын
is this breadth first search?
@wlockuz4467
@wlockuz4467 23 күн бұрын
Looks like two way breadth first search.
@genesisreaper2113
@genesisreaper2113 Ай бұрын
this makes me wonder. whats the optimal amount of starting points for the quickest search, and where would we place them?
@ritzkid76
@ritzkid76 Ай бұрын
i don’t think there’s any optimal way to place any additional search points past the start and end since no place you put the median searcher would be guaranteed to be connected. you could however use double ended A* to get a faster result than the one in the video :)
@genesisreaper2113
@genesisreaper2113 29 күн бұрын
@@ritzkid76 well if you had a premade uniform point map, and then layered it over another actual map (maybe have the points auto snap to the nearest node), sometimes that would be more fast than just 2 nodes. Say, an x shape for example with 5 nodes, layered onto a normal map. I'd think that would be faster than going from specific point a to specific point b. It would obviously depend, if the distance was nextdoor it would be less efficient, but the longer the distance is the more effective it would be. At least in theory, idk.
@awfulunicorn
@awfulunicorn 22 күн бұрын
This is basically the idea of Transit node routing. For example: you precompute the routes between the highway exits of all major cities and then only find the paths between those exits and the actual start/destination. en.m.wikipedia.org/wiki/Transit_node_routing#:~:text=In%20applied%20mathematics%2C%20transit%20node,relevant%20to%20long%2Ddistance%20travel.
@genesisreaper2113
@genesisreaper2113 21 күн бұрын
@@awfulunicorn ooh very cool, thank you
@TestTest-tj4nt
@TestTest-tj4nt 20 күн бұрын
Very romantic.
@kyr...
@kyr... 16 күн бұрын
Why did that felt kinda romantic?
@ciaotiziocaius4899
@ciaotiziocaius4899 20 күн бұрын
Looks like something from Evangelion
@PVMChannel
@PVMChannel 20 күн бұрын
is it slowed down? if yes, show much?
@user-zu6kt1gq2m
@user-zu6kt1gq2m 22 күн бұрын
Я 73 подписчик из сибири!!! Закончилась водка и я сегодня узнал что есть yoytube
@alanbrierton5450
@alanbrierton5450 21 күн бұрын
Now add realtime traffic congestion.
@ethribin4188
@ethribin4188 21 күн бұрын
This is also how lightning works by the way.
@OfficialDaveChannel
@OfficialDaveChannel 20 күн бұрын
Well, lightning looks for the path of least resistance idk if it could rlly be compared to an algorithm
@j-twd930
@j-twd930 21 күн бұрын
Is there a music name?
@mrshibli
@mrshibli 3 ай бұрын
Good Video !! Remember me, I'm one of your first 5 subscribers.
@neznh
@neznh 26 күн бұрын
he will forget you
@Xevion
@Xevion 22 күн бұрын
Kinda lame that there's no heuristic. Pretty, but I think it'd be cooler and more honest if there was weighting on the nearest unsearched points.
@Bobany
@Bobany 22 күн бұрын
but same speed, the first one to connect must therefor be the shortest route. but maybe you mean this that weights on "non-obvious direction" to direct processing power in more likely directions?
@SliceOfFish
@SliceOfFish 18 күн бұрын
Do it with A*
@MaryMary-sh5ge
@MaryMary-sh5ge 19 күн бұрын
Noi umani non dobbiamo saperlo
@SoonEnough
@SoonEnough 2 ай бұрын
8th from Syria lol
@phuripatkongsakban8580
@phuripatkongsakban8580 19 күн бұрын
What algorithms is used in this clip? Dijkstra?
@realprodigious
@realprodigious 20 күн бұрын
rip cpu
@YayzayMc
@YayzayMc 18 күн бұрын
who's in paris?
@lappelduvide2445
@lappelduvide2445 21 күн бұрын
wait so it's just an algorithm that finds the path? It hought it was unpaid interns at google....
@Nicogs
@Nicogs 21 күн бұрын
The reason your map looks stretched out is because you didn’t correctly convert longitude and latitude to x y pixel coordinates
@simonkovacic2585
@simonkovacic2585 21 күн бұрын
I think it might just be a 3d view?
@OfficialDaveChannel
@OfficialDaveChannel 20 күн бұрын
tilted perspective attempting to look 3D-ish
@Nicogs
@Nicogs 20 күн бұрын
@@OfficialDaveChannelIt is the exact mistake that creates this kind of transformation, seems a little bit more plausible than someone creating a visualisation in Blender, a 3D engine, to then render it sideways with a camera set to isometric, at the exact angle that the very common mistake of converting lat as long with the same unit would make…
@deafharp8944
@deafharp8944 2 ай бұрын
15th subscriber from Palestine!
@arsiarskila
@arsiarskila Ай бұрын
Imagine
@deafharp8944
@deafharp8944 21 күн бұрын
@@arsiarskila ?
@real31iger
@real31iger 26 күн бұрын
For this humans exists
@theastuteangler
@theastuteangler 17 күн бұрын
shortest path is not the fastest path
@mehmetoguzyardimci8598
@mehmetoguzyardimci8598 20 күн бұрын
This only works if the distance from A to B is (or can be assumed) equal to the distance from B to A. Also, the animation is not correct.
@user-hf6os1qb2w
@user-hf6os1qb2w 17 күн бұрын
Weak not optimised for going in totally opposite direction
@gregboi183
@gregboi183 20 күн бұрын
Wtfdym bro France isn't "real"
@alvinhoklk
@alvinhoklk 20 күн бұрын
Nazis didn't have this and still took france in about two days L france
@RussianStyleZV
@RussianStyleZV 19 күн бұрын
D DAY
@alvinhoklk
@alvinhoklk 19 күн бұрын
@@RussianStyleZV took you guys that + half of the russian population just to take on germans on horseback. horrible performance
@sans_hw187
@sans_hw187 19 күн бұрын
6 weeks ≠ 2 days
@alvinhoklk
@alvinhoklk 19 күн бұрын
@@sans_hw187 hyperbole... Ever heard about it?
@sans_hw187
@sans_hw187 19 күн бұрын
@@alvinhoklk 80,000 French people died during the invasion of their country, including 20,000 civilians. That’s more than the entirety of American casualties in the Vietnam war that lasted for 20 years, yet Americans see Vietnam as a “national tragedy”. In 6 weeks that’s an insane death rate so imagine if it had happened in 2 days. Respect… ever heard about of it?
@Marc83Aus
@Marc83Aus 21 күн бұрын
Hilariously inefficient when you look at it this way.
@ryant3204
@ryant3204 24 күн бұрын
eww bfs
@nickst2797
@nickst2797 22 күн бұрын
Really useful for Illegal Immigrants.
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 48 МЛН
Көтіңді қысып, ауылға қайт! | АСАУ | 2 серия
33:16
НЕОБЫЧНЫЙ ЛЕДЕНЕЦ
00:49
Sveta Sollar
Рет қаралды 7 МЛН
I MADE A CARDBOARD SWING!#asmr
00:40
HAYATAKU はやたく
Рет қаралды 30 МЛН
Best Gun Stock for VR gaming. #vr #vrgaming  #glistco
0:15
Glistco
Рет қаралды 2,8 МЛН
НЕ ПОКУПАЙ iPad Pro
13:46
itpedia
Рет қаралды 55 М.
Купите ЭТОТ БЮДЖЕТНИК вместо флагманов от Samsung, Xiaomi и Apple!
13:03
Thebox - о технике и гаджетах
Рет қаралды 63 М.