This CodePen demo simulates a chain of air bubbles in 2D, and then wraps a virtual flag ribbon around them. That produces a reasonable approximation of “fluid dynamics” of air, which works well for a certain kind of stylized look.
This animation logic was inspired by the following “animate the air” tweet by artist Felix Colgrave (who made the amazing Double King short animation):