Kinect V2 Depth Z-Axis

Hello lovely people.

I appreceate you time looking over this.

I’m trying to recreate an effect that looks like this. (see screenshot below)

The dots move towards the screen according to the Z-Axis of the Kinect Depth values that are coming in.

I recreated the basic look according to a tutorial on youtube. But I’m stuck with the Dots moving. I tried a couple of things but I’m stuck.

The Dots are on a Grid. (see Network attached) There must be a way to let the grid move according to the depth value.

Maybe someone can lead me towards the right path.

Cheers in advantage!
KinectDots.toe (7.31 KB)