LME
Animation engine for Mathematical simulation and convert it to videos.
Install / Use
/learn @vijayshankarkumar/LMEREADME
LME

Animation engine for Mathematical simulations in C++. This project is highly inspired from 3b1b's Manim.
LME is built with C++17 on Visual Studio 2019 and Windows 10 platform. It can be used for making Math videos as the animation is converted to videos on the fly. It consists of wide range of animation classes that can be used for Mathematical Simualations.
NOTE: This project is highly under production.
Use Cases
- It can be used as Graphing Application to plot mathematical functions and parametric equations.
- For Data Visualization as it has all tools built in or can be extended.
- For Data Structure and Algorith visualizer.
- It can used as svg rendering engine.
Example
class TestScene : public laal::Scene
{
public:
void Construct() override
{
laal::Line ln(Point(-1, 0, 0), Point(1, 0, 0));
ln.StrokeColor(laal::ORANGE_RED);
Add(&ln);
auto func1 = [](double t)
{
return t;
};
auto func2 = [](double t)
{
return (1.0 / gmtl::Math::TWO_PI) * gmtl::Math::sin(t * gmtl::Math::TWO_PI);
};
laal::ParametricCurve pc(func1, func2, -1, 1);
pc.StrokeColor(laal::BLUE_VIOLET);
Add(&pc);
laal::Arrow ar(Point(0, 0, 0), Point(0.5, 0.0, 0.0));
Add(&ar);
laal::ShapeGroup sg;
laal::Dot dt;
dt.Translate(0.5, 0.0, 0.0);
sg.Add(&dt);
laal::Line ln1(Point(0.0, 0.0, 0.0), Point(0.5, 0.0, 0.0));
ln1.StrokeColor(laal::WHITE);
sg.Add(&ln1);
Add(&sg);
laal::FollowPath fp(&sg, func1, func2, -1, 1, 3.0, 0);
fp.EaseFunction(laal::EaseInOutExpo);
Add(&fp);
fp.Begin();
Play();
Wait(0.5);
}
};
System Requirement
- C++ 17
- Visual Studio 2019 or higher with UTF-8 encoding enabled
- FFMPEG
Dependencies
Blend2d The rendering engine of LME.
FFMPEG Media Library used in LME for video encoding and muxing.
GMTL Generic Math Template Library.
FreeType Text type setting library.
Installation
Clone the project in Visual Studio 2019 or higher with C++ 17 enabled and handle all dependencies(see Dependencies section for more). Build the whole visual studio solution and run the example code in Applicaiton.cpp.
Contributing
Contribution to this project is always welcomed.
License
This project falls under MIT License.
Related Skills
qqbot-channel
352.0kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.6k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
352.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
