From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13098 invoked from network); 27 Nov 2023 22:30:05 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 27 Nov 2023 22:30:05 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5EA84483E7E for ; Mon, 27 Nov 2023 23:27:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ZLxMYQ5dkMU for ; Mon, 27 Nov 2023 23:27:18 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EA9EF483D37 for ; Mon, 27 Nov 2023 23:26:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DD97A483C6D for ; Mon, 27 Nov 2023 23:25:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s1GiyBkXnkwJ for ; Mon, 27 Nov 2023 23:25:37 +0100 (CET) Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.70.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id E3971483C6C for ; Mon, 27 Nov 2023 23:25:36 +0100 (CET) Received: from carbonpad.cim.mcgill.ca (alille-655-1-37-200.w90-7.abo.wanadoo.fr [90.7.138.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id 34D9230F96B for ; Mon, 27 Nov 2023 17:26:17 -0500 (EST) Date: Mon, 27 Nov 2023 23:25:33 +0100 (CET) From: Aditya Mahajan X-X-Sender: adityam@carbonpad.cim.mcgill.ca To: mailing list for ConTeXt users In-Reply-To: <8D8705B2-A753-4B9F-8409-84A65CBE6D1A@gmail.com> Message-ID: References: <8D8705B2-A753-4B9F-8409-84A65CBE6D1A@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463808767-613269030-1701123935=:2239752" Message-ID-Hash: 5H4KOIYUAMJZOLPSENHQUJOA2UXZ34WF X-Message-ID-Hash: 5H4KOIYUAMJZOLPSENHQUJOA2UXZ34WF X-MailFrom: adityam@umich.edu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: multipage metapost output from ConTeXt List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463808767-613269030-1701123935=:2239752 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 27 Nov 2023, Fabrice L wrote: > Hi, >=20 > It is fun fact very easy to do. You just use \startMPpage (=E2=80=A6) \st= opMPpage multiple times. Here is an example which build an animation of a p= article moving according to a Brownian motion.=20 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 animatio= n part and wrap it in \startTEXpage .. \stopTEXpage to get multi-page anima= tion. Aditya ---1463808767-613269030-1701123935=:2239752 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ---1463808767-613269030-1701123935=:2239752--