Skip to content

⏳ Images with calendars for a large number of years ( >=60 ) and generating their script in Python.

Notifications You must be signed in to change notification settings

notdest/png-many-years-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calendar for a one lifetime

Read this in other languages: English, Русский

example of calendar

Print version and generating script. All images are in the format *.png, size A0 (1189x841mm) and resolution 300dpi (14043x9933px). You can print out it in printing company.

The calendar was created as an instrument for introspection. You may note dates of different events and periods in your life, and estimate their parting in scale of your life. By the way, the sum of this events and periods shape your personality. This is the way to understand who you are. You can also understand, for example, whether you are ready to sign any long-term contract. Or convert the cost of large purchases to the time spent, for example: "to buy this apartment, I have to spend these 5 years".

Example: picture down - the chart of surviving probability to age. Horizontal axis - age, vertical - percent of people reached such age.
probability chart for survival

Calendars are divided with the year of birth. Headline forms automatically according to this (like 1994 15 years). Variants available:

  • 60 years calendar, landscape paper orientation. Each year has the biggest area. Not yet comes years are shown just to understand the scale. image folder 📂

  • 80 years calendar, portrait paper orientation. Reduced space for each year. image folder 📂

  • 100 years calendar, portrait paper orientation. The area of a year is same as previous, the cells are denser. image folder 📂

There is also a pdf-version on a large number of A4 sheets. (Download pdf).

About the code. The project contains a single file generator.py, that requires the PIL library. It is most interesting for reusing the printMonth() and printYear() functions at the top. They require a global variable rus, the value of which determines the language of the headers (True - Russian, False - English), and the variable draw, which is obtained as follows

image       = Image.new("L", (imageWidth,imageHeight), 255)
draw        = ImageDraw.Draw(image)

The remaining variables are intuitively understood from the name. In the case of yearOfBirth > year, the printYear() function does not print age in the header.

If English is your native language, please suggest editing this text on an e-mail in my profile or via github

About

⏳ Images with calendars for a large number of years ( >=60 ) and generating their script in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages