Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
XKCD #1930 Calendar Facts Tracery script
{
"origin":["Did you know that #start# #next# because of #reason#? Apparently #fact#"],
"start":["the #springfall# equinox", "the #wintersummer# #solsticeolympics#", "the #earliestlatest# #sunrisesunset#", "daylight #saving# time", "Leap #dayyear#", "Easter", "the #moontype# Moon", "Toyota Truck Month", "Shark Week"],
"next":["happens #relativetime# every year", "drifts out of sync with the #synctypes#", "might #happen# this year"],
"springfall":["spring", "fall"],
"wintersummer": ["winter", "summer"],
"solsticeolympics": ["solstice", "olympics"],
"earliestlatest": ["earliest", "latest"],
"sunrisesunset": ["sunrise", "sunset"],
"saving": ["saving", "savings"],
"dayyear": ["day", "year"],
"moontype": ["Harvest", "Blood", "Super"],
"relativetime":["earlier", "later", "at the wrong time"],
"synctypes": ["sun", "moon", "zodiac", "atomic clock in Colorado", "#calendartype# calendar"],
"calendartype": ["Gregorian", "Mayan", "Lunar", "iPhone"],
"happen": ["not happen", "happen twice"],
"reason": ["time zone legislation in #place#", "a decree by the pope in the 1500s", "magnetic field reversal", "#physics# of the #physicsthing#", "an arbitrary decision by #person#"],
"place": ["Indiana", "Arizona", "Russia"],
"physics": ["precession", "libration", "nutation", "libation", "eccentricity", "obliquity"],
"physicsthing": ["Moon", "Sun", "Earth's rays", "equator", "prime meridian", "#linetype# line"],
"linetype": ["international date", "mason-dixon"],
"person": ["Benjamin Franklin", "Isaac Newton", "FDR"],
"fact": ["it causes a predictable increase in car accidents.", "that's why we have leap seconds.", "scientists are really worried.", "it was even more extreme during the #period#.", "there's a proposal to fix it, but it #fix#", "it's getting worse and no one knows why."],
"period": ["Bronze Age", "Ice Age", "Cretaceous", "1990s"],
"fix": ["will never happen.", "actually makes things worse.", "is stalled in Congress.", "might be unconstitutional."]
}
Paste the contents of calendar_facts.json above into http://tracery.io/editor/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.