vizflow.js – a render-loop library written using EcmaScript.6 (ES6) with no other external dependencies. Vizflow is a light-weight library for adding transition effects and interactive visualizations to HTML5 documents with a simpler design compared to other popular interactive visualization libraries like D3js .
Instead of focusing on specific applications such as data visualization, it only provides an engine for running animations, transition effects, simulations, games, etc., depending on the application.
Vizflow uses the symbol
$Z (read as "bling Z" or "dollar Z") for defining its namespace.
This is a work in progress. Keeping the library simple-to-use, small, and efficient in terms of performance are the main goals of this project. Feedback wanted.
index.html included in this repository contains a demo showing an interactive stochastic dynamics simulation with three particles in a rectangular domain rendered as colored circles using either Canvas or SVG.
Clicking on a circle will randomly change its 2D
(x, y) position and radius by sampling from am appropriate uniform distributions for each of these variables.
index.html file to create your own interactive visualizations, simulations, and games with maximal flexibility and minimal overhead.
index.html file locally to test the code in a development environment (requires a local web server such aslive-server to be running).
The compiled examples can also be loaded without a local server by going to the
index.html files within the subdirectories contained in
jspm bundle-sfx --minify src/vizflow for running in a production environment. Thisgithub preview page has a demo showing the compiled version using Canvas rending.
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » Vizflow is an ES6 interactive visualization engine