短评 · ·

X 归档 2023-01-07

3 条动态 · 图 0 · 视频 3
You might be using `fetch` wrong...
你的 `fetch` 用法可能一直都不对……
@0xca0a22:10原推文
trying out frosted glass on a @splinetool scene using splines react hook. they already have their own glass-like material but transmissionmaterial gets practically even. i love that it picks up other transmissive objects, meshphysicalmaterial never could.

https://codesandbox.io/s/glass-circles-copy-forked-ju368j?file=/src/App.js
在 @splinetool 场景里用 spline 的 react hook 尝试磨砂玻璃。它们自带类玻璃材质,但 transmissionmaterial 几乎能达到均匀一致的效果。我最喜欢的是它能捕捉到其他透射物体,meshphysicalmaterial 从来都做不到。

https://codesandbox.io/s/glass-circles-copy-forked-ju368j?file=/src/App.js
Civet (@civetlang) is a new alternative syntax for TypeScript

Init flame war about syntax preferences:
Civet(@civetlang)是一种全新的 TypeScript 替代语法

发起一场关于语法偏好的骂战: