🖥️ Implementing a screensaver in C

Table of contents



While I was going back to my parents’ home, I had 6 hours to kill in the train.

I had no internet nor any way to charge my laptop so I decided to work on something simple with libraries that my pc already had downloaded.


With that in mind I had an idea that seemed trivial and not too long to implement.

A Screen saver made in C


I organized the project in the following small steps:

  1. Initialize a simple window
  2. Create an argument parser
  3. Create a tick rate system
  4. Implement a simple screen saver algorithm

/c/ /graphics/