From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112117 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal Newsgroups: gmane.comp.tex.context Subject: Re: weekend upload - stacking and animation Date: Tue, 13 Jul 2021 19:25:06 +0900 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Content-Type: multipart/mixed; boundary="===============4700627775247834203==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35727"; mail-complaints-to="usenet@ciao.gmane.io" To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 13 12:25:45 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3Fbj-00091Y-C6 for gctc-ntg-context-518@m.gmane-mx.org; Tue, 13 Jul 2021 12:25:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A147C285B07; Tue, 13 Jul 2021 12:25:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UlGk_H12B8zG; Tue, 13 Jul 2021 12:25:13 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9B47F285B00; Tue, 13 Jul 2021 12:25:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BDBFC285B08 for ; Tue, 13 Jul 2021 12:25:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8ZZSpXPrjMZ7 for ; Tue, 13 Jul 2021 12:25:11 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.57; helo=pv50p00im-ztbu10021601.me.com; envelope-from=haksan@me.com; receiver= Original-Received: from pv50p00im-ztbu10021601.me.com (pv50p00im-ztbu10021601.me.com [17.58.6.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DD35C285AD6 for ; Tue, 13 Jul 2021 12:25:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1626171909; bh=cMJHanEQ7KO3xhc0uO2gZf0bDe9fL5rGK3R0MQv8sT0=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=PqLIb9fulYTjAUtUUS+nPwCdw04mjM6ZvQRZP1oAhN1rgJ8Q4Ow5nNzqUzB+nzY28 Hy6jgSodmH1vhFmcrE1vGhzTV9UlCYpNtA5N2Q2e+HHE7sv+A06BZOkQBDWZD89DBj kLn5oUerzUhtvG1f3WIUfSGcFPIYX4DOVNVb5F44tAQ62SBlWxv+sHsmfum4DqQ8sE lEv/VY+7T2rHEqquTsIAWSeNT3J0okqnUsnSHN2xB+4bvyvC4MN2oYpDtVD2XsXGs6 HveM+kiBuwcjMxTpjVS1Cleef1jJHpKpwCvTuJfJl1VngZlWVmlIJT0Z8h/z37LfTd fMBGgtGBX+YJg== Original-Received: from smtpclient.apple (unknown [61.82.106.104]) by pv50p00im-ztbu10021601.me.com (Postfix) with ESMTPSA id E3A2A6E03B2 for ; Tue, 13 Jul 2021 10:25:08 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-13_04:2021-07-13, 2021-07-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=769 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2107130066 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112117 Archived-At: --===============4700627775247834203== Content-Type: multipart/alternative; boundary="Apple-Mail=_D589A80F-513C-4202-B128-DD3F779C939F" --Apple-Mail=_D589A80F-513C-4202-B128-DD3F779C939F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear Hans, Aditya, Now, I understand the stacking method. I made a simple animation using it. \startuseMPgraphic{demo} for i=3D1 upto 10: draw fullcircle scaled (.3*i*cm) withcolor (.1*i*red) withpen = pencircle scaled (.5*bp) withstacking i; endfor; \stopuseMPgraphic \setupinteraction[state=3Dstart] \usemodule[animation] \starttext \startanimation[menu=3Dyes] % \dorecurse{10} % { {\useMPgraphic[stacking=3D{#1}]{demo}}} {\useMPgraphic[stacking=3D{1}]{demo}} {\useMPgraphic[stacking=3D{2}]{demo}} {\useMPgraphic[stacking=3D{3}]{demo}} {\useMPgraphic[stacking=3D{4}]{demo}} {\useMPgraphic[stacking=3D{5}]{demo}} {\useMPgraphic[stacking=3D{6}]{demo}} {\useMPgraphic[stacking=3D{7}]{demo}} {\useMPgraphic[stacking=3D{8}]{demo}} {\useMPgraphic[stacking=3D{9}]{demo}} {\useMPgraphic[stacking=3D{10}]{demo}} \stopanimation \stoptext However, I cannot succeed to use \dorecurse to make the code simple. If there is another good method, please let me know. Anyway, thanks for this new feature! Best regards, Dalyoung= --Apple-Mail=_D589A80F-513C-4202-B128-DD3F779C939F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Dear Hans, Aditya,

Now, I = understand the stacking method.
I made a simple = animation using it.


\startuseMPgraphic{demo}
= for = i=3D1 upto 10:
draw fullcircle scaled = (.3*i*cm) = withcolor (.1*i*red) = withpen pencircle scaled (.5*bp) = withstacking i;
endfor;
\stopuseMPgraphic
\setupinteraction[state=3Dstart]
\usemodule[animation]

\starttext
\startanimation[menu=3Dyes]
% \dorecurse{10}
% { = {\useMPgraphic[stacking=3D{#1}]{demo}}}
{\useMPgraphic[stacking=3D{1}]{demo}}
{\useMPgraphic[stacking=3D{2}]{demo}}
{\useMPgraphic[stacking=3D{3}]{demo}}
{\useMPgraphic[stacking=3D{4}]{demo}}
{\useMPgraphic[stacking=3D{5}]{demo}}
{\useMPgraphic[stacking=3D{6}]{demo}}
{\useMPgraphic[stacking=3D{7}]{demo}}
{\useMPgraphic[stacking=3D{8}]{demo}}
{\useMPgraphic[stacking=3D{9}]{demo}}
{\useMPgraphic[stacking=3D{10}]{demo}}
\stopanimation
\stoptext


However, I cannot succeed = to use \dorecurse to make the code simple.
If there is another good method, please let me = know.

Anyway, thanks for this new feature!

Best = regards,
Dalyoung
= --Apple-Mail=_D589A80F-513C-4202-B128-DD3F779C939F-- --===============4700627775247834203== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4700627775247834203==--