Dynamic Safety in Complex Environments: Synthesizing Safety Filters with Poisson's Equation