Neon Light following mouse: R3F

Hi!
I got a great solution from @PavelBoytchev here.

But I wanna know how can I implement this in r3f…
Please help me with this.

image

image
https://codesandbox.io/p/sandbox/qpfgyp

this one is probably closer
image
https://codesandbox.io/p/sandbox/ssbdsw

i have boxes for stuff following the cursor as well, it would be quite simple. if you are a little bit more specific what you need

This looks similar.
I will give it a try!
Thanks, @drcmda!!!