TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to avoid being hit by a laser in a room of mirrors [video]

262 点作者 sigil将近 4 年前

26 条评论

j2kun将近 4 年前
Made a demo here: <a href="https:&#x2F;&#x2F;j2kun.github.io&#x2F;assassin-puzzle&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;j2kun.github.io&#x2F;assassin-puzzle&#x2F;index.html</a><p>Blog post: <a href="https:&#x2F;&#x2F;jeremykun.com&#x2F;2018&#x2F;07&#x2F;24&#x2F;visualizing-an-assassin-puzzle&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jeremykun.com&#x2F;2018&#x2F;07&#x2F;24&#x2F;visualizing-an-assassin-puz...</a><p>Excellent video that I learned of this problem from: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=a7gp9c2p0UQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=a7gp9c2p0UQ</a>
评论 #28200279 未加载
mike_d将近 4 年前
Here is the explanation: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=jJ6FD59U0_E" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=jJ6FD59U0_E</a>
评论 #28195433 未加载
评论 #28200498 未加载
评论 #28195597 未加载
rcfaj7obqrkayhn将近 4 年前
for other people that also didn&#x27;t get it... there&#x27;s a green circle on the top right side corner
raldi将近 4 年前
I’d like to see a version of this where the barriers are colored and the lasers are monochrome, but when a laser hits the barrier, instead of disappearing, it takes on that color. That way, you could see which barrier saves the target at any point.
评论 #28200178 未加载
dkersten将近 4 年前
Encircle yourself with the circles? That would be finite and if you&#x27;re thin enough, might even be minimal? Certainly easier to find the configuration than the actual solution.<p>(ok ok, it looks like the blockers are point-size, so this wouldn&#x27;t work of couse)
评论 #28197055 未加载
xwdv将近 4 年前
Incredible, but I don’t see a way to quickly figure out what the safe spot would be given any configuration of a room.
评论 #28195018 未加载
评论 #28195125 未加载
评论 #28195029 未加载
评论 #28195107 未加载
评论 #28195042 未加载
评论 #28194985 未加载
schappim将近 4 年前
Green Circle: You expect me to talk?<p>Red Circle: No, Mr Green Circle, I expect you to d̵i̵e̵ find the spot in the mirror room where you won&#x27;t get hit!
评论 #28196334 未加载
infogulch将近 4 年前
Here&#x27;s one with a close up of &#x27;the circle with plot armor&#x27;, as one comment describes:<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;jgpjnrFEUFI" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;jgpjnrFEUFI</a>
bayesian_horse将近 4 年前
Don&#x27;t go into the room.
评论 #28195988 未加载
评论 #28196861 未加载
评论 #28199045 未加载
评论 #28199184 未加载
评论 #28195715 未加载
评论 #28196830 未加载
kazinator将近 4 年前
The chosen visualization complicates it. In a perfectly square room, a beam in any direction, originating from some interior point p0, will hit the four mirrors and form a rectangle, passing through the original p0 at the same angle. When tracing a beam, we don&#x27;t have to consider more than five mirror strikes.<p>Moreover, this rectangle can only pass through another distinct point p1 exactly once. If we know that if p1 lies on a beam rectangle that is interrupted by an obstacle, there are only two possibilities: p1 lies on the unobstructed part of the rectangle between p0 and the obstruction. Or else it lies on the shaded part. We can determine which rectangles that pass through p0 also pass through p1, and then for each one determine whether p1 is in the shaded part.<p>I suspect this can be done with some computational geometry (with a fair number of cases in it) without resorting to a brute-force ray-casting technique.
nullc将近 4 年前
If the room was an octagon would you need 64 objects?
评论 #28195912 未加载
gampleman将近 4 年前
I wonder if there is a way to solve it such that both the shooter and the target are safe?
anamexis将近 4 年前
Does anyone know if this is solvable in 3 dimensions (inside a mirrored cube)?
评论 #28199439 未加载
zzt123将近 4 年前
This was beautiful. I never imagined the existence of a solution was always guaranteed, given that this includes the case where you are using point-particle blockers.
评论 #28197669 未加载
azalemeth将近 4 年前
Fun problem. Can&#x27;t help but ask what happens if the room is circular, or shaped in such a way that it doesn&#x27;t easily tessellate, however...
评论 #28196635 未加载
评论 #28198631 未加载
akdor1154将近 4 年前
It should be more like &quot;how to find a shadow in a room full of mirrors&quot;, shouldn&#x27;t it? Which is even more amazing.
评论 #28196407 未加载
评论 #28196318 未加载
irjustin将近 4 年前
Feels like the difference between playing the video game and watching TAS bot do the run =&#x2F;
GistNoesis将近 4 年前
So in an icosahedral room, let me guess : one would need 696729600 blockers ?
EricRiese将近 4 年前
I thought this was going to be a new album by The Flaming Lips.
1_over_n将近 4 年前
How about just wrapping yourself in mirrors :)
vmception将近 4 年前
I think this just helped me solve bullet hell games where it is tempting to evade so much when you can just stay in one part of the screen<p>danmaku!
Yeri将近 4 年前
This is stressful to watch.
LightG将近 4 年前
Thanks, this is exactly what I needed at the right time.
blu_将近 4 年前
What about scatter from the objects?
评论 #28195519 未加载
soapdog将近 4 年前
question: &quot;How to avoid being hit by laser in a room of mirrors?&quot;<p>me, a connoisseur: &quot;This requires further reflections...&quot;
mnmmn123456将近 4 年前
The solution is great, but it shows a fundamental flaw in mathematics, that I am thinking about a lot: You have to be smart, no doubt, but you also have to know the answer to get to the solution - It requires so many steps first until &quot;the solution &#x2F; the proof is clear&quot;. If you go down a different route (as I would have done), then you&#x27;d likely not succeed and certainly be in &quot;rough&quot; unknow territory, making it difficult for others to help or assess your approach. And this is expected: The hard problems will take the smartest people to solve eventually. I wish we could be more honest about that, that Math is a lot about &quot;memorizing problems&quot;. And that was always the case (over history): At some point in history all this was a frontier. And there will be people willing to fight on this frontier and I am not disputing that intelligence&#x2F;logical thinking is also required. I am just wondering if all this couldn&#x27;t be put to more practical use. But then maybe it is and as fascinating as it is, most of us move on from Math and work on real world engineering tasks, eventually and from time to time still look back to these problems, as we do today. And absorb them, adding them to our repertoire and looking&#x2F;assessing for real world application, which likely is limited &#x2F; none.
评论 #28196806 未加载
评论 #28196761 未加载
评论 #28197631 未加载