Help about codes . ( Please )

hello friends
i hope you all will be fine .
friends please post here must used codes .
like time , watch batteries, rotation, test

1 Like

/// SOME OF THE BEST TAGS IN NO PARTICULAR ORDER

/// 01
/// ORBIT Objects with X adn Y or zoom etc
x =
(160 + (120 * cos(rad([your formula] - 90))))
y =
(160 + (120 * sin(rad([your formula] - 90))))
OFFSET Y TO COMPENSATE FOR TEXT HEIGHT
(170 + (120 * sin(rad([your formula] - 90))))
for example
(160+(90cos(rad(#DWFMS#-90))))
(160+(90
sin(rad(#DWFMS#-90))))

FROM MATTIE
X=(Xpos+(radiuscos(rad(#DWFHS#))))
Y=(Ypos+(radius
sin(rad(#DWFHS#))))
for anti clock pos -
Y=(Ypos-(radius*sin(rad(#DWFHS#))))

/// PETERS perfect orbit note short form PI
X:
(160+27*sin(#DWFMS#3.14/180))
Y:
(160-27
cos(#DWFMS#*3.14/180))

///////////////////////////////////////////////////////
Brad C Orbit
CAVALRY CODE . SYNCS WITH RTC
x
((160+cos((#DWFSS#-90)*((pi)/180))110))
y
((177+sin((#DWFSS#-90)
((pi)/180))*110))
///////////////////////////////////////////////////////

/// 02
/// PETERS PERFECT 3 COLOUR MIX
GREEN
((#BLN#2-100)(#BLN#>49))
YELLOW
(100-((50-#BLN#)2)(#BLN#<50))
RED BKGND
100 FOR BOTH

/// 03
/// FLASH FADE SECONDS
/// FADE UP
$((#Dsm#)%2)>=1?100:00$
$floor(#DNOW#/500)%2=0?100:0$
1 SEC ? FLASH FADE.
(((sin((#DWE#)*5))+1)*50)
FLASH HIGH EVERY 3 SEC
$(((#DWFSS#)/6)%6)>3?130:0$

FADE HALF SECOND SEE *120 = HALF SEC *60 = SEC ETC
(50+((sin(rad((#DWFSS#)*120)))*50))

/// 04
/// MOON ON A STICK
From Mattie Pheonix Watches. SINGLE MOON ON A STICK ROTATION RELATIVE TO SUN
((#DWFHS#+180-((((((#DNOW#/2551442844-0.228535)+0.00591997 * sin(#DNOW#/5023359217+3.1705094)+0.017672776 * sin(#DNOW#/378923968-1.5388144)-0.0038844429 * sin(#DNOW#/437435791+2.0017235)-0.00041488 * sin(#DNOW#/138539900-1.236334))%1) * 360)))))
/// 0 to 1
(((#DNOW#/2551442844-0.228535)+0.00591997 * sin(#DNOW#/5023359217+3.1705094)+0.017672776 * sin(#DNOW#/378923968-1.5388144)-0.0038844429 * sin(#DNOW#/437435791+2.0017235)-0.00041488 * sin(#DNOW#/138539900-1.236334))%1)
/// CLASSIC TWO MOONS BEHIND A MASK STARTS VERTICALY
(-90+((((#DNOW#/2551442844-0.228535)+0.00591997 * sin(#DNOW#/5023359217+3.1705094)+0.017672776 * sin(#DNOW#/378923968-1.5388144)-0.0038844429 * sin(#DNOW#/437435791+2.0017235)-0.00041488 * sin(#DNOW#/138539900-1.236334))%1)*180))
/// SIMPLE DNOW FORMULA
(((#DNOW#-583084344)/2551442802)-floor(((#DNOW#-583084344)/2551442802)))
/// NEW MOON TAG CLASSIC MASK AND TWO MOONS STARTING VERTICALY
((((#MOONAGEPERCENT#)/2))*360)
((#MOONAGEPERCENT#)*180)

/// 05
/// clasic moon phase behind crescent mask
(((((((((((((((365*(#Dy#-1))+(((#Dy#-1)/4)-(((#Dy#-1)/4)%1)))-(((#Dy#-1)/100)-(((#Dy#-1)/100)%1)))+(((#Dy#-1)/400)-(((#Dy#-1)/400)%1)))+#DD#)+1)-735486)*24)*60)*60)+((((#DH#*3600)+(#Dm#60))+#Ds#)-5880))-(36007))/5102886)*360)+90)

/// 05.2
/// BM28 28 image moon moon stand alone with new tag
$(floor((#MOONAGEPERCENT#)*28))=0?100:0$ /// 0 = new moon and so on
(round((#MOONAGEPERCENT#)*27)) /// this is nearest to the refrence complex formula , remember percent starts at 0
$(round((#MOONAGEPERCENT#)*27))=0?100:0$

/// 06
/// STEPPED GUAGE HANDS
stepped progress for battery WHERE 90 IS THE ANGLE TRAVELED
(floor(#BLN#/10)/10*90)

/// 07
/// split second ticks for hands
ThaMattie Mar '21
For when someone wants something other than 12:
(round(#DWFSS#X/6)/X6)
where X is the ticks per second.
So for 9 ticks per second: (round(#DWFSS#9/6)/96), etc

/// 08
/// grunt version of disdaytime for GW4 and Tickwatch etcetera etcetera etcetera.
$(((#DH#)*60)+#Dm#)<(((#WSH#)*60)+#WSm#)&&(((#DH#)*60)+#Dm#)>(((#WRH#)*60)+#WRm#)?100:0$
/// STORY IS LONGER ONE IS BEST not the case these days
$(((#DH#)*60)+#Dm#)<(((#WSUNSETH24#)*60)+#WSUNSETM#)&&(((#DH#)*60)+#Dm#)>(((#WSUNRISEH24#)*60)+#WSUNRISEM#)?100:0$

/// 09
/// accelerometerRaw fade flip
/// flip
$((accelerometerRawY())*16)>120?100:0$
/// fade
((accelerometerRawY())*9)

/// 10
/// ADAM TIMED RANDOM
/// 3 IS UPDATE TIME 10 IS MAX NUMBER +1 IS MIN NUMBER
(round((((pi*(exp((floor((((#Ds#+wakeRand(0,100)))/3))))))%10)+1)))

/// 11
/// posh fading on wake
(100-(interpAccel(#DWE#,0,2,2)*100))
leaves a 20% ghost and starts after 2 seconds
(100-(interpAccel(#DWE#,2,4,3)*80))

/// 12
/// AM / PM BOLLOX INIT
$#DTIMEFORMAT#==12?100:0$

/// 13
/// rotate on wake to time position or what ever . UNPARK .
(clamp((#DWE#-0.5)/0.003, 0,#DWFSS#))

/// 14
/// Zieneth Star SR SS Fader
(100-(200-((floor(100*((abs((abs((((#WRH#*60)+#WRm#)+((((#WSH#*60)+#WSm#)-((#WRH#*60)+#WRm#))/2))-((#DH#*60)+#Dm#)))-1440))/1440)))*2)))

/// 15
/// pendulum mum
((sin(#DWE#*2))*50)
((sin(((#DWFSS#)/6)*2))*50)

/// 16
/// very nice Second hand CyberCop71
$(#DWFSS#-#DWFS#)>=5?((#DWFS#-30)+((#DWFSS#-#DWFS#)*6)):#DWFS#$
///
/// VERY NICE SECONDS TICK ZIENETH STAR
(#DWFS#+clamp(((#DWFSS#-#DWFS#)-5),0,1)*6)

/// 17
/// SMILEY GAUGE WITH ARC SHAPE
/// ROTATION
((180-((((#BLN#)/100)*360)/2))-15) /// full arc not vertical note -15
((180-((((#BLN#)/100)*270)/2))) /// 270 DEGREE ARC
/// FILL
((#BLN#)/100) /// full 360 arc
((((#BLN#)/100)*270)/360) /// 270 DEG ARC

/// 18
/// Padded Digital Clock
(pad(#DUH#,2)):(pad(#DUm#,2)):#DUsZ#:(pad((floor(((#Dsm#)-#Ds#)*100)),2))
/// 12/24
(pad(#Db#,2)):(pad(#DUm#,2)):#DUsZ#:(pad((floor(((#Dsm#)-#Ds#)*100)),2))

/// 19
/// ZOOMING HEART RATE
H
(33+(22+((sin(rad((#DWFSS#)*#ZHR#)))22)))
W
(33+(22+((sin(rad((#DWFSS#)
#ZHR#)))*22)))

/// 20 line up hands
((round((#DWFKS#)/6))*6)
#DWFM#
#DWFS#

/// 21 NIGHT ARC ( SHAPE )
rot
(((((#WSUNSETH24#60)+#WSUNSETM#)/(2460))*360)-180)
fill
(1-((((#WSUNSETH24#60)+#WSUNSETM#)/(2460))-(((#WSUNRISEH24#60)+#WSUNRISEM#)/(2460))))

/// 22 zodiac rotation
(((-(#DM#+(clamp((#Dd#-19),0,1)))/-12)*360)-285)
((-(((#DM#+(clamp((#Dd#-19),0,1)))/-12)*360)+180-170)-25)

/// 23 GIZMO ROULETTE ROTATION
(-(360/37*(wakeRand(0,36)+interpDecel(#DWE#,0,4,1)*400)))

/// 24 tom vanes imperial metric date
$#UNITSYS#=IMPERIAL?#DMM#.#DdL#.#Dyy#:#DdL#.#DMM#.#Dyy#$

/// 25 STANDIN FOR #Dsm# as it is glitchy seconds in the minute with milliseconds
((#DWFSS#)/6)

/// 26 weather as my short text
$#WCCI#==01?CLEAR:$$#WCCI#==02?FEW:$$#WCCI#==03?SCATTER:$$#WCCI#==04?CLOUDY:$$#WCCI#==09?SHOWER:$$#WCCI#==10?RAIN:$$#WCCI#==11?THUNDER:$$#WCCI#==13?SNOW:$$#WCCI#==50?MIST:$

/// 28 time elapsed in hrs and mins
since (floor((((#VAR_4_TE#)/1000)/3600)))h ((floor(((((#VAR_4_TE#)/1000)/3600)-(floor((((#VAR_4_TE#)/1000)/3600))))*60)))m

/// 30 TOM VANES LOG STUFF
/// PLACE HAND IN POSITION
(-180+log10(300)*130)
/// MOVE HAND
(-180+log10(#WND#)*130)

/// 31 DNOW ROTATION SECOND SMOOTH JASON CLARKE
((360/60)*(((#DNOW#%60000)/1000)))

/// 32 WAKE NUMBER SWEEP BC
(floor(0+(interpDecel(#DWE#,0,2,2))*#PBN#))

/// 33 PETERS WAKE SWEEP . THANK YOU
(-112.1+interpAccelDecel(#DWE#,0,2)(#BLN#/100224.4))
(interpAccelDecel(#DWE#,0,2)*(#DWFSS#))

/// MAG UV DIAL HAND .
(287+(#WUVI#*12.083))

10 Likes

Excuse my language @russellcresser but F me, that’s loads, nice one :beers:

3 Likes

You are welcome . F… Overload I think .
" There is more my friends where that came from ".
Be Aware the Formulas are not Format Protected .
.
.
Spike_Milligan_1990

3 Likes

Over here that is described as “Drinking from a fire hose”! :rofl:

2 Likes

Hi @russellcresser
Crazy,but great :joy: :joy:

2 Likes

Like your style Spike ! :sunglasses:

2 Likes

An very impressive collection of codes for many occasions.
I will propose you for the best member ever on Facer !!!

Always ready to help and sharing your stuff without problems.
Thanks mate, you are the best!!

2 Likes

Ha Ha . I am happy that the wages are Please and Thank You . I would be Very Happy if Facer would give us Pro for free for making a Committed Contribution to the Community . But of course they can not be shown to give Favouritism to the Open End of the Platform . I am a great Believer in Open Source . Android was Open when it Started . :rofl: :joy:

2 Likes

So do I

1 Like

There’s please and thankyou - but you have to put the work in first. Otherwise it’s simply taking advantage of the goodwill of others.

2 Likes