This simple bit of code will tell you how much the earth bulges due to the curvature of the earth over a given distance. This approximation assumes the earth is a perfect sphere with a constant radius of 6,371km.
A Pen by iainmnorman on CodePen.
This simple bit of code will tell you how much the earth bulges due to the curvature of the earth over a given distance. This approximation assumes the earth is a perfect sphere with a constant radius of 6,371km.
A Pen by iainmnorman on CodePen.
/** | |
* CSS bar graph (SO) | |
*/ | |
.graph { | |
width: 50px; | |
height: 50px; | |
border: 1px solid #aeaeae; | |
background-color: #eaeaea; | |
} | |
.bar { |