you can utilize the pcopen and pcnumfound vex functions.
Use this in a point wrangle it will create an attribute for you called density.
you can blast points after that based on a density threshold.
float radius = chf("Radius"); int number = chi("Number"); int pcloud = pcopen(0,"P",@P, radius, number); int amount = pcnumfound(pcloud); f@density = fit(amount,0,number,0,1); @density= chramp("Ramp",@density);
Cheers
CYTE