{"id":22160567,"url":"https://github.com/rozek/banglejs-2-rounded-clock-hands","last_synced_at":"2025-03-24T15:22:30.621Z","repository":{"id":114382898,"uuid":"445824330","full_name":"rozek/banglejs-2-rounded-clock-hands","owner":"rozek","description":"draws still simple, yet rounded, hands for an analog clock on a Bangle.js 2","archived":false,"fork":false,"pushed_at":"2022-03-01T05:54:06.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T20:29:59.341Z","etag":null,"topics":["banglejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rozek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-08T13:17:25.000Z","updated_at":"2022-01-10T10:44:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"315d97e4-5104-42a4-ab6c-37f0af930a76","html_url":"https://github.com/rozek/banglejs-2-rounded-clock-hands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fbanglejs-2-rounded-clock-hands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fbanglejs-2-rounded-clock-hands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fbanglejs-2-rounded-clock-hands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fbanglejs-2-rounded-clock-hands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rozek","download_url":"https://codeload.github.com/rozek/banglejs-2-rounded-clock-hands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294773,"owners_count":20591919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["banglejs"],"created_at":"2024-12-02T04:08:47.395Z","updated_at":"2025-03-24T15:22:30.611Z","avatar_url":"https://github.com/rozek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# banglejs-2-rounded-clock-hands #\n\ndraws still simple, yet rounded, hands for an analog clock on a Bangle.js 2\n\nThis module draws some rounded hands (with a small bolt in the center) for an analog clock running on a [Bangle.js 2](https://www.espruino.com/Bangle.js2). The inner \"bolt\" is based on an idea of forum user [HughB](http://forum.espruino.com/profiles/167235/) (see [this discussion](http://forum.espruino.com/conversations/371242/)).\n\n![](Demo.png)\n\n## Usage ##\n\nWithin a clock implementation, the module may be used as follows:\n\n```javascript\nlet Clockwork = require(...);\nClockwork.windUp({\n  hands:require('https://raw.githubusercontent.com/rozek/banglejs-2-rounded-clock-hands/main/ClockHands.js'),\n  ...\n});\n```\n\n## Example ##\n\nThe following code shows a complete example for a (still simple) analog clock using these clock hands:\n\n```javascript\nlet Clockwork = require('https://raw.githubusercontent.com/rozek/banglejs-2-simple-clockwork/main/Clockwork.js');\n\nClockwork.windUp({\n  face: require('https://raw.githubusercontent.com/rozek/banglejs-2-four-numbered-clock-face/main/ClockFace.js'),\n  hands:require('https://raw.githubusercontent.com/rozek/banglejs-2-rounded-clock-hands/main/ClockHands.js'),\n},{\n  Foreground:'#000000', Background:'#FFFFFF', Seconds:'#FF0000'\n});\n```\n\n`Settings.Seconds` is optional and specifies the color in which the second hand should be drawn - if it is missing, `null` or `undefined`) no second hand will be drawn.\n\n## License ##\n\n[MIT License](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozek%2Fbanglejs-2-rounded-clock-hands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frozek%2Fbanglejs-2-rounded-clock-hands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozek%2Fbanglejs-2-rounded-clock-hands/lists"}