Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 2

25 Aoû '21, 23:57

touhami's gravatar image

touhami
9.9k410

Est-ce que cela répond à votre question ? % !TEX lualatex \documentclass{standalone} \usepackage{luamplib} \everymplib{beginfig(1);} \everyendmplib{endfig;} \begin{document} \begin{mplibcode} path P; P = (0,0){right} .. (2cm,4cm){up} .. (4cm,5cm){right} .. (5cm,6cm){up} .. (8cm,7cm){right}; draw P withpen pencircle scaled 2pt withcolor .7 white; s = 5mm; for t=0 step s until arclength P: drawdot point arctime t of P of P withpen pencircle scaled 4pt withcolor red; draw (point arctime t of P of P)--(point arctime t of P of P+direction arctime t of P of P); endfor \end{mplibcode} \end{document} % Local Variables: % TeX-engine: luatex % End:
cliquez ici pour masquer/afficher la révision 1

25 Aoû '21, 23:22

christophe-poulain's gravatar image

christophe-poulain
8661827

Est-ce que cela répond à votre question ? \documentclass{standalone} \usepackage{luamplib} \everymplib{beginfig(1);} \everyendmplib{endfig;} \begin{document} \begin{mplibcode} path P; P = (0,0){right} .. (2cm,4cm){up} .. (4cm,5cm){right} .. (5cm,6cm){up} .. (8cm,7cm){right}; draw P withpen pencircle scaled 2pt withcolor .7 white; s = 5mm; for t=0 step s until arclength P: drawdot point arctime t of P of P withpen pencircle scaled 4pt withcolor red; draw (point arctime t of P of P)--(point arctime t of P of P+direction arctime t of P of P); endfor \end{mplibcode} \end{document} % Local Variables: % TeX-engine: luatex % End:

C'est votre première visite ici ? Consultez la FAQ !

×