// the find
le5le-com/meta2d.js
The meta2d.js is real-time data exchange and interactive web 2D engine. Developers are able to build Web SCADA, IoT, Digital twins and so on. Meta2d.js是一个实时数据响应和交互的2d引擎,可用于Web组态,物联网,数字孪生等场景。
meta2d.js is a canvas-based 2D engine for building SCADA dashboards, IoT visualizations, and digital twin UIs in the browser. It's a monorepo of TypeScript packages covering the core render engine, built-in shape libraries (flow, activity, sequence, FTA diagrams), chart integrations, and mind-map plugins. The primary audience is developers building industrial-style web dashboards, not general diagramming tools.
The monorepo split is sensible — core, diagram packs, and chart adapters are separate packages so you're not shipping the whole thing when you only need flowcharts. The plugin architecture (shapes are registered functions drawing to Canvas 2D context) is straightforward to extend without needing to understand the whole engine. Real-time data binding is first-class, not bolted on — the message subscription system is part of the core data model rather than a DOM event hack. Examples cover Vue 3, React, and vanilla ES5, which is honest about the engine being framework-agnostic.
The English README is thin to the point of being useless — the actual docs are in Chinese and behind a commercial platform (le5le.com), which means non-Chinese speakers hit a wall quickly. The project has a commercial SaaS product built on top of it and that tension shows: the open-source engine is the free tier, not the main offering. There are no unit tests anywhere in the repo. The 'transform' package has a directory typo ('cemara' instead of 'camera') that's been in the tree long enough to suggest nobody is reviewing this code carefully. TypeScript is used but the build configs suggest it's compiled loosely — not a confidence-inspiring sign for a library you'd embed in a safety-relevant industrial UI.