短评 · ·

X 归档 2025-01-16

3 条动态 · 图 0 · 视频 3
@shr_id00:02原推文
https://oimo.io/works/water/
So I updated "Water" !
The sim is running in a single CPU thread.

It should work faster now, rendering optimized & WebAssembly SIMD support!
But seems like the speedup with wasm is only limited because of the heavily scattered memory access pattern 😇

我更新了「Water」!
这个模拟跑在单个 CPU 线程上。

现在应该更快了:渲染经过优化,还支持 WebAssembly SIMD!
不过 wasm 带来的加速似乎有限,因为内存访问模式太分散了 😇
Obsessed with the scrolling grid animation on the new @ingamana site—absolute 🔥!

→ https://www.ingamana.com
被 @ingamana 新站的滚动网格动画迷住了——绝对的 🔥!

→
#CSS scroll-state() container queries
in Chrome 133!

@container scroll-state(stuck: top) {
…
}

Read all about snapped, stuck and scrollable in this post:
https://developer.chrome.com/blog/css-scroll-state-queries

↪ https://nerdy.dev/scroll-state-container-queries
#CSS scroll-state() 容器查询
登陆 Chrome 133!

@container scroll-state(stuck: top) {
…
}

snap、stuck 和 scrollable 的全部细节都在这篇文章里:
https://developer.chrome.com/blog/css-scroll-state-queries

↪ https://nerdy.dev/scroll-state-container-queries