Here 's a test scene done with Driver Expression based on object proximity. the expression constraint the cube scale between 1 and 0.
Watch the animation on LBRY:
You can get the scene for free on Gumroad:
That is a beautiful thing to watch!