These are examples of a complex and a simple encounter from the paper
‘Circumbinary disc survival during binary-single scattering: towards a dynamical model of the Orion BN/KL complex’,
Moeckel and Goddi, 2011. In each of these movies the single star approaches the binary system surrounded by a circumbinary disk.
Initially separated by 10 disk radii (they look closer in this projection),
the final result is a binary and single flying apart with boosted relative velocity, the binary surrounded (or not) by the remnant disk.
In these movies the paths of the stars are traced out in colors, and the instantaneous position of the disk particles are shown as pink dots.
These are presented in a moving frame so that the stars’ paths are easier to follow. The point of these is to verify the intuitive idea that complex encounters,
with many close approaches between the stars, are hostile to circumbinary discs, while clean and simple encounters can preserve them.