X 归档 2023-01-07
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
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
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:
Init flame war about syntax preferences:
Civet(@civetlang)是一种全新的 TypeScript 替代语法
发起一场关于语法偏好的骂战:
发起一场关于语法偏好的骂战:

