How to control point density in a specific direction during Volume Sampling?

Hi everyone,
I’m trying to generate a 3D Voronoi lattice using Visual Scripting. I would like to gradually increase the density of the seed points along a specific direction (e.g., the Z-axis) during the Volume Sampling operation.

 

Is there a recommended way to apply a directional density gradient or probabilistic filtering during sampling? Ideally, I’d like to have fewer points at the bottom of the part and a higher concentration toward the top.

Any tips or best practices would be greatly appreciated!

Thanks in advance! 🙂