FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

Can't figure out analog hands.

7th June 2014, 06:12 PM |#1  
OP Member
Thanks Meter: 2
 
More
I have 3 analog hands I can't figure out 1 for the 7 days of the week 1 for months and 1 for day in the month. It's a 360 circle the days months and week I want an analog hand to spin for each 1.

Last edited by VItimmy; 7th June 2014 at 06:25 PM.
 
 
7th June 2014, 09:20 PM |#2  
ma11en's Avatar
Senior Member
Flag Nottingham
Thanks Meter: 51
 
More
Quote:
Originally Posted by VItimmy

I have 3 analog hands I can't figure out 1 for the 7 days of the week 1 for months and 1 for day in the month. It's a 360 circle the days months and week I want an analog hand to spin for each 1.

Hi,

Try this for day of the week;

[as]$(360/7*#df#)$[/as]
[ar]35[/ar]
[r]$(360/7*#df#)$[/r]

this for day of month;

[as]$(360/31*#dd#)$[/as]
[ar]35[/ar]
[r]$(360/31*#dd#)$[/r]

this for month;

[as]$(360/12*#dMM#)$[/as]
[ar]35[/ar]
[r]$(360/12*#dMM#)$[/r]

You will probably want to change the number in [ar] as this will be related to the arm length and pivot point.


Sent from my SM-N9005 using Tapatalk
The Following User Says Thank You to ma11en For This Useful Post: [ View ]
8th June 2014, 12:46 AM |#3  
OP Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by ma11en

Hi,

Try this for day of the week;

[as]$(360/7*#df#)$[/as]
[ar]35[/ar]
[r]$(360/7*#df#)$[/r]

this for day of month;

[as]$(360/31*#dd#)$[/as]
[ar]35[/ar]
[r]$(360/31*#dd#)$[/r]

this for month;

[as]$(360/12*#dMM#)$[/as]
[ar]35[/ar]
[r]$(360/12*#dMM#)$[/r]

You will probably want to change the number in [ar] as this will be related to the arm length and pivot point.


Sent from my SM-N9005 using Tapatalk

Thanks a million I've spent months trying to get that to work. I have one more question then is it possible to have a seconds hand I wasn't sure haven't seen anyone else have one so never bothered but would be cool if it was.
The Following User Says Thank You to VItimmy For This Useful Post: [ View ]
8th June 2014, 05:22 AM |#4  
Senior Member
Bornheim
Thanks Meter: 79
 
More
I think updating every second would drain battery to fast, this could be zooper doesnt support it.

Gesendet von meinem GT-I9505 mit Tapatalk
The Following User Says Thank You to CopKiller76 For This Useful Post: [ View ]
8th June 2014, 11:22 AM |#5  
ma11en's Avatar
Senior Member
Flag Nottingham
Thanks Meter: 51
 
More
Quote:
Originally Posted by VItimmy

Thanks a million I've spent months trying to get that to work. I have one more question then is it possible to have a seconds hand I wasn't sure haven't seen anyone else have one so never bothered but would be cool if it was.

No worries, you're welcome.

Please hit the Thanks button if I've helped.

Sent from my SM-N9005 using Tapatalk
The Following User Says Thank You to ma11en For This Useful Post: [ View ]
8th June 2014, 03:51 PM |#6  
OP Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by CopKiller76

I think updating every second would drain battery to fast, this could be zooper doesnt support it.

Gesendet von meinem GT-I9505 mit Tapatalk

Ok makes sense I thought it might
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes