NEWS Forum Wiki XDA TV

# [Q] Change start-point of analog clock & calculate [ar]

Tip us?
 bvt-1 9th May 2014, 03:22 AM Senior Member - OP Thanks Meter 605 Posts: 793 Join Date: Jun 2011 Location: Hannover More Info > [Q] Change start-point of analog clock & calculate [ar] Hello, I want to create a analog clock, but 12 o`clock shouldn`t begin on the top, it should start with 12 o`clock at the point of 2 o`clock (sorry, my english is awful) So, the starting point should be at 20 degrees, because the background is distorted. Now I have [r] \$(360/60*#dm#)\$ [/r] \$#dm#>360?((360/60*#dm#+20)-360)360/60*#dm#+20)\$ What is wrong? Doesn`t work And is there a possibility to calculate the value of [ar] ---> my rectangle (clock hand) is 34 high ... Thx an d Greets REPLY
 aamtini 9th May 2014, 05:51 PM Junior Member Thanks Meter 0 Posts: 1 Join Date: Jun 2010 +1 REPLY

expinox
Junior Member
Thanks Meter 14
Posts: 20
Join Date: Nov 2011
Quote:
 Originally Posted by bvt-1 Hello, I want to create a analog clock, but 12 o`clock shouldn`t begin on the top, it should start with 12 o`clock at the point of 2 o`clock (sorry, my english is awful) So, the starting point should be at 20 degrees, because the background is distorted. Now I have [r] \$(360/60*#dm#)\$ [/r] \$#dm#>360?((360/60*#dm#+20)-360)360/60*#dm#+20)\$ What is wrong? Doesn`t work And is there a possibility to calculate the value of [ar] ---> my rectangle (clock hand) is 34 high ... Thx an d Greets
But.......2 o'clock is 60 degrees.....

Try this

[r] \$(60+(360/60*#dm#))\$ [/r]

Inviato dal mio GT-N7000 con Tapatalk 2
 The Following User Says Thank You to expinox For This Useful Post: [ Click to Expand ]
 bvt-1 9th May 2014, 07:47 PM Senior Member - OP Thanks Meter 605 Posts: 793 Join Date: Jun 2011 Location: Hannover More Info > Great, works :thumbup::thumbup: Many many thanks :thumbup: And did you know,,how to calculate [ar] ? ... oOo ... REPLY

expinox
(Last edited by expinox; 9th May 2014 at 08:42 PM.)
Junior Member
Thanks Meter 14
Posts: 20
Join Date: Nov 2011
Quote:
 Originally Posted by bvt-1 Great, works :thumbup::thumbup: Many many thanks :thumbup: And did you know,,how to calculate [ar] ? ... oOo ...
Mmm...... [ar] work with [as], for [as] you can use the same formula, and for [ar] use simply, for example, 5, 10, 15 or -5, -10, -15 or other valute ( without \$ ), try different.

Inviato dal mio GT-N7000 con Tapatalk 2
 The Following User Says Thank You to expinox For This Useful Post: [ Click to Expand ]