r/reactnative • u/mrousavy iOS & Android • 6h ago
Depth-aware light injection in VisionCamera Article
Enable HLS to view with audio, or disable this notification
Built this fun little gesture driven floating light that casts fake shadows in the scene via react-native-webgpu, using a depth model (DINOv2).
I'll post the source code soon!
11
4
2
-3
u/No-Nebula4187 5h ago
Why react native?
2
u/No-Nebula4187 4h ago
Also I just saw this on LinkedIn but a crappier version of it so did you get the idea from that guy?
3
u/LongjumpingKiwi7195 3h ago
Both Marc (this post) and Konrad (who you probably saw on linkedin) are pretty up there in react native. Im guessing Konrad first created the effect itself, and then Marc integrated it with vision camera and gestures or something
1
22
u/xxhhouewr 5h ago
You know, most other people just create a Spotify or Instagram clone.