Skip to content

ant-tinyjs/tinyjs-plugin-particles

Repository files navigation

tinyjs-plugin-particles

A really fast type of the Container built solely for speed

查看demo

http://tinyjs.net/plugins/tinyjs-plugin-particles.html#demo

引用方法

起步

首先当然是要引入,推荐NPM方式,当然你也可以使用CDN或下载独立版本,先从几个例子入手吧!

1、最简单的例子

引用 Tiny.js 源码

<script src="https://gw.alipayobjects.com/os/lib/tinyjs/tiny/1.5.0/tiny.js"></script>
var particles = require('tinyjs-plugin-particles');
var ParticleContainer = particles.ParticleContainer;
// 或者
// import {ParticleContainer} from 'tinyjs-plugin-particles';

var pContainer = new ParticleContainer();

依赖

API文档

http://tinyjs.net/plugins/tinyjs-plugin-particles.html#docs

About

A really fast type of the Container built solely for speed

Resources

License

Stars

Watchers

Forks

Packages

No packages published