how can I make a second run only from 1 to 10
Do you mean that when it should be 11 it goes back to 1, or does it stays at 10?
yes…it is what i mean …thank Mellin.
When 11 it go back 1 ,
Ok, give me a sec now.
If I’m right that’s 90 deg starting on -45 deg and going counterclockwise:
((((#Dsm#/10)-(floor(#Dsm#/10)))*(-90))-45)
Ha ha, it is very difficult .Although I dont understand how it work, It works correctly. Thank you very much Mellin:bow:
Do you want me to explain it?
Yes, it will be great, I only understand #Dsm#/10
step by step:
floor(#Dsm#/10)
gives back everything above #Dsm# in 10 second portions.
(#Dsm#/10)-(floor(#Dsm#/10))
gives back those 10 second portions looping (but divided by 10)
((#Dsm#/10)-(floor(#Dsm#/10)))*10
gives back those 10 second portions looping (without division)
(((#Dsm#/10)-(floor(#Dsm#/10)))10)(-9)
this convertys it into 90 degs per 10 seconds (or 9 degs ber 1 second), it also reverces rotation ("-" symbol)
((((#Dsm#/10)-(floor(#Dsm#/10)))*(-90))-45)
this rotates the starting point by -45 degs
Hey I’m trying to do something similar but with 30 seconds over 180 degree loop starting on the 9 ending on the 3 I tried to follow your path but I don’t have it quite figured out.
((((#Dsm#/30)-(floor(#DSM#/30)))*(180))-90) is what i have right now
Actually figured it out i had caps on the second Dsm by accident