curvature of the earth javascript and table

more accurate curvature javascript:
http://electricitymachine.com/curvature/equator-radius-3963.1676-curvature-7.99360591.html miles inches

globe - curved:


circle - level:


8" × 01² mile = 8"
8" × 02² miles = 32"
8" × 03² miles = 72"
8" × 04² miles = 128"
8" × 05² miles = 200"
8" × 06² miles = 288"
8" × 07² miles = 392"
8" × 08² miles = 512"
8" × 09² miles = 648"
8" × 10² miles = 800"
8" × 11² miles = 968"
8" × 12² miles = 1152"
8" × 13² miles = 1352"
8" × 14² miles = 1568"
8" × 15² miles = 1800"
8" × 16² miles = 2048"
8" × 17² miles = 2312"
8" × 18² miles = 2592"
8" × 19² miles = 2888"
8" × 20² miles = 3200"
8" × 21² miles = 3428"
8" × 22² miles = 3872"
8" × 23² miles = 4232"
8" × 24² miles = 4608"
8" × 25² miles = 5000"
8" × 26² miles = 5408"
8" × 27² miles = 5832"
8" × 28² miles = 6272"
8" × 29² miles = 6728"
8" × 30² miles = 7200"
8" × 31² miles = 7688"
8" × 32² miles = 8192"
8" × 33² miles = 8712"
8" × 34² miles = 9248"
8" × 35² miles = 9800"
8" × 36² miles = 10368"
8" × 37² miles = 10952"
8" × 38² miles = 11552"
8" × 39² miles = 12168"
8" × 40² miles = 12800"
8" × 41² miles = 13448"
8" × 42² miles = 14112"
8" × 43² miles = 14792"
8" × 44² miles = 15488"
8" × 45² miles = 16200"
8" × 46² miles = 16928"
8" × 47² miles = 17672"
8" × 48² miles = 18432"
8" × 49² miles = 19208"
8" × 50² miles = 20000"
8" × 51² miles = 20808"
8" × 52² miles = 21632"
8" × 53² miles = 22472"
8" × 54² miles = 23328"
8" × 55² miles = 24200"
8" × 56² miles = 25088"
8" × 57² miles = 25992"
8" × 58² miles = 26912"
8" × 59² miles = 27848"
8" × 60² miles = 28800"
8" × 61² miles = 29768"
8" × 62² miles = 30752"
8" × 63² miles = 31752"
8" × 64² miles = 32768"
8" × 65² miles = 33800"
8" × 66² miles = 34848"
8" × 67² miles = 35912"
8" × 68² miles = 36992"
8" × 69² miles = 38088"
8" × 70² miles = 39200"
8" × 71² miles = 40328"
8" × 72² miles = 41472"
8" × 73² miles = 42632"
8" × 74² miles = 43808"
8" × 75² miles = 45000"
8" × 76² miles = 46208"
8" × 77² miles = 47432"
8" × 78² miles = 48672"
8" × 79² miles = 49928"
8" × 80² miles = 51200"
8" × 81² miles = 52488"
8" × 82² miles = 53792"
8" × 83² miles = 55112"
8" × 84² miles = 56448"
8" × 85² miles = 57800"
8" × 86² miles = 59168"
8" × 87² miles = 60552"
8" × 88² miles = 61952"
8" × 89² miles = 63368"
8" × 90² miles = 64800"
8" × 91² miles = 66248"
8" × 92² miles = 67712"
8" × 93² miles = 69912"
8" × 94² miles = 70688"
8" × 95² miles = 72200"
8" × 96² miles = 73728"
8" × 97² miles = 75272"
8" × 98² miles = 76832"
8" × 99² miles = 78408"
8" × 100² miles = 80000"