Skip to content

Tokisaki-Galaxy/TrymenT-ClocK

Repository files navigation

TrymenT-ClocK

Web clock implementation of clock interface design in a game TrymenT ―今を変えたいと願うあなたへ―. A digital clock with a special visual style is provided. I like this game very much. When will RASK release OmegaA? We agreed to split the commercial law, and don't be unfinished! With the leftmost pointer as the indication, the pointer does not move, instead, the inner and outer disks keep moving. The inner disk represents hours and the outer disk represents minutes.

feature

  • Unique double-loop clock design
  • Special fonts and symbol marks
  • Customize the date display format
  • Responsive design, adaptive to different screen sizes
  • Semi-transparent background picture effect

Preview

running picture tryment-clock

in-game pictures

Usage

Only three files need to be imported to use the clock:

Auto-load mode

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TrymenT ClocK</title>
    <!-- the loading code is here. min.css/js and css/js have the same content, which is automatically updated -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Tokisaki-Galaxy/TrymenT-ClocK/TrymenT-ClocK.min.css">
    <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/Tokisaki-Galaxy/TrymenT-ClocK/TrymenT-ClocK.min.js"></script>
</head>
</html>

Manual loading mode

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TrymenT ClocK</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Tokisaki-Galaxy/TrymenT-ClocK/TrymenT-ClocK.min.css">
    <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/Tokisaki-Galaxy/TrymenT-ClocK/TrymenT-ClocK.min.js"></script>
</head>
<body>
    <!-- Here -->
    <div class="clock-container">
        <div class="clock">
        </div>
        <div class="clock-date-display">
            <div class="clock-date-label">What'S ThE DatE</div>
            <div class="clock-date-value" id="current-date"></div>
        </div>
    </div>
</body>
</html>

File Description

  • TrymenT-ClocK.css - clock style sheet
  • TrymenT-ClocK.js - realization of clock function
  • img.png - Background picture resources

Custom

You can adjust the appearance of the clock by modifying CSS files, or adjust the behavior of the clock by modifying JS files.

Compatibility

Compatible with all modern browsers (Chrome, Firefox, Safari, Edge, etc).

License

Please refer to the LICENSE file in the project for details.

Thanks

Inspired by the clock interface design in TrymenT ―今を変えたいと願うあなたへ―.

TrymenT STEAM TrymenT game