On Mon, 27 Nov 2023, Fabrice L wrote:
> Hi,
>
> It is fun fact very easy to do. You just use \startMPpage (…) \stopMPpage
> multiple times. Here is an example which build an animation of a particle
> moving according to a Brownian motion.
A very similar option is to pass a variable to a metapost drawing. This is what
I use:
https://adityam.github.io/context-blog/post/metapost-animation/
It only works when viewed in acrobat, you can just comment out the animation
part and wrap it in \startTEXpage .. \stopTEXpage to get multi-page animation.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________