A* (A-Star) Pathfinding Algorithm Visualization on a Real Map

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 1,5 тыс.

  • @OrangeC7
    @OrangeC7 Год назад +11877

    I loved the added touch of the lighting strike, awesome visualization

    • @bulkvanderhuge9006
      @bulkvanderhuge9006 Год назад +115

      That's the optimal path being highlighted

    • @Dvniele
      @Dvniele Год назад +16

      Bro 😂

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

      @@bulkvanderhuge9006 i think they know

    • @Papa-Murphy
      @Papa-Murphy Год назад +88

      @@bulkvanderhuge9006definitely seems inspired by a lightning strike still. The flash before especially

    • @charliekill88
      @charliekill88 Год назад +88

      @@bulkvanderhuge9006nooooooooo really?

  • @sarojandongol1482
    @sarojandongol1482 Год назад +644

    when that one path at 0:49 missed its mark, i felt genuine sadness for it.

    • @oraclematon9277
      @oraclematon9277 2 месяца назад +4

      yeah, it seams not that perfect

    • @TheToomykins
      @TheToomykins 2 месяца назад +57

      @@oraclematon9277 a* is not perfect, but how is this a*'s fault? It's not the algorithms fault that that particular road does not lead to the destination. It was "discovered" first because going down that road is *faster* than turning into the correct route, but it does not lead to the destination.

  • @emwave100
    @emwave100 Год назад +11715

    It looks very similar to a super slow motion capture of a lightning strike

    • @FlorianWendelborn
      @FlorianWendelborn Год назад +685

      In general A* looks a lot like Lichtenberg figures¹.
      ¹ do not attempt to do this, they’re very dangerous with the slightest mistakes

    • @mr.2minutes161
      @mr.2minutes161 Год назад +274

      im seeing slime mold

    • @unorthodox1430
      @unorthodox1430 Год назад +770

      Lightning does indeed take the path of least resistance to the ground

    • @onesandzeros4312
      @onesandzeros4312  Год назад +962

      Thank you, that was the imagery I was going for.

    • @orterves
      @orterves Год назад +24

      I was just thinking the soundtrack should be a low key electrical buzzing until CRACK - BOOM

  • @ShiftyTheDev
    @ShiftyTheDev Год назад +155

    On one hand I love this because it's one of the coolest things I've seen. The colors and bloom effects are gorgeous!
    On the other hand I now have to try (and likely fail) at re-creating this and I really had things I wanted to do today :)
    Excellent work!

  • @vexphoenix
    @vexphoenix Год назад +6051

    If you made this visualisation yourself then you need to be hired in all kinds of GUI and UX jobs immediately lol its so visually pleasing

    • @satyamedh
      @satyamedh Год назад +216

      this video is a work of art

    • @ZeroInDaHouse
      @ZeroInDaHouse Год назад +852

      Why is the reaction to something cool often "You need to be hired by a boss who will constrain you and enslave you and never make you design something this cool ever again." People do cool shit when they they are free from constraints.

    • @ilovemangojuice0
      @ilovemangojuice0 Год назад +252

      @@ZeroInDaHouse yea most people dont realize how much good ideas and beautiful thoughts go to waste because they were deemed to not make money and not worth the time by idiot bosses and managers, nearly all companies have their capabilities bottlenecked by these managers and bosses who only exist to greed

    • @sponge1234ify
      @sponge1234ify Год назад +155

      @@ZeroInDaHouse I think the idea(l) was that "You need to be paid to make these so that you can keep making these with the safety net of being paid" but, as you say, not everything have to be for money.

    • @frydac
      @frydac Год назад +25

      Yup, you generally don't get paid for your best work, but for the bare minimum that satisfies the requirements, while taking the least amount of time possible, so you can quickly move on to the next thing and do it again, but faster pls! Time is money!

  • @__vyre
    @__vyre 10 месяцев назад +57

    When the paths hit the dot and it flashes all I can hear is the fucking vine boom and it’s killing me

    • @HeadsetHatGuy
      @HeadsetHatGuy 26 дней назад +2

      21st century humor and its consequences

  • @CoolExcite
    @CoolExcite Год назад +1856

    gist of the algorithm for anyone curious
    1. keep a list of all nodes you can currently reach and haven't been visited yet, keep a cost associated with each. The cost is equal to the shortest known path to that node plus some heuristic value (e.g. the euclidean distance between that node and the destination node).
    2. Keep a list of all nodes visited, with each node in this list store the path length and the previous node visited so the path can be reconstructed
    3. Visit the node with the lowest cost, update the list of reachable nodes accordingly
    4. repeat 3 until you have reached the goal. If the heuristic has the right properties (consistency) it is guaranteed to be the shortest path from the start to the end

    • @mdyas1711
      @mdyas1711 Год назад +107

      Except that time is a factor in mapping, you should pull from the value denoting speed of the road. Shortest distance while useful, in reality shortest distance in Time is the preferred solution. The shortest distance on the Rome map would be to take the ring road and exit.

    • @marcosalazar4682
      @marcosalazar4682 Год назад +201

      @@mdyas1711Make the road weights the speed of the road, problem solved

    • @OscarGonzalez-ld4np
      @OscarGonzalez-ld4np Год назад +131

      ​@@marcosalazar4682Real mapping applications probably use the time it takes to traverse the road as weight, which already takes speed and distance into account.

    • @sponge1234ify
      @sponge1234ify Год назад +26

      @@mdyas1711 The dataset itself doesn't seem to have the weights for road speed, so this is the closest they can get.

    • @frydac
      @frydac Год назад +28

      Also traffic lights, left turns without traffic lights can be slower slower than right tuns, and probably a bunch of other considerations.

  • @JosephDalrymple
    @JosephDalrymple Год назад +497

    It'd be dope to see a comparison between A* and other pathfinding algorithms, like a race, but with this visualization effect! Especially given that some algorithms are faster than others in very specific scenarios. Very cool!

    • @xFuaZe
      @xFuaZe Год назад +9

      +1 for the comparison, that would be epic

    • @Adri-242
      @Adri-242 Год назад +1

      I agree! That would be super cool!

    • @gavincraddock5772
      @gavincraddock5772 Год назад +11

      For A Level Computer Science students in the UK, they frequently have to compare A* to Dijkstra's algorithm - a comparison to this would be super useful!

    • @TheBaldrickk
      @TheBaldrickk Год назад +7

      I'm curious about node weights here.
      Are they just using position, or are they weighted so that larger, faster roads have a much lower traversal cost?

    • @Osmone_Everony
      @Osmone_Everony 8 месяцев назад

      I agree. There's a ton of comparison videos for sorting algorithms. I could imagine the same for path finding.

  • @parzh
    @parzh Год назад +254

    I like the lightning bolt effect when it finds the path. Impressive work!

  • @fearlesswee5036
    @fearlesswee5036 Год назад +72

    I would love to see a loading screen in a game that looks like this, where the start position is the location where you are leaving, and then destination the algorithm is trying to reach is the location you're traveling to. The lightning strike visual happens when the loading finishes.
    It'd probably have to be a pre-rendered animation, so it's not wasting processing time on the visuals that could be spared for loading the game quicker. And if the loading finishes before the animation does, it could play in like x5 speed until the lightning strike graphic occurs.

    • @toddkes5890
      @toddkes5890 10 месяцев назад +1

      The other stunt would be adjusting the loading percentage bar based on prior loads. For example the game Satisfactory might load environment, natural features, natural resources, player-made features, player-made resources, player inventory, and player appearance.
      When the game first loads the natural features and resources would take the longest to load as there is so much present and the player-made items are a single drop pod, a few Miners, a power plant, and an Assembler. So 70% of the load time would be the natural features and ~20% would be player-made items.
      As time goes by, the player is clear-cutting the local forest and building a giant factory. If the game does not adjust then the loading bar would advance quickly to the 70% mark and the final 20% mark would take far longer.
      But if the game adjusts the loading bar as the game goes on, then the natural items would be reduced to maybe 15% of the loading bar while the player's items would be ~80% of the loading bar.

    • @gruntaxeman3740
      @gruntaxeman3740 2 месяца назад +3

      Umm... A* is very simple algorithm, it is used real time strategy games that run on Amiga 500.
      You can run this easily on browser, with Raspberry Pi and it is not CPU that is used much except 1/4 cores running algorithms and sending draw calls, it is GPU doing glow effect that costs more resources.
      Prerendered animation uses much more resources.

    • @jainabraina
      @jainabraina 2 месяца назад +4

      Definitely cheaper to compute this in real time than to dedicate disk space to a pre-rendered animation and memory to load it into.

  • @Wrugoin13
    @Wrugoin13 Год назад +866

    For anyone interested, the Chicago route seems to be Lincoln Park to the Brookfield Zoo. You can map it out on your favorite map tool to see the difference between how this pathfinder algorithm will differ from the optimal route with traffic time. This results in a trip down Rt. 34 (Ogden Ave), but that route would take far longer than using either of the two expressways available (55 or 290). I wonder if the algorithm could be programmed to use speed limit metadata to get closer to real-time route optimization.

    • @KnightMirkoYo
      @KnightMirkoYo Год назад +148

      This algo (and similar ones) use heuristic to calculate "cost" of reaching each node. I think it could be adjusted to include speed limit which cold result in a better path travel time-wise.

    • @egggge4752
      @egggge4752 Год назад +53

      Yes it could, you just multiple the length of each node by the speed limit before the algorithm stores their value

    • @archivist8523
      @archivist8523 Год назад +74

      You definitely could do something similar that takes into account the speed limit, steepness grade, road quality, construction hazards, and any other factors you can think of. Welcome to the field of Geographic Information Science!

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

      was exactly my thought for creator to dynamically simulate rushhour like traffic and see how the pathing changes.

    • @alefor72
      @alefor72 Год назад +23

      Very nice visualization, but driving that route through and inside Rome can only be dared to be thought by a naïve computer mind who happens to know very little about driving in a kind of traffic where you whish you had grenades' stocked in your dashboard ...

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

    I could watch these for way longer than I should :)
    Nicely done!

  • @Andernol
    @Andernol Год назад +74

    Saw this on Reddit yesterday. What a fantastic visual. Id love to see this done on cities with maybe more geographic limitations to their road layout. Something like the SF bay area, and and how the bay/bridges change the road layouts and flow of traffic.

  • @vedx
    @vedx Год назад +2

    I am glad that RUclips recommend this. Awesome visualisation 🔥

  • @khashayarr
    @khashayarr Год назад +17

    Map direction algorithms have been a reoccurring shower thought for me but never looked it up for some reason. I've always assumed the best way would be to do run _two_ cost functions in parallel, taking the next turn based on distance to the opposing end since the last turn. Interesting to see that an established algorithm does it from one node!

    • @pfeilspitze
      @pfeilspitze Год назад +3

      Because A* has the heuristic, bidirectional isn't as important. It's still doable, though, just not the 4x faster you get from bidirectional for things without a heuristic.

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

      The usual improvement to A* is to make it hierarchical -- there's usually no point in looking at little alleyways in the middle when you have a long way to go.

    • @wheedler
      @wheedler 4 месяца назад

      Yeah, I kept thinking about how humans would start from the end. But I guess maybe it is.

  • @no..youtube
    @no..youtube Год назад +4

    That's beautiful! I want a 1 hour version of these videos

  • @GabrielGABFonseca
    @GabrielGABFonseca Год назад +84

    Do you think you could do a behind-the-scenes look at how you made the visualisation proper (not the algorithm itself) in Blender? I've been looking at using Blender for Python datavis and this is an excellent case study!

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

    This is probably the coolest video I've seen all year! Wow. Thank you!

  • @punpcklbw
    @punpcklbw Год назад +24

    Awesome way of visualizing the search space of A* pathfinding! Love to see it instantly collapse to the best solution once it touches the destination. What could make this even cooler is the use of HDR imaging for the "lightning strike". You can see the bright colors being clipped to white when it fades as the substrate cools down.

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

    I need like an hour of these, different maps :D they're immensely satisfying to watch!

  • @liambennett1878
    @liambennett1878 Год назад +4

    It’s like lightning! Love the visualization

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

    That is soooo awesome, thanks ! Hope ur channel blows up now :)

  • @Kufunninapuh
    @Kufunninapuh Год назад +6

    This would be the sickest loading screen in any game ever made.

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

    Would love to see a tutorial for how to do this! Absolutely blown away by the visualization. New to python and blender , so please do post a tutorial or perhaps write about one!

  • @3DProgramming
    @3DProgramming Год назад +14

    it seems to use only distance as a metrics, otherwise, if also road speed limits were taken into account, i think choosing the rome ring road would have been the best choice. Btw wonderful visualization! Love the effects

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

    I love the visualization! This is so satisfying

  • @thestatpow5
    @thestatpow5 Год назад +16

    Very cool. Satisfying to watch. just like the sorting algorithm videos. I bet if you added noise to this and made a few you'd hit the algorythm pretty quickly.

  • @W62826
    @W62826 8 месяцев назад

    I read a book about A* algorithm yesterday, and this is really awesome. Visualized one is so great!

  • @kipchickensout
    @kipchickensout Год назад +8

    no audio, 1 minute long and still it's one of the best videos, I've always wanted to see exactly this 😂 thank you

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

    the lighting strike was perfect; I even was expecting to see it on the first run around thats how perfectly it fits.

  • @HissingStone714
    @HissingStone714 Год назад +22

    Amazing video, I loved the animation. It's so beautiful, I would love a video explaining how you did it

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

    I recall learning about A* using Python when I first learned about making platform games. Very cool algorithm!

  • @JustinVein
    @JustinVein Год назад +6

    I would LOVE to see a tutorial. It is beautiful. If you could do that, it would be amazing. Thanks

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

    that is not only informative in some way, but also absolutely gorgeous

  • @MrUbister
    @MrUbister 8 месяцев назад +11

    Me, a European, watching a pathfinding algorithm direct me through the old town medieval section of the city: 💀

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

    Congrats on the hit viral video. You deserve it. This is beautiful :)

  • @normal_game_world
    @normal_game_world 8 месяцев назад +3

    We need a screensaver like this

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

    Its so fascinating how we humans could just visualize in our heads and find a path in seconds

  • @cokemango
    @cokemango Год назад +25

    This is really cool, I would totally pay for the blender file if available.

  • @Andrew90046zero
    @Andrew90046zero Год назад +2

    I wanna see more of this.
    Legit looks like lightning and that is cool!

  • @metaphoricallyalive8109
    @metaphoricallyalive8109 Год назад +7

    It looks so good. Would you also try some other algorithms? And then compare them? Like, Djikstra, BFS etc.

    • @onesandzeros4312
      @onesandzeros4312  Год назад +5

      Thank You! Maybe at some point yes. I have seen few videos like that and they do look interesting.

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

    Would love an hour of these, with a mix of algorithms too. It would be great to fall asleep to

  • @dpv202020
    @dpv202020 Год назад +5

    Beautiful, can you share the code to see it on my country maps?

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

    Awesome visualization. Great job!

  • @fencer9443
    @fencer9443 Год назад +6

    That is absolutely awesome. Do you plan on making one with Dijkstra's Algorithm for comparison? This would be an awesome way to showcase the differences..
    One of the issues I had in university was wrapping my head around the reason A-Star is faster than Dijkstra although they are so similar. Didn't quite grasp the concept of a Heuristic :D

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

      The heuristic just says to check the paths that are closer to the objective first since they're more likely to be on the right path. That's why you see it reaching towards the goal instead of fanning out in each direction equally like Djkstra would.

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

    YES. More of these videos please!

  • @Leeki85
    @Leeki85 Год назад +41

    A* is great for finding path when we don't know much about map layout. Pathfinding algorithms in general assume a lot of closed paths, so breadth-first approach should give better results on average. However streets are build like an open grid so depth-first approach towards target position will be much faster with mostly great results, especially if map will contain additional information, like speed limit or traffic allowing to create a weighted graph. In the same way we can remove all dead-end streets from possible routes.
    Anyway tracing a route on a real map can be optimized in various ways. For cloud based services it's a good idea to cache results and work on a multiple scales, for example if you're traveling between cities or even countries, first find a route between cities, then find your destination.

    • @Raven-rv9jr
      @Raven-rv9jr Год назад +1

      I think this map is weighed on traffic to some degree, you can see the algorithm makes much more progress on highways then on back roads

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

      Yeah, the algorithm is pretty easy to do. But finding the best heuristics is the challenge. Based on Dijkstra's Algorithm

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

      Do you still play diablo 2?

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

      Simply not true @Leeki85. A* is optimally efficient, meaning that it guarantees to search fewer nodes to find the optimal path than any other search algorithm (so long as the heuristic for the cost-to-go is admissible).

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

      The most efficient way is actually to use a more advanced geometry. Instead of a weighted graph, you can encode pre calculated connections of hubs into the map with very little memory cost (only a few bit per node). You end up with quasi linear lookup times for optimal routes. It gers more difficult if weights change dynamically, eg due to road and weather conditions. Also, to stick with A*, I think you start expanding from both ends, and the graphs meet somewhere in the middle.

  • @ololh4xx
    @ololh4xx 2 месяца назад

    That algorithm is a really good solution to a real problem _(even if it "isn't" an optimal one)_ ... kind of elegant, actually - and i love visualizations like these

  • @xstarian5225
    @xstarian5225 11 месяцев назад +6

    All roads lead to Rome

  • @Djellowman
    @Djellowman Год назад +4

    Would be cool to do a bi-directional one, and easy to implement too, and way faster! just do the search from both start-goal and goal-start, then check if they touch

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

      A good heuristic, like exists for euclidean distance, makes bidirectional less helpful. It'd be 4x faster for Dijkstra, but A* doesn't benefit so much from it.

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

    This is the most beautiful example ive ever seen on A* algorithms.

  • @TheMasonX23
    @TheMasonX23 Год назад +4

    Super cool visualization, I'd love to see more of this! Can you generate this from Python directly inside Blender, or do you have to export it? I love procedural generation for games, but I haven't looked at all into non-realtime animation like this. I've been meaning to take a look at modern Blender tools like geometry nodes.

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

    Amazing visuals/tech!! Really is cool!!

  • @TheRealBirdmann
    @TheRealBirdmann Год назад +4

    It looks like brain activity

  • @NicholosRichter
    @NicholosRichter 7 месяцев назад

    I could (and would) watch a lot of these.

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

    This visualisation is so cool! 🤩
    I would love to see how different algorithms (like A*, Dijkstra's and DFS) work on the same map!

    • @jan-lukas
      @jan-lukas Год назад

      Isn't A* just Dijkstra with a bit of stuff added into it? Or am I confusing that with a different algorithm?

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

      @@jan-lukas That's an interesting point! Both Breadth-First Search, Dijkstra's and A* are in the same family of algorithms. They explore the space by expanding nodes at the frontier. What changes is how they pick the nodes from the frontier. Dijstraks' uses the "cost so far" to prioritise nodes, while A* also relies on a heuristic to estimate the final distance to the target. Running A* is like pouring water on an inclined plane towards the goal.

    • @JohnBogart-o9l
      @JohnBogart-o9l Год назад

      @@jan-lukas Almost, A* is actually Uniform-cost search with a heuristic added to the priority (Not the cost). A* with a heuristic of 0 boils down to UCS

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

    This lightning effect in the end makes it so cool 😁

  • @RuneDall
    @RuneDall 8 месяцев назад +2

    Absolutely insane how much this looks like the colonization phase of mycelium.

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

    Love that you visualise it as lightning :)

  • @hadhamalnam
    @hadhamalnam 2 месяца назад +1

    This makes me realize there aren't actually that many roads in a city.

  • @Adri-242
    @Adri-242 Год назад

    This is super interesting! And so satisfying to watch!!

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

    This is so pretty, great job :)

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

    Really great, nice visuals!

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

    The visualization is beautiful!

  • @Fortunae
    @Fortunae Год назад +2

    Imagine when you fast travel in game and then loading screen works like this.

  • @cosmosends
    @cosmosends 9 месяцев назад +1

    You should make an app of this. So much fun ❤

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

    fantastic visuals, would love to see this expanded out on tons of other cities too!

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

    Monochrome pallets plus high bloom emissions make anything look scifi

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

    What a nice way to visualise the A* algorithm~

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

    Looks like a great exercise for sound designers creating sound effects for futuristic interfaces

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

    Interesting choice to mirror what a lightning bolt does as it finds the path too

  • @ugib8377
    @ugib8377 Месяц назад +1

    This would make a really sick screensaver.

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

    In a similar vein to a lightning strike, the visualization of the pathfinding as luminosity gives the impression of electricity finding its path of least resistance.

  • @DLTyrus
    @DLTyrus 2 месяца назад +2

    Holy shit A* pathfinding is just how lightning works.

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

    Looks great! Please post more beautiful data visualizations! ❤

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

    it feels like it knows where to go because it expands in that direction the most

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

    This is a really cool visualization.

  • @SLAYERSARCH
    @SLAYERSARCH Год назад +2

    funny fact lightning does the same thing with electrons.

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

    It didn't needed to be this epic, yet it is, thank you

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

    Really cool animation! It makes you understand how navigation works! Thank you so much for sharing!

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

    This is beautiful. Don't stop with A* please!

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

    This is so mesmerizing! I need more! 🥺

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

    :') Kinda smitten that you chose Chicago and it was the first city shown~
    With love, from Chicago!

  • @leaf16nut
    @leaf16nut Год назад +2

    Having just driven through Rome, I can definitively say it is WAY quicker to drive around the rim than take that route lol.
    Pretty wicked animation though!

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

      I dont think it factors traffic

  • @ege.the.engineer
    @ege.the.engineer Год назад +1

    I can watch this all day all week, almost better than famous sorting algorithm video

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

    Next semester I will teach this again, and will show this video to the class.

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

    This is utterly gorgeous.

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

    Using a fire-like effect for pathfinding in Chicago. Bold choice! The Chicago fire would like a word...

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

    I imagine this turning into a website where you can mark point A and point B and then it finds a path from A to B

  • @BrianWright-mi3lc
    @BrianWright-mi3lc Год назад

    Isn't this essentially how a lightning strike actually occurs? Now when I see lighting I'll think "algorithm success: path found". Awesome visual!

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

    amazing, would love to see or read a brief tutorial about this visualization.

  • @superfly1842
    @superfly1842 2 месяца назад

    This is actually a great example of modern computer solving. Now with quantum computers it would map every possible path simultaneously and give you the shortest path instantly.

  • @maxbrooks5468
    @maxbrooks5468 28 дней назад

    I could watch this all day.

  • @ObscureOcelot17
    @ObscureOcelot17 8 месяцев назад

    Reminds me of the super fast RC car competitions that use algorithms to get through a maze. It’s crazy how fast they are

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

    love the visualization of this.

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

    I'd love to see this re-run with road speeds taken into consideration, so conceptual node distance on the graph is equal to time taken between them.

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

    Great choices for cities - Chicago for the grid case and Rome for the organic case. And both have historically been huge transportation hubs.

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

      The one in Rome is utter madness. It goes from Ottavia to Tor Vergata directly through the center of the city instead of taking the A90 ring road. The algorithm may have given the shortest pathway in length but driving through that path is probably going to take twice the time.

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

    Thanks so much. Absolutely wonderful. I have now drank the blood, I am within the mouth of the holy other. And I know that the shadows are always there, always ready to take me in.
    Best vid in a while.

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

    It looks like a mycelial network slowly colonizing substrate.

  • @ameturephysicist
    @ameturephysicist 9 месяцев назад

    I would love to see more of this!