| @@ -779,6 +779,25 @@ function drawVerticalScale(ifDirty = false) { | |||||
| drawAltitudeLine(ctx, math.unit(7.5, "meters"), "Littoral Zone"); | drawAltitudeLine(ctx, math.unit(7.5, "meters"), "Littoral Zone"); | ||||
| drawAltitudeLine(ctx, math.unit(140, "meters"), "Continental Shelf"); | drawAltitudeLine(ctx, math.unit(140, "meters"), "Continental Shelf"); | ||||
| } | } | ||||
| if (config.drawAltitudes == "geology" || config.drawAltitudes == "all") { | |||||
| drawAltitudeLine(ctx, math.unit(35, "km"), "Crust"); | |||||
| drawAltitudeLine(ctx, math.unit(670, "km"), "Upper Mantle"); | |||||
| drawAltitudeLine(ctx, math.unit(2890, "km"), "Lower Mantle"); | |||||
| drawAltitudeLine(ctx, math.unit(5150, "km"), "Outer Core"); | |||||
| drawAltitudeLine(ctx, math.unit(6370, "km"), "Inner Core"); | |||||
| } | |||||
| if (config.drawAltitudes == "thicknesses" || config.drawAltitudes == "all") { | |||||
| drawAltitudeLine(ctx, math.unit(0.335, "nm"), "Monolayer Graphene"); | |||||
| drawAltitudeLine(ctx, math.unit(3, "um"), "Spider Silk"); | |||||
| drawAltitudeLine(ctx, math.unit(0.07, "mm"), "Human Hair"); | |||||
| drawAltitudeLine(ctx, math.unit(0.1, "mm"), "Sheet of Paper"); | |||||
| drawAltitudeLine(ctx, math.unit(0.5, "mm"), "Yarn"); | |||||
| drawAltitudeLine(ctx, math.unit(0.0155, "inches"), "Thread"); | |||||
| drawAltitudeLine(ctx, math.unit(0.1, "um"), "Gold Leaf"); | |||||
| drawAltitudeLine(ctx, math.unit(35, "um"), "PCB Trace"); | |||||
| } | |||||
| } | } | ||||
| // this is a lot of copypizza... | // this is a lot of copypizza... | ||||
| @@ -2077,7 +2096,9 @@ const settingsData = { | |||||
| "atmosphere", | "atmosphere", | ||||
| "orbits", | "orbits", | ||||
| "weather", | "weather", | ||||
| "water" | |||||
| "water", | |||||
| "geology", | |||||
| "thicknesses" | |||||
| ], | ], | ||||
| get value() { | get value() { | ||||
| return config.drawAltitudes; | return config.drawAltitudes; | ||||