Skip to content

Commit

Permalink
Adding this project
Browse files Browse the repository at this point in the history
  • Loading branch information
factormystic committed May 24, 2014
0 parents commit 61bbff2
Show file tree
Hide file tree
Showing 8 changed files with 716 additions and 0 deletions.
113 changes: 113 additions & 0 deletions comments.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
comments = {
'Dominican Rep.': {
title: '"Republic, Dominican"',
subtitle: 'aka, Dominican Republic.',
},

'Cuba': {
subtitle: 'yep, Cuba is in the Caribbean',
},

'Puerto Rico': {
subtitle: 'a U.S. territory'
},

'San Juan': {
subtitle: 'San Juan is the capital city of Puerto Rico',
},

'French Guiana': {
subtitle: 'An overseas department of France'
},

'Guam': {
subtitle: "Guam is a U.S. territory. it's really small but I promise it actually exists.",
},

'Germany': {
subtitle: 'formerly East & West'
},

'Czech Rep.': {
subtitle: 'dissolved into Czech Republic & Slovakia in 1993'
},

'Scotland': {
subtitle: 'part of the United Kingdom, but still a distinct country'
},

'Yemen': {
subtitle: 'formerly North and South, unified in 1990'
},

'Myanmar': {
title: 'Burma',
subtitle: "officially 'Myanmar', traditionally 'Burma'. There's a whole Wikipedia article on this.",
},

'Cambodia': {
subtitle: 'historically Kampuchea',
},

'Lao PDR': {
title: 'Laos',
},

'Tibet': {
subtitle: 'a region in China',
},

'Sumatra': {
subtitle: 'an island in Indonesia',
},

'Brunei': {
title: 'Borneo',
subtitle: 'this is an island split by Brunei, Malaysia, & Indonesia',
},

'W. Sahara': {
subtitle: 'formerly "Spanish Sahara"',
},

'Algiers': {
subtitle: 'Algiers is the capital city of Algeria',
},

'Dahomey': {
title: 'Benin (again)',
subtitle: 'formerly Dahomey. mentioned twice!',
},

'Dem. Rep. Congo': {
subtitle: 'formerly Zaire',
},

'Mayotte': {
subtitle: 'aka Mahore, an overseas department of France',
},

'Hong Kong': {
subtitle: "Special Administrative Region of the People's Republic of China",
},

'Yugoslavia': {
subtitle: 'total chaos',
},

'United Arab Emirates': {
subtitle: 'Abu Dhabi is the capital city',
},

'Transylvania': {
subtitle: 'historical region in central Romania',
},

'West Bank': {
subtitle: 'Palestine is made up of the West Bank & the Gaza Strip'
},

'Crete': {
subtitle: 'part of Greece',
},
};
5 changes: 5 additions & 0 deletions d3.v3.min.js

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions d3_geo_greatArcInterpolator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
var d3_geo_greatArcInterpolator = function() {
var d3_radians = Math.PI / 180;

var x0, y0, cy0, sy0, kx0, ky0,
x1, y1, cy1, sy1, kx1, ky1,
d,
k;

function interpolate(t) {
var B = Math.sin(t *= d) * k,
A = Math.sin(d - t) * k,
x = A * kx0 + B * kx1,
y = A * ky0 + B * ky1,
z = A * sy0 + B * sy1;
return [
Math.atan2(y, x) / d3_radians,
Math.atan2(z, Math.sqrt(x * x + y * y)) / d3_radians
];
}

interpolate.distance = function() {
if (d == null) k = 1 / Math.sin(d = Math.acos(Math.max(-1, Math.min(1, sy0 * sy1 + cy0 * cy1 * Math.cos(x1 - x0)))));
return d;
};

interpolate.source = function(_) {
var cx0 = Math.cos(x0 = _[0] * d3_radians),
sx0 = Math.sin(x0);
cy0 = Math.cos(y0 = _[1] * d3_radians);
sy0 = Math.sin(y0);
kx0 = cy0 * cx0;
ky0 = cy0 * sx0;
d = null;
return interpolate;
};

interpolate.target = function(_) {
var cx1 = Math.cos(x1 = _[0] * d3_radians),
sx1 = Math.sin(x1);
cy1 = Math.cos(y1 = _[1] * d3_radians);
sy1 = Math.sin(y1);
kx1 = cy1 * cx1;
ky1 = cy1 * sx1;
d = null;
return interpolate;
};

return interpolate;
};
Binary file added the-nations-of-the-world.mp3
Binary file not shown.
186 changes: 186 additions & 0 deletions timings.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
var timings = {
'0:00:10:120': 'United States',
'0:00:10:550': 'Canada',
'0:00:11:000': 'Mexico',
'0:00:11:400': 'Panama',
'0:00:11:950': 'Haiti',
'0:00:12:350': 'Jamaica',
'0:00:12:750': 'Peru',

'0:00:13:600': 'Dominican Rep.',
'0:00:14:500': 'Cuba',
'0:00:15:550': 'Greenland',
'0:00:16:050': 'El Salvador',

'0:00:17:100': 'Puerto Rico',
'0:00:17:800': 'Colombia',
'0:00:18:350': 'Venezuela',
'0:00:19:200': 'Honduras',
'0:00:19:600': 'Guyana',

'0:00:21:000': 'Guatemala',
'0:00:21:550': 'Bolivia',
'0:00:22:150': 'Argentina',
'0:00:23:000': 'Ecuador',
'0:00:23:450': 'Chile',
'0:00:23:850': 'Brazil',

'0:00:24:400': 'Costa Rica',
'0:00:25:100': 'Belize',
'0:00:25:500': 'Nicaragua',
'0:00:26:100': 'Bermuda',
'0:00:26:600': 'Bahamas',
'0:00:27:100': 'Tobago',
'0:00:27:550': 'San Juan',

'0:00:28:650': 'Paraguay',
'0:00:29:100': 'Uruguay',
'0:00:29:550': 'Suriname',
'0:00:30:200': 'French Guiana',
'0:00:30:800': 'Barbados',
'0:00:31:350': 'Guam',

'0:00:34:800': 'Norway',
'0:00:35:300': 'Sweden',
'0:00:35:750': 'Iceland',
'0:00:36:200': 'Finland',
'0:00:36:600': 'Germany',

'0:00:38:300': 'Switzerland',
'0:00:38:800': 'Austria',
'0:00:39:300': 'Czech Rep.',
'0:00:40:200': 'Italy',
'0:00:40:650': 'Turkey',
'0:00:41:100': 'Greece',

'0:00:42:100': 'Poland',
'0:00:42:450': 'Romania',
'0:00:42:800': 'Scotland',
'0:00:43:250': 'Albania',
'0:00:43:750': 'Ireland',
'0:00:44:250': 'Russia',
'0:00:44:550': 'Oman',

'0:00:45:400': 'Bulgaria',
'0:00:45:850': 'Saudi Arabia',
'0:00:46:800': 'Hungary',
'0:00:47:200': 'Cyprus',
'0:00:47:600': 'Iraq',
'0:00:48:100': 'Iran',

'0:00:49:100': 'Syria',
'0:00:49:550': 'Lebanon',
'0:00:50:000': 'Israel',
'0:00:50:450': 'Jordan',
'0:00:50:750': 'Yemen',
'0:00:51:250': 'Kuwait',
'0:00:51:650': 'Bahrain',

'0:00:52:550': 'Netherlands',
'0:00:52:900': 'Luxembourg',
'0:00:53:500': 'Belgium',
'0:00:53:950': 'Portugal',
'0:00:54:450': 'France',
'0:00:54:600': 'England',
'0:00:54:800': 'Denmark',
'0:00:55:400': 'Spain',

'0:00:58:810': 'India',
'0:00:59:250': 'Pakistan',
'0:00:59:650': 'Myanmar',
'0:01:00:000': 'Afghanistan',
'0:01:00:500': 'Thailand',
'0:01:00:900': 'Nepal',
'0:01:01:300': 'Bhutan',

'0:01:01:800': 'Cambodia',
'0:01:02:600': 'Malaysia',
'0:01:03:200': 'Bangladesh',
'0:01:04:150': 'China',
'0:01:04:500': 'Korea',
'0:01:05:000': 'Japan',

'0:01:06:000': 'Mongolia',
'0:01:06:310': 'Lao PDR',
'0:01:06:650': 'Tibet',
'0:01:07:200': 'Indonesia',
'0:01:07:800': 'Philippines',
'0:01:08:500': 'Taiwan',

'0:01:09:400': 'Sri Lanka',
'0:01:09:900': 'Papua New Guinea',
'0:01:10:300': 'Sumatra',
'0:01:10:700': 'New Zealand',
'0:01:11:200': 'Brunei',
'0:01:11:800': 'Vietnam',

'0:01:12:800': 'Tunisia',
'0:01:13:300': 'Morocco',
'0:01:13:800': 'Uganda',
'0:01:14:200': 'Angola',
'0:01:14:600': 'Zimbabwe',
'0:01:15:000': 'Djibouti',
'0:01:15:500': 'Botswana',

'0:01:16:500': 'Mozambique',
'0:01:17:000': 'Zambia',
'0:01:17:500': 'Swaziland',
'0:01:18:000': 'Gambia',
'0:01:18:500': 'Guinea',
'0:01:18:900': 'Algeria',
'0:01:19:300': 'Ghana',

'0:01:22:200': 'Burundi',
'0:01:22:600': 'Lesotho',
'0:01:23:000': 'Malawi',
'0:01:23:400': 'Togo',
'0:01:23:800': 'W. Sahara',

'0:01:25:600': 'Niger',
'0:01:26:000': 'Nigeria',
'0:01:26:400': 'Chad',
'0:01:26:800': 'Liberia',
'0:01:27:200': 'Egypt',
'0:01:27:600': 'Benin',
'0:01:28:000': 'Gabon',

'0:01:28:500': 'Tanzania',
'0:01:29:000': 'Somalia',
'0:01:29:500': 'Kenya',
'0:01:29:800': 'Mali',
'0:01:30:200': 'Sierra Leone',
'0:01:31:000': 'Algiers',

'0:01:31:800': 'Dahomey',
'0:01:32:200': 'Namibia',
'0:01:32:700': 'Senegal',
'0:01:33:200': 'Libya',
'0:01:33:600': 'Cameroon',
'0:01:34:000': 'Congo',
'0:01:34:400': 'Dem. Rep. Congo', // Zaire

'0:01:35:000': 'Ethiopia',
'0:01:35:500': 'Guinea-Bissau',
'0:01:36:000': 'Madagascar',
'0:01:36:400': 'Rwanda',
'0:01:36:800': 'Mayotte',
'0:01:37:200': 'Cayman Is.',

'0:01:38:000': 'Hong Kong',
'0:01:38:400': 'United Arab Emirates',
'0:01:38:800': 'Qatar',
'0:01:39:200': 'Yugoslavia',

'0:01:40:100': 'Crete',
'0:01:40:500': 'Mauritania',
'0:01:41:200': 'Transylvania',
'0:01:41:800': 'Monaco',
'0:01:42:200': 'Liechtenstein',
'0:01:42:600': 'Malta',
'0:01:43:000': 'West Bank',
'0:01:43:400': 'Fiji',
'0:01:43:800': 'Australia',
'0:01:44:200': 'Sudan',

'0:01:46:500': 'The End',
};
1 change: 1 addition & 0 deletions topojson.v1.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions topojson_sp05_fnone_ne_50m_admin_0_map_units.json

Large diffs are not rendered by default.

Loading

0 comments on commit 61bbff2

Please sign in to comment.