FORUMS

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Can't figure out analog hands.

31 posts
Thanks Meter: 2
 
By VItimmy, Member on 7th June 2014, 06:12 PM
Post Reply Subscribe to Thread Email Thread
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: 52
 
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: 52
 
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