• Number of dashes in pier: Day (1-31)
  • Number of clouds: Day of week (0: Sunday, ... 6: Saturday)
  • Number of birds/stars: Month (1: January, ... 12: December)
  • Water height: Hour (01-12: increase by 5% every hour; 13-00: decrease by 5% every hour)
  • Distance of boat to pier: Minute (first 30 minutes: move to the left; last 30 minutes: move to the right)
  • Day/night effects:
    • Morning: show birds
    • Evening: show stars
    • Background color may also change
  • Position of birds and clouds also update every minute.

What is this?

This is a response to this code golf challenge: ASCII Art Calendar. Definitely my solution is not code golf, but the idea intrigued me so I gave it a go.

I remember doing this sometime around 2015, but it’s such a long time ago so that might be very inaccurate. I’ve rediscovered my code and posted it here with a few modifications.

I also remember doing this to challenge myself to implement something in pure JS. I did manage to do that, but that code was sadly lost. What was left is the jQuery version, but as you can see (feel free to peruse the code!) the majority is still implemented using vanilla JS.

Hope this brings you joy, dear viewer.


What’s with the name?

Relos [ɾɛ.'los] means clock in Ilocano. As you might have guessed, it is a loanword from Spanish.