So i have this watch Face and added Blk Circles as Eyeballs which I would like to move around . Any Help is Appreciated much as always Inspection is open
Hello,
you can try something like this:
for x ([center position]+[x-radius]*sin(#DWE#*[radians per second]))
for y ([center position]+[y-radius]*cos(#DWE#*[radians per second]))
example for the left eye:
X (118+13*sin(#DWE#))
Y (80+23*cos(#DWE#))
To change direction, change the sign before sin function.
You guys are really good at coding!
Brilliant . Bookmarked . Nice . There has not been anything to bookmark for a while . Genius Idea to set the the alignment to Wobble .
Setting alignment like that, it acts like a Pendulum, so the speed can also be adjusted to be in time with the Seconds. Obviously @petruuccios also had a great method for moving the eyes, so well done Peter
Something else you can have fun with, eyes that follow you as you tilt the watch.
Left eye: X=(118+((accelerometerRawX()))*1.5) and Y=(93-((accelerometerRawY()))*1.5)
Right eye: X=(187+((accelerometerRawX()))*1.5) and Y=(93-((accelerometerRawY()))*1.5)
The 118, 187, and 93 figures I used are approximations, you may need to adjust them to center the eyes.
Ha Ha what Fun.
For me this is what a decent community is about . Sharing Ideas and Joy .
I hear you there @russellcresser and I just knocked a Test version together quickly -
Works brilliantly bit I didn’t center them sorry
What’s not fun is going crosseyed trying to keep track of parentheseseseses…
That’s where the free Windows app Notepad++ comes in. Quite handy, especially if you’re a programmer.
https://notepad-plus-plus.org/
Looks like you published that. I can not get it. My connection here is not good an my watch is dissconnecting every minute again :::)))
It’s not Published sorry @russellcresser Just did it for a quick test so synced it from the App here.
Thank you most kindly @tom.itssos
All credit to @kourosh for his accelerometer math
The Test Only Face has been updated and Published as Smiley Face now, thanks guys
Ha Ha that is brilliant.
OMG did I ever tell you Guys that I love ya ? If not … I LOVE YOU GUYS lol .And if i could i would email each one a piece of my Bday Cake Tomorrow
Ain´t that the truth