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

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calendar for a 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. This is also the way to understand the real lifetime price of our plans. For example shows if you ready to sign long listing contract. Or shows livetime price of large purchases material plans: for example - to understand that you have to spend this year for this car or this 5 years is for this apartments.

Example: picture down - the chart of surviving probability to age. Horizontal axe - 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 lifetime 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 lifetime calendar, portrait paper orientation. Reduced space for each year. image folder 📂

  • 100 years lifetime calendar, portrait paper orientation. The area of a year is same as previous, the cells are little bit tense. 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