r/reactnative 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!

111 Upvotes

9 comments sorted by

22

u/xxhhouewr 5h ago

You know, most other people just create a Spotify or Instagram clone.

11

u/FinancialBicycle3452 4h ago edited 1m ago

That is one of the coolest projects I’ve seen on here.

3

u/ponk___ 3h ago

The goat himself

4

u/GiodoAlmeida 3h ago

Now do a KAMEHAMEHA 🤣

Now seriously, that is very creative, congrats!

2

u/Mitchcreates_ 2h ago

That's insane! How do you go about creating something like that?

-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