Absolutely brillant idea ! I suppose, there is no need to calculate
sum (big greek E) including all objects, but only for some nearest
objects. You can also experiment with other functions such as
v#=k1#*2.0^(-distance#^2)
v#=k2#*(distance#+.1)^(-1.3)
if distance#<1 then v#=1-distance# else v#=0
and other simple functions with lim->0 when distance->infinity