The venturimeter works on the principle of Bernoulli's equation, i.e., the pressure decreases as the velocity increases. The cross-section of the throat is less than the cross-section of the inlet pipe.The animation is done in python manim
Why do you think that https://github.com/helblazer811/ManimML is a good alternative to venturimeter