I've been playing around with the new Geometry Nodes features in the 2.92 version of blender, using it to distribute objects on another mesh. The way I have it set up is that when an empty gets close, they scale up, and when the empty moves further away they scale down to 0 making them "disappear".
It works for the most part, but I feel like I could make it a bit more efficient and performant if I had the density of the points influenced by the empty as well. Since even though the object is scaled down to 0, it's still technically "in" the scene. The fix would be having the density change based on distance. That way the computer isn't factoring the objects that are scaled to 0 into scene calculations and such. So that areas of the mesh far from the empty don't have points at all, while areas of the mesh close to the empty can be denser without any real performance cost compared to if I had just turned the density up by a flat value.
I've been fumbling along well enough figuring things as I go along with the new nodes, but I can't seem to figure out how to do this or what to plug into the density attribute of the "Point Distribute" node to have its value influenced by the distance of the controlling empty. I'd rather not use a particle system for this, as the idea is to learn more about the new Geometry Nodes and what I can do with them.