Giter VIP home page Giter VIP logo

Comments (9)

 avatar commented on June 12, 2024

I created a smaller version of the original transparent version (27x39) because the ones I found were too choppy/ didnt work well.

http://s16.postimage.org/bwsbds1tf/digits2.png.

Hope it helps!

from jquery-countdown.

machonemedia avatar machonemedia commented on June 12, 2024

These calculations from the initial project work great for resizing:

Example how to change size:
The PNG consists of 60 frames, so if you want your Height to be 18px you multiply 18 by 60 = 1080px. Then you divide 4619 (the original Height of the PNG) into 1080 = 4,276851851851852. Then you divide 53 (the original Width of the PNG) into 4,276851851851852 = 12,39229270404849 and you round it up or down (12 or 13).

So if you want to achieve the following size:
digitWidth: 13,
digitHeight: 18
You will have to resize your image to 13x1080px.

from jquery-countdown.

siburny avatar siburny commented on June 12, 2024

@0sm3l Thanks so much, worked beautiful! You should create a pull request to add that file.

from jquery-countdown.

FDiskas avatar FDiskas commented on June 12, 2024

Then the countdown is in reverse order. Digits goes from 9 to 0, then the animation is in wrong direction. Needs an image with transition to reverse order.

from jquery-countdown.

siburny avatar siburny commented on June 12, 2024

Well, actually if you reverse animation it works fine: scroll image from bottom up. Take a look at my working timer: http://www.maximandinna.com/

from jquery-countdown.

FDiskas avatar FDiskas commented on June 12, 2024

Yes but animation shows that the numbers goes from bottom to top. This is
wrong. That type of clock must drop numbers from the top.
On Apr 29, 2013 4:34 PM, "siburny" [email protected] wrote:

Well, actually if you reverse animation it works fine: scroll image from
bottom up. Take a look at my working timer: http://www.maximandinna.com/


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-17166656
.

from jquery-countdown.

siburny avatar siburny commented on June 12, 2024

Think about it: when you implement normal clock, then the numbers go from 0 to 9 and they do drop from the top. But if you do reverse, then number go from 9 to 0 and instead of dropping they should go "up".

PS if I had physical clock like that, I would demonstrate it on the real thing.

from jquery-countdown.

FDiskas avatar FDiskas commented on June 12, 2024

Yes the physics drops from top everythink to earth center in our case
"down" :) sorry for my bad english
On Apr 29, 2013 4:59 PM, "siburny" [email protected] wrote:

Think about it: when you implement normal clock, then the numbers go from
0 to 9 and they do drop from the top. But if you do reverse, then number go
from 9 to 0 and instead of dropping they should go "up".

PS if I had physical clock like that, I would demonstrate it on the real
thing.


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-17168119
.

from jquery-countdown.

siburny avatar siburny commented on June 12, 2024

Yes, it applies to a "normal" flow of the clock :) but if you reverse it (countdown in our case), then it should flip "up"

Anyway, you can create your own image and make it flip sideways :-D

from jquery-countdown.

Related Issues (20)

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.