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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: 4K Desktop Wallpaper Generator

258 点作者 roytanck超过 3 年前

28 条评论

roytanck超过 3 年前
I created a little web page (&lt;10kB) that generates a random 4K (3840*2160px) wallpaper image using Javascript and the &lt;canvas&gt; element. Right-click to save the image (desktop only for now).<p>No two images are the same. You may need a few refreshes to get an interesting result.<p>Code: <a href="https:&#x2F;&#x2F;github.com&#x2F;roytanck&#x2F;wallpaper-generator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;roytanck&#x2F;wallpaper-generator</a>
arendtio超过 3 年前
Nice idea.<p>Ideas for optimization: - use some kind of seed from a URL, so that people can share them. - How about multi-monitor setups?<p>The multi-monitor setup is something I struggled a bit. My two monitors are stacked vertically. So I use SVG images, render them in 2x4k height + 80px or so and cut the relevant parts out.
评论 #29368776 未加载
评论 #29372686 未加载
评论 #29371266 未加载
eins1234超过 3 年前
This is really cool! Thanks for sharing!<p>Though one question popped up in my mind while looking at this... Given the trend of ever increasing screen resolutions with no end in sight, why don&#x27;t OSes support using vector images (svg, etc) as wallpapers?
评论 #29370646 未加载
评论 #29372376 未加载
grech超过 3 年前
Love the minimalist execution. Personally, I consider your tool having no user-facing options a plus (less decision making for me and excitement from complete randomness). I just set one of the wallpapers as my desktop background. Thank you
countmora超过 3 年前
On Safari (macOS) it is as impossible to download this easy-to-download-picture as it is possible to download the impossible-to-download-picture[1] from yesterday.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29358880" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29358880</a>
评论 #29377319 未加载
评论 #29376345 未加载
OJFord超过 3 年前
Nice! Feature suggestion: an (optional) colour picker would be a nice touch, so you can pick (or perhaps enter #RGB) one that should appear and the others are then a fitting palette. Occurred to me because I was refreshing through a few, liked the colours on one, but not so much the pattern. (Perhaps alternative implementation would be a &#x27;hold colour palette&#x27; or &#x27;hold pattern&#x27; toggles, so only the other varies.)
评论 #29368899 未加载
评论 #29379598 未加载
bee_rider超过 3 年前
A fun alternative would be to run this on the desktop and generate a new wallpaper every time your computer starts up (This is not a feature request, though -- you&#x27;ve had plenty of those here already, and since you&#x27;ve helpfully released the code under GPL, I&#x27;m sure anyone interested could easily do this conversion on their own end).
评论 #29377185 未加载
notRobot超过 3 年前
Also see related: the soft landscapes twitter account: <a href="https:&#x2F;&#x2F;mobile.twitter.com&#x2F;softlandscapes" rel="nofollow">https:&#x2F;&#x2F;mobile.twitter.com&#x2F;softlandscapes</a>
stemlord超过 3 年前
Anyone else remember digitalblasphemy.com? Good times
评论 #29374180 未加载
评论 #29376072 未加载
roland35超过 3 年前
My favorite site for wallpapers is interface lift, but just note that the site does occasionally go down for months at a time!<p><a href="https:&#x2F;&#x2F;interfacelift.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;interfacelift.com&#x2F;</a>
评论 #29372123 未加载
评论 #29369003 未加载
FredPret超过 3 年前
This is just brilliant. I’ve been looking for ways to generate spanning wallpapers for two 4k screens, or two 4k’s + a laptop screen. Looks like this could be adapted for that.
oceankid超过 3 年前
Super nice! Save doesn&#x27;t work on Safari MacOS?
评论 #29369271 未加载
qrohlf超过 3 年前
Not entirely dissimilar to my own pattern generation tool, <a href="https:&#x2F;&#x2F;trianglify.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;trianglify.io&#x2F;</a><p>How are you doing the color palettes? Is it fully random or using some kind of picker algorithm?
评论 #29370741 未加载
评论 #29372789 未加载
GekkePrutser超过 3 年前
The colour schemes and limited amount of colours reminds me of the old VUE and CDE backgrounds :)<p>And that reminds me of xfishtank. I still use that sometimes for old school cool and also because it is pretty optimized (when it was written many X terminals shared a 10mbit coax) and great way to see if a remote X desktop session is still responsive.
enz超过 3 年前
Very nice. I now use one as my wallpaper. It&#x27;s pretty satisfying to know I have a uniquely generated wallpaper ;)
评论 #29370489 未加载
batuhandirek超过 3 年前
Not entirely same, but I have a similar project at <a href="https:&#x2F;&#x2F;circles.gallery" rel="nofollow">https:&#x2F;&#x2F;circles.gallery</a><p>Love the minimalism in yours! Maybe I should also put a URL for generating a single image like &#x2F;random<p>Thank you a lot for this :)
chubs超过 3 年前
My favourite part of this is that the wallpapers will look super sharp on my 4k display. It&#x27;s quite difficult to find wallpapers that don&#x27;t look blurry when blown up, even quality landscape photography. Very neat! Thanks for sharing :)
kevmo314超过 3 年前
Love the simple, readable source compared to the compiled stuff these days :) <a href="https:&#x2F;&#x2F;tanck.nl&#x2F;wallpaper&#x2F;wallpaper.js" rel="nofollow">https:&#x2F;&#x2F;tanck.nl&#x2F;wallpaper&#x2F;wallpaper.js</a>
masteruvpuppetz超过 3 年前
Can somebody recommend a free low poly background picture generator? Example <a href="https:&#x2F;&#x2F;trianglify.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;trianglify.io&#x2F;</a>
评论 #29383866 未加载
评论 #29369662 未加载
swayvil超过 3 年前
Tasteful. Minimal. You are truly owning the zone.
rcarmo超过 3 年前
Interesting. I used around 30-40 wallpapers generated through Trianglify until recently, this has a lot of potential.
naikrovek超过 3 年前
Tapet for Android is another example of this, and could serve as great inspiration if you need any.
sahiljajodia01超过 3 年前
This is amazing. However, how much is the probability for it to generate the same wallpaper twice?
评论 #29371455 未加载
rob_c超过 3 年前
Cool!<p>I wonder is the code public or just page source?<p>(Will have to check the page when not on mobile)
评论 #29371486 未加载
petepete超过 3 年前
Works beautifully, I&#x27;ve saved a few for my rotation. Thanks!
nvaider超过 3 年前
This is great for rotating my lockscreen backgrounds
peanut_worm超过 3 年前
You can’t download the image on iOS
评论 #29369064 未加载
bit-101超过 3 年前
Nice work!