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

871 posts
Thanks Meter: 650

By bvt-1, Senior Member on 9th May 2014, 03:22 AM
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

9th May 2014, 05:51 PM |#2
Junior Member
Thanks Meter: 0

More
+1
9th May 2014, 07:27 PM |#3
Junior Member
Thanks Meter: 51

More
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
9th May 2014, 07:47 PM |#4
OP Senior Member
Hannover
Thanks Meter: 650

More
Great, works :thumbup::thumbup:
Many many thanks :thumbup:

And did you know,,how to calculate [ar] ?

... oOo ...
9th May 2014, 08:16 PM |#5
Junior Member
Thanks Meter: 51

More
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

 Guest Quick Reply (no urls or BBcode) Message: