Program a beautiful clock in C in no Time - Part 2

Опубликовано: 18 Декабрь 2025
на канале: codencandy
58
3

You will learn how to program an analog clock app using C and ObjC on MacOS with the Metal framework.

Concepts in episode 8:
-------------------------------------
➡️ Moving images by using a translation matrix
➡️ Rotating images around a pivot point
➡️ Updating state every frame
➡️ Getting the system time

👉 GitHub https://github.com/codencandy/youtube

00:00 Intro and translation matrix explanation
01:03 Implementation of translation
04:56 Theory of rotation around a pivot point
05:57 Implementation of rotation
10:29 Use the system time