A fast lightweight 2D graphic library
English | 简体中文
- Both svg and canvas renderer support with same API
- Good performance with large amount of data
- Cross platform suppprt with web、node、mini-program
- Support interpolation animation, and path animation
- Support start and end arrows on path
- Virutal dom update with transition animation
- Rich-text component
npm install @okeev/render
<div id="container" style="width: 600px;height: 480px"></div>
import { Render, Rect } from '@okeev/render'
const or = new Render(document.getElementById('container'))
or.add(new Rect({
x: 0,
y: 0,
width: 100,
height: 100,
fill: 'red'
}))
MIT licensed