Coder Social home page Coder Social logo

explosion's Introduction

License

compile 'com.xsf:zeusLog:1.0.0'

粒子效果动画

效果图: 参看效果图

简介

提供了6中粒子动画效果,框架支持扩展,若有新的粒子需求可以继承Particle实现自己的需求,整体框架如下

particleUml

使用

compile 'com.xsf:Explosion:1.0.0'

或者使用jar包jar包下载地址,然后在Actvity中按照如下方式使用即可。

private ExplosionView explosionView;
//找到对应的控件
tvNormal = (TextView) findViewById(R.id.tvNormal);
ivVx = (ImageView) findViewById(R.id.ivVx);
//设置监听即可
explosionView = new ExplosionView(this, new ParticleFactory(ParticleFactory.NORMAL));     explosionView.addExplosionListener(tvNormal);
explosionView.addExplosionListener(ivVx);

致谢

站在巨人的肩膀上会领略到更多的风景。在他们的基础上做了大量的重构。 Thanks

explosion's People

Contributors

xsfelvis avatar

Stargazers

 avatar CourageCong avatar 快乐小叮当 avatar  avatar

Watchers

James Cloos avatar  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.