codencandy / clock

Analog Clock for MacOS written in Obj-C and C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:C++ 93.7%Language:Objective-C++ 4.7%Language:C 1.0%Language:Metal 0.4%Language:Shell 0.1%