Conversation
Because this is a count down the circles must be decreased and go backward to zero so it must be ([max]-[the current value]
|
I am not getting it..could you please show me your demo page after changes ? |
|
I mean after counting down the circle is completing. I think the circle should move CCW and not CW, your circle is increasing by time, for example your text is showing 50 > 49 > 48 > ... > 0 (decreasing) but your circle is completing like this 0> 1> 2 > ... > 50 (increasing). If this is not clear enough, I will upload a demo. |
|
The updated math isn't working for me, but I'm interested in replicating this idea (a countdown rather than a countup), is this working on your end @d33v? |
|
yes, I make a under construction theme with it but I had to make some changes to it, i had to add another element to show the values, I was in a hurry so sorry if its messy! :) |
|
Or you could just change the angleArc variable to -360 instead of 360. |
|
^ +1 |
|
@d33v could you please share a link to underconstruction theme if possible ? I'll check it and will merge your pull request. |
|
link to under construction ( messy version ;) ): http://thedeev.net/coming-soon/ |
|
@d33v cool....I think we should give option to set direction (clockwise or anticlockwise) to user ? any thoughts? |
Because this is a count down, the circles must be decreased and go backward to zero so it must be ([max]-[the current value]) so it should be
_dday=Math.floor(365-(_dd/(60_60_1000_24)_1));
_dhour=Math.floor(24-((_dd%(60_60_1000_24))/(60_60_1000)_1));
_dmin=Math.floor(60-(((_dd%(60_60_1000_24))%(60_60_1000))/(60_1000)_1));
_dsec=Math.floor(60-((((_dd%(60_60_1000_24))%(60_60_1000))%(60_1000))/1000_1));