Загрузка видео...

Не удалось загрузить видео

На главную

an idea i recently played with: gracefully suspend a webgpu scene when the browser becomes inactive - animations ease to a halt - lights are dimmed - the render loop pauses on the final frame the scene then comes back to life on focus :) →

11,244 просмотров • 2 месяцев назад •via X (Twitter)

Комментарии: 21

Фото профиля Iwo Plaza | TypeGPU
Iwo Plaza | TypeGPU2 месяцев назад

Uuu, awesome idea 💡

Фото профиля Maxime
Maxime2 месяцев назад

a free new example for a typegpu demo

Фото профиля Jeff Broderick
Jeff Broderick2 месяцев назад

So clean and subtle! 🔥 They could be randomly assembling / animating themselves in the background, then pop back when in focus. Like Toy Story toys. :)

Фото профиля Maxime
Maxime2 месяцев назад

good idea 👀 maybe for another scene will save that one for later

Фото профиля Marc
Marc2 месяцев назад

@pmndrs love the ease slowdown

Фото профиля Artur Bień
Artur Bień2 месяцев назад

😍

Фото профиля Maxime
Maxime2 месяцев назад

glad you enjoy it 👀

Фото профиля Aishwary Gupta
Aishwary Gupta2 месяцев назад

this reminded me of when in old windows laptop/computer bubbles used to appear and drift across the screen until the mouse was moved to make the screen active again.

Фото профиля Anthony
Anthony2 месяцев назад

Love this idea. It's easy to do when scrolling a video out of frame, but this is so much more elegant.

Фото профиля Maxime
Maxime2 месяцев назад

ty! yeah i used that technique partially when scrolling canvas out of the dom

Фото профиля chosem 😖
chosem 😖2 месяцев назад

idk how you did it but you're genuinely one of the best on web 3d that ive ever seen

Фото профиля Maxime
Maxime2 месяцев назад

there are way more talented people than me that on top of that do it professionally, this is just a hobby at my level

Фото профиля loground
loground2 месяцев назад

i like it!!

Фото профиля jem 💜🩵🩷
jem 💜🩵🩷2 месяцев назад

gorgeous

Фото профиля Maxime
Maxime2 месяцев назад

ty!

Фото профиля Brjan | AI Builder
Brjan | AI Builder2 месяцев назад

that’s a clever way to manage resources, pausing the render loop sounds smart

Фото профиля yash
yash2 месяцев назад

ai could never🤯

Фото профиля AXIALIS | Desktop App Tools
AXIALIS | Desktop App Tools2 месяцев назад

Pausing on the final frame is a nice touch. It saves work without making the scene feel abruptly dead.

Фото профиля Andrew Gleave
Andrew Gleave2 месяцев назад

Nice! I played with celebration/particle effects where instead of animating offscreen, time dilates and particles gently freeze frame after a few seconds. Like Mac OS 26's login / wake. Very effective.

Фото профиля rusa
rusa2 месяцев назад

suspending the scene on blur is the polish most webgpu demos skip. a fan spinning up because a background tab is animating is the fastest way to lose a user

Фото профиля mohsen bashirzadeh
mohsen bashirzadeh2 месяцев назад

Suspending render work on blur is a clean state transition. Restoring from a known frame and lifecycle state matters as much as pausing the loop; otherwise focus becomes a hidden reset.

Похожие видео