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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How can I make my 'infinite canvas' a reality?

1 点作者 mazzystar将近 2 年前
I&#x27;ve just come up with an idea, let&#x27;s call it the &#x27;Infinite Canvas&#x27;, which might be an app or a website. Users can zoom into any area of the pixels and enter an infinite world with new scenes. I think the coding logic is quite simple: it automatically determines the center of the area where the user zooms in, gets the outline mask of that area, asks GPT &quot;what this shape looks like&quot;, sends the resulting prompt into stable diffusion, and draws a picture with the outline as a reference, then pastes the result back. This way, an endlessly zoomable world can be realized.<p>But now I want to run stable diffusion and the outline mask on the user&#x27;s own device (to save costs), and aside from the web GPU, there seems to be no good way, and the speed would be very slow.<p>Any ideas on this?

2 条评论

houseatrielah将近 2 年前
It&#x27;s sort of novel, but its not very engaging. It&#x27;s like zooming-in on fractals. After about 2-minutes you are ready for something else.<p>Here&#x27;s 10 hours of zooming, see how long you last, <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=zowLNSKyfI0">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=zowLNSKyfI0</a>
评论 #36693614 未加载
评论 #36693585 未加载
eimrine将近 2 年前
How large database do you expect for this canvas? Seems like a rare example when a blockchain might have a good use for this, all you need for this approach is to implement Byzantine fault-tolerance mining on this framework. But of course, you need to serve some txs in that case, aside from your creative content.
评论 #36693763 未加载