【文件属性】:
文件名称:anthParticle:JavaScript粒子引擎
文件大小:352KB
文件格式:ZIP
更新时间:2021-05-11 14:39:57
JavaScript
anthParticle
粒子动画引擎Js版本,兼容Android端动态壁纸文件格式(example/data/config.xml)。
使用方式参考example(example/index.html),
说明
兼容主流浏览器
loader与引擎分离,可根据源数据格式选择最适合的loader
有完整的单元测试
APIs
ap = new anthParticle(options)
options: {
fps: 60,
canvas: document.createElement('canvas'),
loader: new anthParticleXmlLoader({
data: xmlDataString,
image: imageCanvas
}),
fpsMeter: new FPSMeter()
}