Git Product home page Git Product logo

Comments (3)

cyclegtx avatar cyclegtx commented on July 20, 2024

效果应该是x增加33.33333%,y增加25%。
是不是速度太快了看不清楚,把间隔时间调高点就能看清了。
还有android下面改变background和mask的position值不像IOS那么流畅,感觉像掉帧。

from burberryshow.

iqingting avatar iqingting commented on July 20, 2024

我有将时间间隔调高。看的实际情况是
0% 0%, 33.3333% 0, 66.66666% 0; 100% 0;
0% 50%, 33.3333% 50%, 66.66666% 50%; 100% 50%;
0% 100%, 33.3333% 100%, 66.66666% 100%; 100% 100%;
x向是4帧,y向是3帧,难道不应该是【每次将x增加25%(100/每排的帧数4)y增加33.33%(100/每牌的帧数3)】吗?
这是怎么计算的感觉好麻烦啊。。

from burberryshow.

cyclegtx avatar cyclegtx commented on July 20, 2024

嗯 md里面的文字写错了,应该是
“动画时只需要依次修改-webkit-mask-position的x与y值,每次将x增加33.333%(100/每排的帧数4-1)直到100%,y增加50%(100/每牌的帧数3-1)直到100%。”
我修改下,谢谢

from burberryshow.

Related Issues (1)

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.