Skip to content

Instantly share code, notes, and snippets.

@Glench
Created December 18, 2017 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Glench/ddc9616ad704793f8975cdd714ecc543 to your computer and use it in GitHub Desktop.
Save Glench/ddc9616ad704793f8975cdd714ecc543 to your computer and use it in GitHub Desktop.
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