4 ms·
Ask HN: How can I make my 'infinite canvas' a reality?
I've just come up with an idea, let's call it the 'Infinite Canvas', 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 "what this shape looks like", 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.
But now I want to run stable diffusion and the outline mask on the user'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.
Any ideas on this?
- houseatrielah 3y agoIt's sort of novel, but its not very engaging. It's like zooming-in on fractals. After about 2-minutes you are ready for something else. Here's 10 hours of zooming, see how long you last, https://www.youtube.com/watch?v=zowLNSKyfI0 https://www.youtube.com/watch?v=zowLNSKyfI0
- eimrine 3y agoHow 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.
- mazzystar 3y agoI thought there is no database needed? Drawing paintings by SD+GPT, maybe you should save the large image on your device, except that, I have no idea why we need a database.
- eimrine 3y agoWell, I supposed that scrolling has to work both forward and backward. Now I understand that you are talking about something like lsd-style animation where each next frame has to be similar to previous. Hallucinations-as-a-Service.