Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Maybe is too much to ask (because I don't have any idea of programming), could be great if the seconds dial moves continuously and smoothly, like non stop as a helicopter. hehe
Even tho, great work and nice to have a minimalist wallpaper but with a touch of Kronii. ✨
Also im sorry about the bad code, its my first project
should be like this
```
function initClock() {
var date = new Date
var hour = date.getHours() % 12; // 0 - 23
var minute = date.getMinutes();
var second = date.getSeconds();
let millisecond = date.getMilliseconds();
second += millisecond / 1000;
minute += second / 60;
hour += minute / 60;
var hourDeg = hour * 30;
var minuteDeg = minute * 6;
var secondDeg = second * 6;
hourhand.style.transform = 'rotate(' + hourDeg + 'deg)';
minutehand.style.transform = 'rotate(' + minuteDeg + 'deg)';
secondshand.style.transform = 'rotate(' + secondDeg + 'deg)';
setTimeout(initClock, 1)
};
```
```
function initClock() {
var date = new Date
var hour = date.getHours() % 12; // 0 - 23
var minute = date.getMinutes();
var second = date.getSeconds();
let millisecond = date.getMilliseconds();
second += millisecond / 1000;
minute += second / 60;
hour += minute / 60;
var hourDeg = (hour * 30) + (0.5 * minute);
var minuteDeg = (minute * 6) + (0.1 * second);
var secondDeg = second * 6;
hourhand.style.transform = 'rotate(' + hourDeg + 'deg)';
minutehand.style.transform = 'rotate(' + minuteDeg + 'deg)';
secondshand.style.transform = 'rotate(' + secondDeg + 'deg)';
setTimeout(initClock, 1)
}
```