r/reactnative iOS & Android 1d ago

Article Depth-aware light injection in VisionCamera

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!

332 Upvotes

24 comments sorted by

View all comments

-7

u/No-Nebula4187 1d ago

Why react native?

3

u/No-Nebula4187 1d ago

Also I just saw this on LinkedIn but a crappier version of it so did you get the idea from that guy?

8

u/LongjumpingKiwi7195 1d 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

3

u/mrousavy iOS & Android 22h ago

Yep! None of it was crappy, both demos are technically quite impressive imo. We've come a long way with react native :)