{"id":18925780,"url":"https://github.com/codencandy/clock","last_synced_at":"2026-03-14T17:30:16.908Z","repository":{"id":224075998,"uuid":"762346443","full_name":"codencandy/clock","owner":"codencandy","description":"Analog Clock for MacOS written in Obj-C and C","archived":false,"fork":false,"pushed_at":"2024-04-16T04:48:51.000Z","size":11152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T17:49:04.799Z","etag":null,"topics":["macos-application","metal-renderer"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codencandy.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}},"created_at":"2024-02-23T15:34:14.000Z","updated_at":"2024-03-16T11:36:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c3e2bb8-c8dd-45f3-8796-20dfa6614428","html_url":"https://github.com/codencandy/clock","commit_stats":null,"previous_names":["codencandy/clock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codencandy%2Fclock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codencandy%2Fclock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codencandy%2Fclock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codencandy%2Fclock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codencandy","download_url":"https://codeload.github.com/codencandy/clock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921844,"owners_count":19718844,"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":["macos-application","metal-renderer"],"created_at":"2024-11-08T11:13:25.267Z","updated_at":"2026-03-14T17:30:14.822Z","avatar_url":"https://github.com/codencandy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](res/clock.png)\n\n## Analog clock app for MacOS\n\nThis small project builds an analog clock featuring the following concepts:\n\n- creating an application object\n- creating a window\n- unity build\n- drawing with a constant frame rate\n- creating a hardware renderer using the Metal framework\n- loading images (PNG files)\n- GPU shaders (Metal shading language)\n- texture mapping\n- 2D projection\n- 2D rotation\n- separation between platform layer and application\n\n## What you need\n\nAll you need to follow along or just build this project is:\n\n- Visual Studio Code\n- XCode command line tools (not XCode itself)\n- [cloc to measure lines of code](https://formulae.brew.sh/formula/cloc)\n\n## VS Code extensions   \n\nThe following VS Code extensions are also partly necessary:\n\n- [C/C++ Extension Pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-extension-pack)\n- [C/C++ Clang Command Adapter](https://marketplace.visualstudio.com/items?itemName=mitaki28.vscode-clang)\n- [Metal Shader Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=doublebuffer.metal-shader)\n\n## How to build and run\n\nIn order to build the project execute \u003cbr\u003e\n```sh build.sh``` \u003cbr\u003e\nin the root directory of this project\n\nIn order to run execute \u003cbr\u003e\n```./clock```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodencandy%2Fclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodencandy%2Fclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodencandy%2Fclock/lists"}