<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root>
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.2" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">Discrete and Continuous Models and Applied Computational Science</journal-id><journal-title-group><journal-title xml:lang="en">Discrete and Continuous Models and Applied Computational Science</journal-title><trans-title-group xml:lang="ru"><trans-title>Discrete and Continuous Models and Applied Computational Science</trans-title></trans-title-group></journal-title-group><issn publication-format="print">2658-4670</issn><issn publication-format="electronic">2658-7149</issn><publisher><publisher-name xml:lang="en">Peoples' Friendship University of Russia named after Patrice Lumumba (RUDN University)</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">35110</article-id><article-id pub-id-type="doi">10.22363/2658-4670-2023-31-2-139-149</article-id><article-id pub-id-type="edn">XKNIYV</article-id><article-categories><subj-group subj-group-type="toc-heading" xml:lang="en"><subject>Articles</subject></subj-group><subj-group subj-group-type="toc-heading" xml:lang="ru"><subject>Статьи</subject></subj-group><subj-group subj-group-type="article-type"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title xml:lang="en">Asymptote-based scientific animation</article-title><trans-title-group xml:lang="ru"><trans-title>Научная анимация на основе Asymptote</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-4834-4895</contrib-id><name-alternatives><name xml:lang="en"><surname>Gevorkyan</surname><given-names>Migran N.</given-names></name><name xml:lang="ru"><surname>Геворкян</surname><given-names>М. Н.</given-names></name></name-alternatives><bio xml:lang="en"><p>Candidate of Sciences in Physics and Mathematics, Associate Professor of Department of Applied Probability and Informatics</p></bio><email>gevorkyan-mn@rudn.ru</email><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-7141-7610</contrib-id><name-alternatives><name xml:lang="en"><surname>Korolkova</surname><given-names>Anna V.</given-names></name><name xml:lang="ru"><surname>Королькова</surname><given-names>А. В.</given-names></name></name-alternatives><bio xml:lang="en"><p>Candidate of Sciences in Physics and Mathematics, Associate Professor of Department of Applied Probability and Informatics</p></bio><email>korolkova-av@rudn.ru</email><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-0877-7063</contrib-id><name-alternatives><name xml:lang="en"><surname>Kulyabov</surname><given-names>Dmitry S.</given-names></name><name xml:lang="ru"><surname>Кулябов</surname><given-names>Д. С.</given-names></name></name-alternatives><bio xml:lang="en"><p>Doctor of Sciences in Physics and Mathematics, Professor of the Department of Applied Probability and Informatics of Peoples’ Friendship University of Russia named after Patrice Lumumba (RUDN University); Senior Researcher of Laboratory of Information Technologies, Joint Institute for Nuclear Research</p></bio><email>kulyabov-ds@rudn.ru</email><xref ref-type="aff" rid="aff1"/><xref ref-type="aff" rid="aff2"/></contrib></contrib-group><aff-alternatives id="aff1"><aff><institution xml:lang="en">RUDN University</institution></aff><aff><institution xml:lang="ru">Российский университет дружбы народов</institution></aff></aff-alternatives><aff-alternatives id="aff2"><aff><institution xml:lang="en">Joint Institute for Nuclear Research</institution></aff><aff><institution xml:lang="ru">Объединённый институт ядерных исследований</institution></aff></aff-alternatives><pub-date date-type="pub" iso-8601-date="2023-06-30" publication-format="electronic"><day>30</day><month>06</month><year>2023</year></pub-date><volume>31</volume><issue>2</issue><issue-title xml:lang="en">VOL 31, NO2 (2023)</issue-title><issue-title xml:lang="ru">ТОМ 31, №2 (2023)</issue-title><fpage>139</fpage><lpage>149</lpage><history><date date-type="received" iso-8601-date="2023-06-29"><day>29</day><month>06</month><year>2023</year></date></history><permissions><copyright-statement xml:lang="en">Copyright ©; 2023, Gevorkyan M.N., Korolkova A.V., Kulyabov D.S.</copyright-statement><copyright-statement xml:lang="ru">Copyright ©; 2023, Геворкян М.Н., Королькова А.В., Кулябов Д.С.</copyright-statement><copyright-year>2023</copyright-year><copyright-holder xml:lang="en">Gevorkyan M.N., Korolkova A.V., Kulyabov D.S.</copyright-holder><copyright-holder xml:lang="ru">Геворкян М.Н., Королькова А.В., Кулябов Д.С.</copyright-holder><ali:free_to_read xmlns:ali="http://www.niso.org/schemas/ali/1.0/"/><license><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/">https://creativecommons.org/licenses/by-nc/4.0</ali:license_ref></license></permissions><self-uri xlink:href="https://journals.rudn.ru/miph/article/view/35110">https://journals.rudn.ru/miph/article/view/35110</self-uri><abstract xml:lang="en"><p style="text-align: justify;">This article discusses a universal way to create animation using Asymptote the language for vector graphics. The Asymptote language itself has a built-in library for creating animations, but its practical use is complicated by an extremely brief description in the official documentation and unstable execution of existing examples. The purpose of this article is to eliminate this gap. The method we describe is based on creating a PDF-file with frames using Asymptote, with further converting it into a set of PNG images and merging them into a video using FFmpeg. All stages are described in detail, which allows the reader to use the described method without being familiar with the used utilities.</p></abstract><trans-abstract xml:lang="ru"><p style="text-align: justify;">В статье рассматривается универсальный способ создания анимации с помощью языка для создания векторной графики Asymptote. В сам язык Asymptote встроена библиотека для создания анимации, однако практическое её использование осложнено крайне кратким описанием в официальной документации и нестабильной работой существующих примеров. Целью статьи является устранение данного пробела. Излагаемый нами способ основывается на создании PDF-файла с кадрами с помощью Asymptote с дальнейшей конвертацией его в набор PNG-изображений и склейкой их в видео с помощью FFmpeg. Все этапы подробно описываются, что даёт возможность читателю использовать изложенный метод, не будучи знакомым с используемыми утилитами.</p></trans-abstract><kwd-group xml:lang="en"><kwd>vector graphics</kwd><kwd>TeX</kwd><kwd>asymptote</kwd><kwd>scientific graphics</kwd></kwd-group><kwd-group xml:lang="ru"><kwd>векторная графика</kwd><kwd>TeX</kwd><kwd>asymptote</kwd><kwd>научная графика</kwd></kwd-group><funding-group><funding-statement xml:lang="en">This paper has been supported by the RUDN University Strategic Academic Leadership Program.</funding-statement></funding-group></article-meta></front><body></body><back><ref-list><ref id="B1"><label>1.</label><mixed-citation>O. Shardt and J. C. Bowman, “Surface parameterization of nonsimply connected planar Bézier regions,” Computer-Aided Design, vol. 44, no. 5, 484.e1-484.e10, May 2012. DOI: 10.1016/j.cad.2011.05.010</mixed-citation></ref><ref id="B2"><label>2.</label><mixed-citation>J. C. Bowman, “Asymptote: Interactive TEX-aware 3D vector graphics,” TUGboat, vol. 31, no. 2, pp. 203-205, 2010.</mixed-citation></ref><ref id="B3"><label>3.</label><mixed-citation>J. C. Bowman and A. Hammerlindl, “Asymptote: A vector graphics language,” TUGboat, vol. 29, no. 2, pp. 288-294, 2008.</mixed-citation></ref><ref id="B4"><label>4.</label><mixed-citation>J. C. Bowman. “Asymptote: The Vector Graphics Language.” (May 2023), [Online]. Available: https://asymptote.sourceforge.io/.</mixed-citation></ref><ref id="B5"><label>5.</label><mixed-citation>“TeX Live.” (2023), [Online]. Available: https://www.tug.org/texlive/.</mixed-citation></ref><ref id="B6"><label>6.</label><mixed-citation>T. Tantau and H. Menke. “PGF/TikZ.” (2023), [Online]. Available: https://ctan.org/pkg/pgf.</mixed-citation></ref><ref id="B7"><label>7.</label><mixed-citation>“ImageMagick.” (Jun. 12, 2020), [Online]. Available: https://imagemagick.org.</mixed-citation></ref><ref id="B8"><label>8.</label><mixed-citation>S. Tomar, “Converting video formats with FFmpeg,” Linux Journal, vol. 2006, no. 146, p. 10, 2006.</mixed-citation></ref><ref id="B9"><label>9.</label><mixed-citation>“FFmpeg Website.” (2023), [Online]. Available: https://ffmpeg.org/. [10] “Ghostscript Website.” (2023), [Online]. Available: https ://www.ghostscript.com/.</mixed-citation></ref><ref id="B10"><label>10.</label><mixed-citation>C. I. Staats. “An Asymptote tutorial.” (2015), [Online]. Available: https: //math.uchicago.edu/~cstaats/Charles_Staats_III/Notes_and_papers_files/asymptote_tutorial.pdf.</mixed-citation></ref></ref-list></back></article>
