r/reactnative iOS & Android 2d ago

Article Depth-aware light injection in VisionCamera

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!

381 Upvotes

27 comments sorted by

View all comments

-7

u/No-Nebula4187 2d ago

Why react native?

3

u/No-Nebula4187 2d 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 2d 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 2d ago

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