Skip to content

Instantly share code, notes, and snippets.

@mark
Created December 18, 2017 19:02
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 mark/a824ce31eb9dd34a5facaff04603e97f to your computer and use it in GitHub Desktop.
Save mark/a824ce31eb9dd34a5facaff04603e97f to your computer and use it in GitHub Desktop.
Tracery implementation of XKCD #1930: https://xkcd.com/1930/
{
"origin": ["Did you know that #fact# #what# because of #reason#? Apparently #cause#."],
"fact": [
"the #odd-season# Equinox",
"the #even-season# #even-event#",
"the #timing# #sun-event#",
"Daylight #savings# Time",
"Leap #leap#",
"Easter",
"the #moon# Moon",
"Toyota Truck Month",
"Shark Week"
],
"even-season": ["Winter", "Summer"],
"odd-season": ["Spring", "Fall"],
"even-event": ["Solstice", "Olympics"],
"timing": ["earliest", "latest"],
"sun-event": ["Sunrise", "Sunset"],
"savings": ["Saving", "Savings"],
"leap": ["Day", "Year"],
"moon": ["Harvest", "Super", "Blood"],
"what": [
"happens #when# every year",
"drifts out of sync with the #sync#",
"might #might# this year"
],
"when": ["earlier", "later", "at the wrong time"],
"sync": ["Sun", "Moon", "Zodiac", "#calendar# Calendar", "Atomic Clock in Colorado"],
"calendar": ["Gregorian", "Mayan", "Lunar", "iPhone"],
"might": ["not happen", "happen twice"],
"reason": [
"Time Zone legislation in #place#",
"a decree by the Pope in the 1500s",
"#astronomy-event# of the #astronomy-place#",
"Magnetic Field Reversal",
"an arbitrary decision by #who#"
],
"place": ["Indiana", "Arizona", "Russia"],
"astronomy-event": ["precession", "libration", "nutation", "libation", "eccentricity", "obliquity"],
"astronomy-place": ["Moon", "Sun", "Earth's axis", "Equator", "Prime Meridian", "#line# Line"],
"line": ["International Date", "Mason-Dixon"],
"who": ["Benjamin Franklin", "Issac Newton", "FDR"],
"cause": [
"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 #epoch#",
"there's a proposal to fix it, but it #stalled-proposal#",
"it's getting worse and no one knows why"
],
"epoch": ["Bronze Age", "Ice Age", "Cretaceous", "1990s"],
"stalled-proposal": [
"will never happen",
"actually makes things worse",
"is stalled in Congress",
"might be unconstitutional"
],
"alt-text": ["While it may seem like trivia, it #problem#."],
"problem": [
"causes huge headaches for software developers",
"is taken advantage of by high-speed traders",
"triggered the 2003 Northeast Blackout",
"has to be corrected for by GPS satallites",
"is now recognized as a major cause of World War I"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment