[metapost] how to draw the water flow

Dan Luecking luecking at uark.edu
Fri Jun 12 17:49:07 CEST 2009

At 02:39 PM 6/11/2009, you wrote:
>At 01:25 PM 6/10/2009, you wrote:
>>I'm new to the Metapost.  I want to draw some figures whick looks 
>>like the water-flow (see the attachment).  Dose anyone show me how 
>>to draw them?  Thank you very much.


>% rotate 45 degrees to get the desired orientation:
>   draw P rotated -45 shifted (size,size);

I forgot to allow for the rotation in the shift:
   draw P rotated -45 shifted (size,size)*sqrt(2);


Daniel H. Luecking
Department of Mathematical Sciences
University of Arkansas
"Dubito ergo cogito, cogito ergo sum" --Descartes

More information about the metapost mailing list