• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

change background on sunset with hands

Topics related to the creation, development, and designing of the watch faces.

Moderators: asoo, Watchmens

Forum rules
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
Post Reply
Anoniem
WF maker
Posts: 41
Joined: 03 May 2022, 17:55
Location: Enkhuizen
Has thanked: 1 time
Been thanked: 2 times
Contact:

change background on sunset with hands

Post by Anoniem »

Hi,

Is it possible to change the hands also with sunset?
I already did it with the background (its changing on sunset) but change the hands also.
Maybe its possible to do this in the index.js but i dont know how.

All the images are in the zipfile.

watch is Amazfit GTR3 Pro
Attachments
omegalune_GTR_3_Pro.zip
(316.02 KiB) Downloaded 88 times
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Anoniem wrote: 03 Apr 2023, 15:23
Hi,

Is it possible to change the hands also with sunset?
I already did it with the background (its changing on sunset) but change the hands also.
Maybe its possible to do this in the index.js but i dont know how.
watch is Amazfit GTR3 Pro
First of all, I would like to inform you that the script used for testing was not invented by me.
I took it from shymik's watch face. ( Thank him for script )
https://amazfitwatchfaces.com/gtr/view/32433

I've seen this watch face use sunrise sunset to handle the display of other elements, so I put the watch's script to the test. After testing, it was found that it could work to a certain extent.

However, if I use second smoot type1 for test , Seconds hand will be crashes in some cases, so I use seconds smoot type 2 to test this script.


because the script not have mentioned in the AOD section, so the watch face works in AOD in normal function. does not change according to sunrise sunset

Note :
This watch face will work fine if the sunrise sunset data provided by the weather server is correct. In some cases when sunrise sunset values are not available, the watch face will not work properly.

This watchface can not open with sasha's editor because it's have custom script , it who want to see the custom script can unzip ".zip" and see custom script in file index.js

I only understand some parts of the script, if you need more information, I recommend you to ask the owner script.
omegalune_ss_Type2_C_Script_GTR_3_Pro.zip
(314.87 KiB) Downloaded 87 times
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Anoniem
WF maker
Posts: 41
Joined: 03 May 2022, 17:55
Location: Enkhuizen
Has thanked: 1 time
Been thanked: 2 times
Contact:

Post by Anoniem »

thanks for helping asoo.
The changing background by sunset was already working in normal and AOD, i tried yours but i did not work.

I hoped that the hands also could change to lume hands
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Anoniem wrote: 04 Apr 2023, 14:13
thanks for helping asoo.
The changing background by sunset was already working in normal and AOD, i tried yours but i did not work.

I hoped that the hands also could change to lume hands
??? i test on GTR3 it can change image "background and hand clock" follow sunrise , sunset normally
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Anoniem
WF maker
Posts: 41
Joined: 03 May 2022, 17:55
Location: Enkhuizen
Has thanked: 1 time
Been thanked: 2 times
Contact:

Post by Anoniem »

I edited the index.js and changed the 0001.png to 0000.png in AOD.
So its now yellow in normal and AOD from sunrise to sunset (also yellow hands) but
its only blue (also blue hands) from sunset to sunrise in normal mode not in AOD mode.

Is it possible to let it work in AOD?
Attachments
omegalune_test.zip
(307.81 KiB) Downloaded 102 times
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Sorry l no idea about that.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Anoniem
WF maker
Posts: 41
Joined: 03 May 2022, 17:55
Location: Enkhuizen
Has thanked: 1 time
Been thanked: 2 times
Contact:

Post by Anoniem »

i made a new watchface, i tried to put in the sunset but it didnt work, can anybody put the sunset script in the index .js
Attachments
Breitling_Avenger-sunset.zip
(310.18 KiB) Downloaded 82 times
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Anoniem wrote: 15 Apr 2023, 21:11
i made a new watchface, i tried to put in the sunset but it didnt work, can anybody put the sunset script in the index .js
Breitling_Avenger-sunset_CS.zip
(299.92 KiB) Downloaded 118 times
Note :

while the screen is on If there is a change to the dial and clock hands follow the sunset Changes will not take effect immediately. It will show only when you turn off the screen and turn it back on.

This watch face will work fine if the sunrise sunset data provided by the weather server is correct. In some cases when sunrise sunset values are not available, the watch face will not work properly.

This watchface can not open with sasha's editor because it's have custom script , it who want to see the custom script can unzip ".zip" and see custom script in file index.js

I only understand some parts of the script, if you need more information, I recommend you to ask the owner script.
Related previous posts :
viewtopic.php?p=15328#p15328
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Anoniem
WF maker
Posts: 41
Joined: 03 May 2022, 17:55
Location: Enkhuizen
Has thanked: 1 time
Been thanked: 2 times
Contact:

Post by Anoniem »

Thanks for helping.
Can you show which parts you added?
I’m trying to understand it so i can do it by myself the next time.
And what tools/programs you use?
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Anoniem wrote: 16 Apr 2023, 11:08
Thanks for helping.
Can you show which parts you added?
I’m trying to understand it so i can do it by myself the next time.
And what tools/programs you use?
You can see the added code in the index.js file.
added line There is a description at the top of that code.
The description is after the /// sign.

I use only notepad to edit.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Post Reply

Return to “Watchfaces discussion”

Who is online

Users browsing this forum: No registered users and 0 guests