Giter Site home page Giter Site logo

frameanim's Introduction

FrameAnim

先看个效果吧,第一次整gif,效果不是很好,先将就看吧,我还需要研究下怎么弄得更好
demo

说明:这个项目中代码很烂这里只是一种解决问题的方式,现在确实没有时间整理,选择现在开源出来是因为不开源出来后面就又忘了,开源出来才有后期整理的动力,之前很多次都想开源些东西出来,但是都是不了了之就是因为想的后面整理好了再开源,我现在换一种方式,先开源这样更有后期整理于维护的动力

这个是去年做项目的时候遇到的一个需求,大量的动画而且是可以交互的,其实就是类似于帧动画,但是因为每个动画可能有几百帧,所以不能用一般的帧动画实现方式,而且图片比较大和多,所以不能直接用android自带的动画框架。迫于无奈,就想出这种解解方式
实现原理:通过配置文件配制动画,通过一个线程来从本地获取图片加载到缓存队列,另一个线程从缓存队列中取资源来显示。
这个项目并不能直接使用,后期努力把这个玩儿做到能够使用(最近事实在太多--!),欢迎拍砖~~

frameanim's People

Contributors

yangxin540 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.