Simulation of Electromagnetic Scattering with Stationary or Accelerating Targets