From: Jeong Dal <haksan@me.com>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: animation using \startuseMPgraphic
Date: Sun, 19 Apr 2020 20:18:35 +0900 [thread overview]
Message-ID: <E56A8B5D-FFE7-43D7-B1D6-303BB8E3FEFF@me.com> (raw)
In-Reply-To: <256408a3-4762-4b2d-5122-dfde363b6080@gmail.com>
Dear Wolfgang,
Thank you for your help.
It works fine.
As you said, I need to use boundingbox for stable animation.
Thank you again.
Best regards,
Dalyoung
> 2020. 4. 19. 오후 4:19, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 작성:
>
> Jeong Dal schrieb am 19.04.2020 um 07:08:
>> Dear all,
>> I am trying to make an animation using the animation module.
>> But it draws 10 figures instead of creating animation.
>> Is there anything I have to do more?
>
> You have to put each animation step in a frame environment. I recommend also to set the boundingbox to the same size for each frame, otherwise your graphic jumps around.
>
> When you use \recurselevel you have to use this:
>
> \startanimation[menu=yes]
> \dorecurse{10}
> {\startexpanded
> \startframe
> \useMPgraphic{inversionPoint}{n=\recurselevel}%
> \stopframe
> \stopexpanded}
> \stopanimation
>
> or use #1 to access the counter level and get rid of \startexpanded:
>
> \startanimation[menu=yes]
> \dorecurse{10}
> {\startframe
> \useMPgraphic{inversionPoint}{n=#1}%
> \stopframe}
> \stopanimation
>
> Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-04-19 11:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1587204001.32518.ntg-context@ntg.nl>
2020-04-19 5:08 ` Jeong Dal
2020-04-19 7:19 ` Wolfgang Schuster
2020-04-19 11:18 ` Jeong Dal [this message]
2020-04-19 19:02 ` Jeong Dal
2020-04-19 20:57 ` Hans Hagen
2020-04-19 22:49 ` Jeong Dal
2020-04-19 16:32 ` Aditya Mahajan
[not found] <mailman.166.1587373273.1194.ntg-context@ntg.nl>
2020-04-20 14:40 ` Jeong Dal
2020-04-20 17:19 ` Hans Hagen
2020-04-21 11:10 ` Jeong Dal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E56A8B5D-FFE7-43D7-B1D6-303BB8E3FEFF@me.com \
--to=haksan@me.com \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).