|
|
|
@@ -46,7 +46,7 @@ function makePlanet(name, diameter, mass, image) { |
|
|
|
height: diameter, |
|
|
|
mass: mass, |
|
|
|
image: (image === undefined ? { |
|
|
|
source: "./media/objects/planet-generic.svg" |
|
|
|
source: "./media/naturals/planet-generic.svg" |
|
|
|
} : image), |
|
|
|
name: "Body" |
|
|
|
} |
|
|
|
@@ -63,7 +63,7 @@ function makeNaturals() { |
|
|
|
results.push(makePlanet("Moon", math.unit(3475, "km"), math.unit(0.073e24, "kg"))); |
|
|
|
results.push(makePlanet("Mars", math.unit(6792, "km"), math.unit(0.642e24, "kg"))); |
|
|
|
results.push(makePlanet("Jupiter", math.unit(142984, "km"), math.unit(1898e24, "kg"))); |
|
|
|
results.push(makePlanet("Saturn", math.unit(120536, "km"), math.unit(568e24, "kg"), { source: "./media/objects/saturn.svg" })); |
|
|
|
results.push(makePlanet("Saturn", math.unit(120536, "km"), math.unit(568e24, "kg"), { source: "./media/naturals/saturn.svg" })); |
|
|
|
results.push(makePlanet("Uranus", math.unit(51118, "km"), math.unit(86.8e24, "kg"))); |
|
|
|
results.push(makePlanet("Neptune", math.unit(49528, "km"), math.unit(102e24, "kg"))); |
|
|
|
results.push(makePlanet("Pluto", math.unit(2370, "km"), math.unit(0.0146e24, "kg"))); |
|
|
|
@@ -85,4 +85,4 @@ function makeNaturals() { |
|
|
|
}); |
|
|
|
|
|
|
|
return results; |
|
|
|
} |
|
|
|
} |