實時監控可視化組件庫 Zeu.js

Zeu.js 詳細介紹html

Zeu.js 是一個 JavaScript 庫,其中包含一系列預構建的可視化組件,用於構建實時 TV 儀表板,監控 UI 和物聯網Web界面。git

使用方法github

General

使用 div 做爲基礎來建立組件,每一個組件都有本身的建議大小。canvas

<div id="component-id" style="width: 200px; height: 100px;"></div>

FPS

使用 canvas 的組件的默認fps爲60。動畫

zeu.Settings.fps = 60;

使用案例:spa

一、數字時鐘:https://shzlw.github.io/zeu/examples/digital-clock.htmlcomponent

二、消息隊列動畫:https://shzlw.github.io/zeu/examples/message-queue.htmlhtm

GitHub地址:https://github.com/shzlw/zeu隊列

相關文章
相關標籤/搜索