Simulate, don't animate
Nothing on screen is scripted. Every pressure, flow, volume and blood gas is computed from a model of the patient. Change a resistance, open a duct, turn up the PEEP, and the whole circulation responds the way physiology says it should.