Skip to content

codencandy/clock

Repository files navigation

Analog clock app for MacOS

This small project builds an analog clock featuring the following concepts:

  • creating an application object
  • creating a window
  • unity build
  • drawing with a constant frame rate
  • creating a hardware renderer using the Metal framework
  • loading images (PNG files)
  • GPU shaders (Metal shading language)
  • texture mapping
  • 2D projection
  • 2D rotation
  • separation between platform layer and application

What you need

All you need to follow along or just build this project is:

VS Code extensions

The following VS Code extensions are also partly necessary:

How to build and run

In order to build the project execute
sh build.sh
in the root directory of this project

In order to run execute
./clock

About

Analog Clock for MacOS written in Obj-C and C

Topics

Resources

License

Stars

Watchers

Forks