TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Recreating macOS’s Drift Screensaver with Rust and WASM

156 pointsby Whitespaceover 2 years ago

14 comments

lioetersover 2 years ago
Browser demo: <a href="https:&#x2F;&#x2F;flux.sandydoo.me&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flux.sandydoo.me&#x2F;</a>
评论 #33116661 未加载
Waterluvianover 2 years ago
Are these screensavers designed to be impressive and fun while also requiring minimal processor (battery)?<p>I always assumed the screensavers that ship with the Mac are carefully designed not to unnecessarily drain the battery, but I realised just now that’s just an assumption.
评论 #33117973 未加载
评论 #33117083 未加载
评论 #33118010 未加载
评论 #33117152 未加载
behnamohover 2 years ago
It&#x27;s taxing on CPU and GPU:<p><pre><code> normal | running screensaver in browser CPU: 5% | 15% GPU: 10% | 45%</code></pre>
评论 #33117915 未加载
评论 #33119216 未加载
Angosturaover 2 years ago
Drift is beautiful, but for some reason, it makes me anxious when watching it - uneasy - and I have no idea why. Anyone else?
nsxwolfover 2 years ago
Why did screensavers ever do anything besides just blanking the screen?
评论 #33118367 未加载
评论 #33120330 未加载
评论 #33118547 未加载
评论 #33121663 未加载
评论 #33120497 未加载
spk_over 2 years ago
&quot;it might stand to dethrone the venerable Flurry screensaver&quot; - You are absolutely right. The first time I saw the screensaver, I was completely mesmerized and watched it for a few minutes before getting back to work.<p>Out of curiosity, why Rust? Not saying anything against it, just looking to understand your take on it.
评论 #33122776 未加载
评论 #33119867 未加载
qwerty456127over 2 years ago
I want the original text-mode (or, perhaps even better, imitated text mode over the full-resolution graphics mode) starry night sky from the Norton Commander :-)
评论 #33120349 未加载
krackersover 2 years ago
What&#x27;s the gist behind how the flow lines are generated? It looks sort of like the vector field for a differential equation, can we plug in our own values?
评论 #33117050 未加载
评论 #33117919 未加载
mlindnerover 2 years ago
Looks similiar but the colors are significantly subdued compared to the native macOS version. I guess they&#x27;re only using a more limited color pallete than what MacOS uses?
totetsuover 2 years ago
Has anyone else seen the macOS version of this bug out and look like fast moving fireworks for a moment when launching when the system is under high load?
etaioinshrdluover 2 years ago
What&#x27;s the missing secret sauce that the anonymous apple employee alludes to? Any guesses?
评论 #33123133 未加载
infogulchover 2 years ago
I guess a screensaver is only useful if the screen startup is slow.
评论 #33119108 未加载
ben_over 2 years ago
Was hoping someone had remade this for windows, great work!
RektBoyover 2 years ago
Holy... looking at this screensaver, this triggers some new phobia in me, I didn&#x27;t know I have. Thx