Live data from Hacker News

Can water solve a maze? [video]

youtube.com

121–130 of 133 posts

Re: Can water solve a maze? [video]

#121
post #4

If you are using a gas rather than a liquid, it is even simpler. Just set a high pressure at the beginning and a low pressure at the end. The gas will automatically follow the steepest part of the pressure gradient. The static solution can be calculated by solving the Poisson equation. In [1] you can see a small implementation of the idea. [1] https://simulationcorner.net/maze/

This reminds me of Collaborative Diffusion https://en.wikipedia.org/wiki/Collaborative_diffusion A classic example is programming the ghosts in pacman to trap the player, which seems to require a sophisticated, collaborative strategy. Instead, a much simpler solution is to make a "pacman smell" diffuse through the maze: - The cell containing pacman has its "smell" clamped to 1 - Cells containing walls and ghosts have…

I never knew there was a proper term for this technique! In the roguelike development community, these are known as "Dijkstra maps", and people use them for all sorts of things. [1] One of the coolest tricks the article describes is the idea of constructing several different Dijkstra maps for a particular game map, and then multiplying them together under certain circumstances to get a net weight for each tile.

1: http://www.roguebasin.com/index.php/The_Incredible_Power_of_...

Re: Can water solve a maze? [video]

#122
post #99

Reminded me: https://en.m.wikipedia.org/wiki/Water_integrator The Water Integrator (Russian: Гидравлический интегратор Gidravlicheskiy integrator) was an early analog computer built in the Soviet Union in 1936 by Vladimir Sergeevich Lukyanov. It functioned by careful manipulation of water through a room full of interconnected pipes and pumps. The water level in various chambers (with precision to fractions of a milli…

When I first started learning EE I conceptualized it with water. Ie voltage / potential is a higher water level vs else where. But this takes it to a whole new level, impressive!

[deleted]

Re: Can water solve a maze? [video]

#123
post #81

Earlier quoted context omitted.

>But even if we constrain ourselves to one entrance, one exit mazes with a single solution path you can trivially construct a maze inside a large room without connecting it to the walls. Thus creating a third piece to the maze. I would be intrigued to see that "trivial" solution - how do you prevent there being two routes (and thus solutions) around the third piece without connecting it to the wall?

I see what you are saying, yes the maze wouldn't have only a single solution after the construction of an inner maze.

In the literature on mazes, the distinction you are talking about is described to using the terms "simply connected" abd "multiply connected" from topology.

See e.g. https://www.britannica.com/topic/number-game/Mazes

Re: Can water solve a maze? [video]

#125
post #115

Earlier quoted context omitted.

What's great about this video and the discussion is that something as familiar as water can have new and non intuitive things to learn about it. Are there any other examples of common things that have non obvious behaviour from every day experience?

If you pump air through sand, it turns into a fluid. https://thekidshouldseethis.com/post/royal-institution-fluid... An important example application is in getting grain to flow smoothly out of a grain silo. Some substances are "non-Newtonian fluids" meaning that they are liquid normally but turn solid under pressure. Famously, a mixture of cornstarch and water does this, which kids can have endless fun with: https:/…

> If you pump air through sand, it turns into a fluid.

A recently-published fantasy novel uses "seas" of this as a premise: https://www.amazon.com/Tress-Emerald-Sea-Cosmere-Projects-eb...

Re: Can water solve a maze? [video]

#126

Earlier quoted context omitted.

That's quite a cop out. Excuse me if I don't take your word for it.

It isn't a cop out because the creator in the conclusion of this type of argument (e.g. Aquinas' third way) is not just another contingent being like other things, but rather a being whose existence is necessary in itself.

> Aquinas' third way

Thank you! This was very interesting to read about. Learned something new today :D

Re: Can water solve a maze? [video]

#127

Earlier quoted context omitted.

The simulation theory simply postpones the hard problem of consciousness. It's like a magician trick, pulling wool over the eyes, moving your attention away from the real problem long enough, so that you stop thinking about it.

How so? By “hard problem” do you mean defining what consciousness is?

"the hard problem" (of consicousness) is a well known term in philosophy, science, metaphysics, just look it up.

Re: Can water solve a maze? [video]

#128

Earlier quoted context omitted.

The creator remains without a creation. The notion that most schools of thought have is, the creator is unborn and born at the same time and has always existed. Creator does not have a point of creation, not even death because those rules only apply to the materialistic universe.

That's quite a cop out. Excuse me if I don't take your word for it.

[deleted]

Re: Can water solve a maze? [video]

#129
post #38

Earlier quoted context omitted.

You can make a maze with only one path (other than paths that double back on themselves), but has three pieces: https://i.imgur.io/R4j6TH3_d.png I think this is basically a flaw in the intuitive definition (or maybe only my intuitive definition) of "doubling back".

Except that this maze clearly has at least two solutions. Straight through the corridor, or via the loop. And that's assuming you don't wander around the loops n times.

Not if your path trace kills you like the lightcycle trails in Tron.

Re: Can water solve a maze? [video]

#130
post #118

Earlier quoted context omitted.

> mazes with only one path from start to end One of my favourite bits of trivia: it is this property (being "unicursal") which leads to a maze being more specifically characterized as a labyrinth.

That's interesting, but it's a weird definition. In the myth of the Minotaur, the labyrinth Theseus is trapped in surely must have branches (or he wouldn't need a ball of thread), so it doesn't fit this definition. Wikipedia[1] also notes this contradiction: > Although early Cretan coins occasionally exhibit branching (multicursal) patterns, the single-path (unicursal) seven-course "Classical" design without branchin…

You could say the English language is...

Puts on sunglasses

A-maze-ing.

Post reply on HN