(no title)
probabletrain | 1 year ago
I initially made this to experiment with 'faking' depth of field in CSS (check out my penultimate tweet for the demo vid and inspiration from shuding_, link at the bottom of the site).
But last night I remembered that ThreeJS exists, so rewrote it using react-three-fiber. This was my first time playing around with it and I'm super impressed, it's incredibly ergonomic.
Edit: not documented, but right-click drag to pan
javierbyte|1 year ago
https://depth-of-field.vercel.app/
mistersquid|1 year ago
> Edit: not documented, but right-click drag to pan
Confirming undocumented feature. Scratching my head why ctrl-left-click on macOS doesn't enable panning, too.
lupusreal|1 year ago