One way is to create a group using an animated bounding box. Instead of using the old school $PT to create the random scale use an AttributeWrangle instead. In the wrangle, initially set the random scale as you are currently doing. Then examine if the point is currently in the group. If so scale the random number down or up by some amount. As the bounding box moves along the points the scale will change the points within the bounding area.
The updated nodes are in purple. You have to remove the old RandomScale variable and instead use the Attribute Stamps field to “relay” the attribute version of RandomScale into the Copy to make it available for stamping.
But I have a question, how do I get the other points to remain scale 0 when it's not selected by the group, while only those grouped by the bounding box will scale back to the randomly set scale size?
Because currently, it looks like I'm simply deleting it. Sorry for the trouble.
I'm not sure exactly what you mean but you can invert the logic in the attributewrangle code.
// Start off with all points getting a random scale.f@RandScale = fit01(rand(@ptnum),0.050,0.1);
if (@group_effector != 1) {// If the point is in the group scale it down a bit.//f@RandScale *=0.01;// Or just set the scale to zero.f@RandScale = 0;
}
Using Houdini Indie 20.0 Windows 11 64GB Ryzen 16 core. nVidia 3050RTX 8BG RAM.