SVG开源项目HuayouJS

在项目里试用了一下SVG开源项目HuayouJS,感觉还可以,记录一下。

github上项目英文介绍:

HuayouJS is a 2D graphics JavaScript library based on SVG, which provides Pan And Zoom functionality that native SVG does not have, while also supports managing SVG graphic elements by layer. Compared to similar products, HuayouJS has the following important features:

1. Support developers to use the SVG native object model and API to develop applications without increasing additional learning costs.

2. No performance loss compared to native SVG.

翻译过来大概是:

HuayouJS是一个基于SVG的2D图形组件库,它提供了原生SVG未具有的Pan And Zoom功能,同时支持按图层管理SVG 图形元素。相对于同类产品,HuayouJS具备以下重要特征:

1、  支持开发者使用SVG原生对象模型和API开发应用,而不增加额外学习成本。

2、  拥有无损于原生SVG的性能。

项目的github地址和Demo记录一下:

Git项目地址

https://github.com/HuayouJS/huayou

Demo地址

https://huayoujs.github.io/huayou/examples/basic/index.html

https://huayoujs.github.io/huayou/examples/scada/index.html

posted @ 2023-12-06 16:55  tianpoyuan  阅读(64)  评论(0)    收藏  举报