Migran N. Gevorkyan, Anna V. Korolkova, Dmitry S. Kulyabov
{"title":"Asymptote-based scientific animation","authors":"Migran N. Gevorkyan, Anna V. Korolkova, Dmitry S. Kulyabov","doi":"arxiv-2310.06860","DOIUrl":null,"url":null,"abstract":"This article discusses a universal way to create animation using Asymptote\nthe language for vector graphics. The Asymptote language itself has a built-in\nlibrary for creating animations, but its practical use is complicated by an\nextremely brief description in the official documentation and unstable\nexecution of existing examples. The purpose of this article is to eliminate\nthis gap. The method we describe is based on creating a PDF file with frames\nusing Asymptote, with further converting it into a set of PNG images and\nmerging them into a video using FFmpeg. All stages are described in detail,\nwhich allows the reader to use the described method without being familiar with\nthe used utilities.","PeriodicalId":501256,"journal":{"name":"arXiv - CS - Mathematical Software","volume":"11 6","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Mathematical Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2310.06860","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
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.