Thanks for playing. I appreciate this! Here's the formula we used:
static func calculate_force(dir: Vector2, dist: float, pull_force: float, radius: float): var f = 1.0 - (dist / radius) return -dir * pull_force * f
I suppose it's not the same one you used but the effect is pretty similar.