I am trying to make a watch face.
The hours dial is not a full 360 (nor with the minutes or seconds) I have a dial where zero starts at -120 degrees and has 12 segments that ends with the number 12 at 140 degrees
I am failry new to LUA so I am tring to figure out how to have the hour marker only ulitze that segment instead of a full 360 circle, where the AM/PM transitions goes from the 12 (at 140 degrees) and then switches over to the 00 (zero, at -120 degrees) I also need to account for the fact the 12 AM or PM is not at the top (360 degree mark) and is at the -120 mark.
Is this something I can do?
I am basically trying to l make a face liken to this one
http://trendblog.net/make-custom-moto-360-watch-face-watchmaker/
Its called a retrograde complication in real watch terms. You have to think about it in degrees, not hours. Watchmaker will take care of the hours part (or minutes part) for you. You're twisting the whole thing counterclockwise by 120 degrees, and you're deleting YYY degrees of stuff from the circle. So let's say that you want to remove a 90 degree chunk from the circle then you're left with a 270 degree arc (360-90=270). 270/360 equals 0.75 for my example. So your hourhand rotation code would be something like this:
({drh}*0.75)-120
Adjust the values for your design.
theevilshiftkey said:
Its called a retrograde complication in real watch terms. You have to think about it in degrees, not hours. Watchmaker will take care of the hours part (or minutes part) for you. You're twisting the whole thing counterclockwise by 120 degrees, and you're deleting YYY degrees of stuff from the circle. So let's say that you want to remove a 90 degree chunk from the circle then you're left with a 270 degree arc (360-90=270). 270/360 equals 0.75 for my example. So your hourhand rotation code would be something like this:
({drh}*0.75)-120
Adjust the values for your design.
Click to expand...
Click to collapse
That makes sense. I am removing 100 degrees though which leaves me at .722222222222222 ect, do I need to remove a more easily divisible chunk or will ({drh}*0.722222)-120 be accurate enough
That will be plenty accurate.
Figured it out, thanks a ton man
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Related
So, I got my a100 yesterday and wanted to see how much I could squeeze out of it. I manage to get 11+ out of my a500 on a plane trip, so I figured I could be effective here as well. Before I go any further let me say, I tweaked mine for watching movies on long plane rides. Meaning low light, no wifi type scenarios.
Using setcpu I down clocked to 6xx (whatever the preset clock is) and a conservative governor. Then, I set the brightness to about 10%. Then, I used moboplayer and set the in-app brightness to about 15% as well. This is still quite view-able in dark areas, like on a plane with the lights out. I ran the same movie over and over until I reached about 10%. I used a calculator to guess the remaining time left, as I needed the remaining 10% to finish up a few other things. Assuming the last 10% falls at the same rate as the rest, I would be at 7.1 hours of battery life purely watching video. Pretty good if you ask me. Hope this can help somebody in a similar scenario.
This is on par with what I get while reading and playing back music. I use poweramp to playback music off my sdcard, while reading ebooks with Aldiko.
Airplane mode turned on and no wireless on, backlight set to the lowest possible, setcpu set to 312 max, apps zipaligned for lower memory usage, tons of apps frozen from autostart and I get roughly 7 hrs (depending on if I've let it sit around for a bit).
Sent from my MB860 using XDA App
I actually ended up getting 8 the other day with the same settings, pretty happy with that.
I have the brightness turned down to the minimum, no underclocking or anything & this was my result with just general Facebook & Twitter checking as well as this and some ebook reading. Had just plugged it in when I took the screenshot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Acer Iconia Tab A100 using Tapatalk
HTML:
April 9 of this year's rice festival, Lei Jun announced millet willing to 1,000,000 yuan, collecting a mobile phone wallpaper. The event on June 3 on the line, within three months of receipt of the more than 30,000 entries, the final assessment in a month after the birth of the final winner.
The final winner was a nickname million "zoco" contestants, work name "Landscape floor." In addition to one million yuan in cash, he will also get a phone millet 2S, trophies, certificates.
Experts:
Mood, details, depth, composition, and other dimensions of the control subjects were relatively harmonious work.
Blues in the Night, night city bustling little star, with calm waters in the whirling reflection, constitutes a prosperous and calm, the actual situation affordable screen rhythm.
From the vicinity of the lake, medium shot of tall buildings to the rear of the mountains, the screen along with the level from near and far to produce a sense of rhythm, blues in the overall simple, but also contains details of the rich city of luminous, and sketched out a beautiful city the gentle contours and mood.
Other top ten finalists of the nine works known as "China good wallpaper", their average reward 10,000 yuan in cash, a mobile phone millet 2S, trophies, certificates.
11-100 were also announced, but do not have any reward.
Champion: landscape floor by zoco
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Feather by a moment of inspiration
Closer to nature by vae
Hometown America by small Huihui
World outside the territory by the line goes quiet
Star by Showtime
Green Lake boat by Yaoyao
Desert Camel by sky
Love by Dear yellowbee
Spring drunk my heart by wzt1800
View attachment 2267628
more about this
Xiaomi Wallpaper Contest(1,000,000RMB for 1 wallpaper)Winners Announced
http://en.miui.com/thread-6973-1-1.html
Does anyone know of a good place to research hints or "cheats" in Lua to help me? I've been creating various watchfaces, but having major issues in trying to get the hour and minute hands to work properly. I feel that i don't necessarily need to learn all of Lua programming (unless you experts think i do). The issue is when i have the minute markers in an arc (and not a full 360 degrees), and the minute hand is not centered. I hope that makes sense.
For example, i have a face i'm working on where the hour numerals (1-12, or actually 0-12) are an arc on the face starting at approx. 296 degrees and ending at 64 degrees. the "6" is at 180 degrees, but the watch hand is at a 64 value on the Y axis (0 on the X axis). Then to complicate matters, for the same hour numerals, the hour hand is at 101 on the Y axis (and 0 on the X axis). I can't seem to figure out a formula that will allow both hands to run accurately.
Here's the image with the hands i'm trying to work out.
Anyone? I would really love to finish this one.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you for your help, but I really don't quite understand your formulas and how to translate them into WM. I feel like such a N00b, and that i need to be a math major or something.
... it's something like this :
Code:
rotation="296-0.644444*{drh}-math.atan(math.sin(5.16617-0.0112477*{drh})/([COLOR="red"]2[/COLOR]+math.cos(5.16617-0.0112477*{drh})))*57.2958"
where :
2=R/e
I think that did the trick. Thank you so much!
I haven't understood very well the motion of the minute hand in your example .
Supposing it's working in the standard way ( only off-centered ), I have tried this one :
That seems to work much better for the hour hand. Thank you! Any way you could do the same for the minute hand? In a nutshell, i just want the minute hand to move just as the hour hand does, in a counter-clockwise rotation. In the "Prova-eccentrico" you gave, the minute hand is still moving 360 degrees clockwise. I just feel like i need to be a math whiz at this, or i'm just so old and so far removed from my school days that i can't wrap my brain around the math involved to a point where i simply can't adjust the formula you gave for the hour hand to apply to the minute hand. Either way, you're a lifesaver!
Thank you again!!
... :good: :
You da man!! Thank you!!!
Hey Everyone was wondering what's the normal temperature for the battery? Here's a screenshot I took, I use the app called Devcheck great app by the way, great for getting all the Info you need about your phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my 2PS64 using Tapatalk
that temp is good, nothing to worry, everything up to 37/38 without gaming is quite normal. it depends whether you use mobile network and a lot of browsing or so or not.everything starting from 38 and above should be only reached with gaming
No need to worry about temperatures on the phone. It's not like a desktop with variable cooling systems. If battery or CPU is getting hot, it'll throttle to lower temps and will turn off in extreme conditions. Having Android phones since the D1, I've never seen anyone fry their phone from excessive temperature.
IMO, monitoring temperature on phones is as useless as ram cleaners. Let the software do it's job.
Sent from my HTC6545LVW using Tapatalk
What's the normal Temperature of the Battery?
Room temperature obviously!
Everything else i abnormal. Like when you activate the screen and use your phone. This uses energy and causes the battery to become warmer.
Using a LOT of energy like Recording 4k or playing a Game which uses up to 8W will increase battery temperature.
1. the 8W Electrical energy get turned into 99.9% thermal energy, the SoC is between battery and Display, facing the battery IIRC.
2. The Battery being used causes itself to heat up.
So what is the Limit? Around 45°C The phone starts throttling CPU clocks and GPU clocks way earlier. Around 38°C is the first one and around 41-42° he next one. But depending on your surround temperature (Jep, Texas Sun at noon and 35°C Outside temperature do not help....) your phonebattery will not get hotter than 48°C
Is this safe? Jup easily, the battery iself should be specced about 50-60°C Maximum usage temperature. Didn't really take a look at the details in the battery in the disassembly video^^
But as Richii already mentioned, your phone does this all on its own. Don't have to care at all
It's note a Note 7 ^^
After doing some travelling I noticed some hotels have lamps on the night stands that also had USB ports in them. I thought this was a pretty cool idea so went on a search for something for my night stand. I found one available for as low as $31 on ebay or only $24 for the white version on Amazon.
I have a Nexus 6P so was interested in something that could also provide fast charging. The USB C and Nexus 6P is capable of 3 Amp charging and was at a loss to find one that could go that high but these lamps provide a full 2.4 Amp USB port that does allow the 6P to rapid charge. If you are like me you have chargers sticking out everywhere and limited outlets available. This convenient hotel quality lamp solves that bed side for you! The lamp is available in both black and white. There are many types of lighting from reading, to study to sleep with several brightness levels for each! So there should be a pleasing choice available for every situation. As a night light or for those that read in bed and fall asleep, there is a 60 minute timer option too!!
The lamp swivels 45 degrees in each direction from the base. The light moves forward or back on an elbow. The light itself swivels on the head as well! It even folds straight up to be out of the way when not in use! Of course the best part is that it is LED so uses very little electricity for those "green" of us and also don't like giving up more money to the electric companies! I have also seen the same company has one with a clock as well. I use my phone for clock and alarm so didn't need another clock in the house to set every power outage :silly:
LED is the future for lighting and saving $$$$
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Do you know the specs of the bulb. This looks interesting to me.
Nvm Amazon said non replacable. Not a deal breaker though
Sent from a Glade® PlugIn.