Giter Site home page Giter Site logo

fireworks's Introduction

fireworks 烟花特效

介绍

来源jq22 http://www.jq22.com/jquery-info3511 原作者ID @菲利克斯诗音

在线演示

https://tczmh.gitee.io/fireworks

源码Git地址

Gitee: https://gitee.com/tczmh/fireworks Github: https://github.com/18121259693/fireworks

主要内容

原版内容非常酷炫 本人只是精简代码到只留烟花 方便之后用在其他项目

用法

烟花的核心部分只有3个

一个透明全屏的div

<div id="fireworks"></div>

推荐样式

position: fixed;
top: 0px;
z-index: 9999;

引入依赖 sketch.min.js

<script src="js/sketch.min.js"></script>

以及引入最终的实现的js (默认绘画在id=fireworks的DIV上,可以在代码里修改)

<script src="js/fireworks.js"></script>

fireworks's People

Contributors

zzzmhcn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.