zhongbaitu / waveloadingview Goto Github PK
View Code? Open in Web Editor NEWA wave loading view
A wave loading view
在setPath中,代码已经建立了一条对于宽度width的水平周期函数线(y = (int) (a * Math.sin((i * w + fai) * Math.PI / 180) + k);
)了,为什么还要用path的quadTo方法呢?
PS:什么不直接用quadTo呢?获取到的width可能是几百甚至上千啊,遍历那么多次,个人感觉不是很好......
为什么需要延迟两秒再启动,而且直接启动的话,界面就不会刷新了
你好,我看了一下源码 ,没有发现在哪儿刷新页面的! 请问你是在哪儿刷新页面的?
第一感谢作者,效果确实不错,怎么引入这个库呢? 我直接通过添加布局的形式,没有效果,再又通过构造也还是一样 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.