Retour

Source : simo01.mp

Animation flash


simo01.mp
path trajectoire;
trajectoire = (310.000,160.000)..(309.909,165.235)..(309.635,170.463)..(309.178,175.679)..(308.540,180.876)
..(307.721,186.047)..(306.722,191.187)..(305.544,196.288)..(304.189,201.346)..(302.659,206.353)
..(300.954,211.303)..(299.078,216.191)..(297.032,221.011)..(294.819,225.756)..(292.442,230.421)
..(289.904,235.000)..(287.207,239.488)..(284.356,243.879)..(281.353,248.168)..(278.202,252.349)
..(274.907,256.418)..(271.472,260.370)..(267.901,264.199)..(264.199,267.901)..(260.370,271.472)
..(256.418,274.907)..(252.349,278.202)..(248.168,281.353)..(243.879,284.356)..(239.488,287.207)
..(235.000,289.904)..(230.421,292.442)..(225.756,294.819)..(221.011,297.032)..(216.191,299.078)
..(211.303,300.954)..(206.353,302.659)..(201.346,304.189)..(196.288,305.544)..(191.187,306.722)
..(186.047,307.721)..(180.876,308.540)..(175.679,309.178)..(170.463,309.635)..(165.235,309.909)
..(160.000,310.000)..(154.765,309.909)..(149.537,309.635)..(144.321,309.178)..(139.124,308.540)
..(133.953,307.721)..(128.813,306.722)..(123.712,305.544)..(118.654,304.189)..(113.647,302.659)
..(108.697,300.954)..(103.809,299.078)..(98.989,297.032)..(94.244,294.819)..(89.579,292.442)
..(85.000,289.904)..(80.512,287.207)..(76.121,284.356)..(71.832,281.353)..(67.651,278.202)
..(63.582,274.907)..(59.630,271.472)..(55.801,267.901)..(52.099,264.199)..(48.528,260.370)
..(45.093,256.418)..(41.798,252.349)..(38.647,248.168)..(35.644,243.879)..(32.793,239.488)
..(30.096,235.000)..(27.558,230.421)..(25.181,225.756)..(22.968,221.011)..(20.922,216.191)
..(19.046,211.303)..(17.341,206.353)..(15.811,201.346)..(14.456,196.288)..(13.278,191.187)
..(12.279,186.047)..(11.460,180.876)..(10.822,175.679)..(10.365,170.463)..(10.091,165.235)
..(10.000,160.000)..(10.091,154.765)..(10.365,149.537)..(10.822,144.321)..(11.460,139.124)
..(12.279,133.953)..(13.278,128.813)..(14.456,123.712)..(15.811,118.654)..(17.341,113.647)
..(19.046,108.697)..(20.922,103.809)..(22.968,98.989)..(25.181,94.244)..(27.558,89.579)
..(30.096,85.000)..(32.793,80.512)..(35.644,76.121)..(38.647,71.832)..(41.798,67.651)
..(45.093,63.582)..(48.528,59.630)..(52.099,55.801)..(55.801,52.099)..(59.630,48.528)
..(63.582,45.093)..(67.651,41.798)..(71.832,38.647)..(76.121,35.644)..(80.512,32.793)
..(85.000,30.096)..(89.579,27.558)..(94.244,25.181)..(98.989,22.968)..(103.809,20.922)
..(108.697,19.046)..(113.647,17.341)..(118.654,15.811)..(123.712,14.456)..(128.813,13.278)
..(133.953,12.279)..(139.124,11.460)..(144.321,10.822)..(149.537,10.365)..(154.765,10.091)
..(160.000,10.000)..(165.235,10.091)..(170.463,10.365)..(175.679,10.822)..(180.876,11.460)
..(186.047,12.279)..(191.187,13.278)..(196.288,14.456)..(201.346,15.811)..(206.353,17.341)
..(211.303,19.046)..(216.191,20.922)..(221.011,22.968)..(225.756,25.181)..(230.421,27.558)
..(235.000,30.096)..(239.488,32.793)..(243.879,35.644)..(248.168,38.647)..(252.349,41.798)
..(256.418,45.093)..(260.370,48.528)..(264.199,52.099)..(267.901,55.801)..(271.472,59.630)
..(274.907,63.582)..(278.202,67.651)..(281.353,71.832)..(284.356,76.121)..(287.207,80.512)
..(289.904,85.000)..(292.442,89.579)..(294.819,94.244)..(297.032,98.989)..(299.078,103.809)
..(300.954,108.697)..(302.659,113.647)..(304.189,118.654)..(305.544,123.712)..(306.722,128.813)
..(307.721,133.953)..(308.540,139.124)..(309.178,144.321)..(309.635,149.537)..(309.909,154.765)
..(310.000,160.000);
 
b := 60;
d := 180;
 
beginfig(1);
    draw trajectoire withpen pencircle scaled 1pt withcolor 0.4white;
    for i:= b step b until d:
        draw (point i of trajectoire) 
            withpen pencircle scaled 5pt
	    withcolor blue;
    endfor;
 
    draw (point 0 of trajectoire) 
        withpen pencircle scaled 5pt
        withcolor red;
 
endfig;
end