支持从LaTeX数学方程生成2D纹理的算法

Adriano Aragão dos Santos, E. T. Camargo, R. Scheffel, R. Merli, Eduardo Pezutti, Phyllipe Lima, Heloisa Silva
{"title":"支持从LaTeX数学方程生成2D纹理的算法","authors":"Adriano Aragão dos Santos, E. T. Camargo, R. Scheffel, R. Merli, Eduardo Pezutti, Phyllipe Lima, Heloisa Silva","doi":"10.1109/SBGAMES56371.2022.9961118","DOIUrl":null,"url":null,"abstract":"Serious or educational games for learning mathematics have in common the representation of mathematical equations during the game. However, the tools available to represent an equation in the Unity platform are paid or proprietary. This work introduces L2T, a free and open-source tool capable of reading a LaTeX mathematical expression and generating an equivalent and suitable texture to be displayed in a game scene. The algorithm is divided into two parts. The first part extracts the tokens from the input and builds the Abstract Syntax Tree (AST), while the latter traverses the AST and renders the final texture. The reference implementation is a Unity Script and can be imported as any regular asset. The L2T is currently being used as part of a project to develop a series of educational and serious mathematical games. It was validated within the game “Math Archipelago”, a treasure hunt genre in which the player has to find hidden treasures while solving math problems. The developed solution is essential for creating diverse games for teaching mathematics.","PeriodicalId":154269,"journal":{"name":"2022 21st Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"L2T: An Algorithm to Support The Generation of 2D Texture from LaTeX Math Equations\",\"authors\":\"Adriano Aragão dos Santos, E. T. Camargo, R. Scheffel, R. Merli, Eduardo Pezutti, Phyllipe Lima, Heloisa Silva\",\"doi\":\"10.1109/SBGAMES56371.2022.9961118\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Serious or educational games for learning mathematics have in common the representation of mathematical equations during the game. However, the tools available to represent an equation in the Unity platform are paid or proprietary. This work introduces L2T, a free and open-source tool capable of reading a LaTeX mathematical expression and generating an equivalent and suitable texture to be displayed in a game scene. The algorithm is divided into two parts. The first part extracts the tokens from the input and builds the Abstract Syntax Tree (AST), while the latter traverses the AST and renders the final texture. The reference implementation is a Unity Script and can be imported as any regular asset. The L2T is currently being used as part of a project to develop a series of educational and serious mathematical games. It was validated within the game “Math Archipelago”, a treasure hunt genre in which the player has to find hidden treasures while solving math problems. The developed solution is essential for creating diverse games for teaching mathematics.\",\"PeriodicalId\":154269,\"journal\":{\"name\":\"2022 21st Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)\",\"volume\":\"5 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 21st Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SBGAMES56371.2022.9961118\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 21st Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBGAMES56371.2022.9961118","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

用于学习数学的严肃或教育游戏在游戏过程中都有数学方程的共同表现。然而,在Unity平台上用于表示等式的工具是付费的或专有的。这项工作介绍了L2T,一个免费的开源工具,能够读取LaTeX数学表达式并生成等效的和合适的纹理,以显示在游戏场景中。该算法分为两部分。第一部分从输入中提取标记并构建抽象语法树(AST),而后一部分遍历AST并呈现最终的纹理。参考实现是一个Unity脚本,可以作为任何常规资产导入。L2T目前被用作开发一系列教育和严肃数学游戏项目的一部分。这在游戏《Math Archipelago》中得到了验证,这是一款寻宝游戏,玩家必须在解决数学问题的同时找到隐藏的宝藏。开发的解决方案对于创建多样化的数学教学游戏至关重要。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
L2T: An Algorithm to Support The Generation of 2D Texture from LaTeX Math Equations
Serious or educational games for learning mathematics have in common the representation of mathematical equations during the game. However, the tools available to represent an equation in the Unity platform are paid or proprietary. This work introduces L2T, a free and open-source tool capable of reading a LaTeX mathematical expression and generating an equivalent and suitable texture to be displayed in a game scene. The algorithm is divided into two parts. The first part extracts the tokens from the input and builds the Abstract Syntax Tree (AST), while the latter traverses the AST and renders the final texture. The reference implementation is a Unity Script and can be imported as any regular asset. The L2T is currently being used as part of a project to develop a series of educational and serious mathematical games. It was validated within the game “Math Archipelago”, a treasure hunt genre in which the player has to find hidden treasures while solving math problems. The developed solution is essential for creating diverse games for teaching mathematics.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信