skip to content
vvhybe

case 062022

Universal Age

Your age on every planet of the solar system, in English, French and Arabic. Plus a Python CLI.

filed
my own
cold case2022
role
author
period
2022
status
cold: archived, kept for the record

the build

sheet 2 of 2

one formula, nine worlds

Each body's orbital period sits in a JSON file, in Earth days. Your age on Earth is the days you've lived over 365.25625; anywhere else, that divided by the planet's year in Earth years. Pluto gets a slide too.

the same idea in Python

The CLI wraps the maths in a class and reads a birthdate day-first or year-first, with almost any separator; a bare year counts as the first of January.

made with react, i18n, python

Universal Age: its cover
case 06, Universal Age
print 1 / 1