How to draw flow lines

流动线
I want to paint this effect, which is easy in leaflet but hard at cesium