Browse Source

Add the Titanic

tags/v0.1.0
Fen Dweller 5 years ago
parent
commit
799ff35944
4 changed files with 71 additions and 1 deletions
  1. +11
    -1
      media/attribution.js
  2. +20
    -0
      media/vehicles/titanic.svg
  3. +20
    -0
      media/vehicles/vertical-titanic.svg
  4. +20
    -0
      presets/vehicles.js

+ 11
- 1
media/attribution.js View File

@@ -302,7 +302,17 @@ const attributionData = {
{ name: "man-1.svg", source: "https://commons.wikimedia.org/wiki/File:Silhouette.svg" }
],
authors: [

]
},
{
prefix: "./media/vehicles/",
files: [
{ name: "titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" },
{ name: "vertical-titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" }
],
authors: [
]
},
],


+ 20
- 0
media/vehicles/titanic.svg View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Слой_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1019 266.3" style="enable-background:new 0 0 1019 266.3;" xml:space="preserve">
<path d="M1014.8,172.2l-2-12l-0.6-6.7h-1.5l-17.8,0.7L855.4,17.3l-0.2-1.5l-0.4-4.6l-19.5,2.2l11.6,2.4
c-35,6.4-260.8,12.8-350.2,14.8C420,35.1,192.3,8.1,190,7.8c-0.2,0-0.3,0-0.5,0l-1-5.2L188.3,0l-19.6,2.2l11.7,2.4L171,7.7l17.2,1.5
c0,0.6,1.6,10.3,1.4,10.6L78,173.9H34.3l-17.9-23.1l-0.7-1.2L0,161.3l11.3-3.9l-6.5,7.4l14.9-6.4c3,3.9,11,15.6,11,15.6l2.1,8.2
c0,0,21.4,7.5,23.4,11.4v8.5c0,0-11.4,11.3-12.1,19.4l3.5,19.5c0,0,5.5,23,31.9,25.2l877.1,0.1c12.5-0.4,49.2-3.8,54.5-27.1
c0,0,0.1-44.3,6.4-54.8l1.5-12.3L1014.8,172.2z M1004.4,157.7l-6.4,2.1l-3.3-3.3L1004.4,157.7z M858.1,24L1005,171.1
c0,0-141.2-114.6-141.6-114.6L858.1,24z M850.1,57.7l6.8-28.7l4.4,27.6L850.1,57.7z M861.2,59.8l-34.6,97.6l22.7-96.5L861.2,59.8z
M199.1,165.8v12.3H146V174H81.8L191.2,23.2v0.3l22.7,142.4h-14.8V165.8z M197.3,48.4l-4.6-24.3l119.1,119
C311.8,143.1,197.7,48.4,197.3,48.4z M250.2,165.8h-30.8L198.1,53.4l116.6,97h-64.5L250.2,165.8L250.2,165.8z M622.7,150.5
l-9.5-69.4l-3.1,0.3L607.8,66l-26,3.9l2.3,15.7l-3.4,1.1l9.2,64h-103l-9.5-69.4l-3.1,0.3L472,66.2l-26,3.9l2.3,15.7l-3.4,1.1l9.2,64
h-93.8l-9.5-69.4l-3.1,0.3l-2.3-15.4l-26,3.9l2.3,15.7l-3.4,1.1l9.2,64h-5.1L192.1,19.7c-0.1-0.1-0.2-0.4-0.3-0.5l-1.5-8.2
c10.9,1.3,198.1,23.2,286.4,23.2c7.6,0,14.4-0.2,20.3-0.5c12.8-0.3,288-6.6,345.8-14.3l11.8,1l1.1,1.1c-0.1,0.1-0.1,0.2-0.1,0.4
l-8.5,36.2L740,67.9l-0.3-2.1l-26,3.9l2.3,15.7l-3.4,1.1l9.2,64L622.7,150.5L622.7,150.5z M803.4,178v-12.3h-10.2v-15.3h-38.8
L744.9,81l-3.1,0.3L740.2,71l105.9-9.8l-28,119.1l-4.6-2.4h-10.1V178z M860.8,179.7l-0.6,3.5h-38.4l-0.6-0.9l41.4-117l18.1,113.3
L860.8,179.7z M886.2,178L864,61.1l0.2-0.5l138,112.1L886.2,178z M1010.7,172.3l-0.8,0.1c-0.1-0.2,0.1-0.4-0.1-0.6l-10-9.6l10.9,0.1
L1010.7,172.3L1010.7,172.3z"/>
</svg>

+ 20
- 0
media/vehicles/vertical-titanic.svg View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Слой_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 266.3 1019" style="enable-background:new 0 0 266.3 1019;" xml:space="preserve">
<path d="M94.1,1014.8l12-2l6.7-0.6v-1.5l-0.7-17.8L249,855.4l1.5-0.2l4.6-0.4l-2.2-19.5l-2.4,11.6c-6.4-35-12.8-260.8-14.8-350.2
c-4.5-76.7,22.5-304.4,22.8-306.7c0-0.2,0-0.3,0-0.5l5.2-1l2.6-0.2l-2.2-19.6l-2.4,11.7l-3.1-9.4l-1.5,17.2
c-0.6,0-10.3,1.6-10.6,1.4L92.4,78V34.3l23.1-17.9l1.2-0.7L105,0l3.9,11.3l-7.4-6.5l6.4,14.9c-3.9,3-15.6,11-15.6,11l-8.2,2.1
c0,0-7.5,21.4-11.4,23.4h-8.5c0,0-11.3-11.4-19.4-12.1l-19.5,3.5c0,0-23,5.5-25.2,31.9L0,956.6c0.4,12.5,3.8,49.2,27.1,54.5
c0,0,44.3,0.1,54.8,6.4l12.3,1.5L94.1,1014.8z M108.6,1004.4l-2.1-6.4l3.3-3.3L108.6,1004.4z M242.3,858.1L95.2,1005
c0,0,114.6-141.2,114.6-141.6L242.3,858.1z M208.6,850.1l28.7,6.8l-27.6,4.4L208.6,850.1z M206.5,861.2l-97.6-34.6l96.5,22.7
L206.5,861.2z M100.5,199.1H88.2V146h4.1V81.8l150.8,109.4h-0.3l-142.4,22.7v-14.8H100.5z M217.9,197.3l24.3-4.6l-119,119.1
C123.2,311.8,217.9,197.7,217.9,197.3z M100.5,250.2v-30.8l112.4-21.3l-97,116.6v-64.5L100.5,250.2L100.5,250.2z M115.8,622.7
l69.4-9.5l-0.3-3.1l15.4-2.3l-3.9-26l-15.7,2.3l-1.1-3.4l-64,9.2v-103l69.4-9.5l-0.3-3.1l15.4-2.3l-3.9-26l-15.7,2.3l-1.1-3.4
l-64,9.2v-93.8l69.4-9.5l-0.3-3.1l15.4-2.3l-3.9-26l-15.7,2.3l-1.1-3.4l-64,9.2v-5.1l131.4-130.3c0.1-0.1,0.4-0.2,0.5-0.3l8.2-1.5
c-1.3,10.9-23.2,198.1-23.2,286.4c0,7.6,0.2,14.4,0.5,20.3c0.3,12.8,6.6,288,14.3,345.8l-1,11.8l-1.1,1.1c-0.1-0.1-0.2-0.1-0.4-0.1
l-36.2-8.5L198.4,740l2.1-0.3l-3.9-26l-15.7,2.3l-1.1-3.4l-64,9.2L115.8,622.7L115.8,622.7z M88.3,803.4h12.3v-10.2h15.3v-38.8
l69.4-9.5l-0.3-3.1l10.3-1.6l9.8,105.9L86,818.1l2.4-4.6v-10.1H88.3z M86.6,860.8l-3.5-0.6v-38.4l0.9-0.6l117,41.4L87.7,880.7
L86.6,860.8z M88.3,886.2L205.2,864l0.5,0.2l-112.1,138L88.3,886.2z M94,1010.7l-0.1-0.8c0.2-0.1,0.4,0.1,0.6-0.1l9.6-10l-0.1,10.9
L94,1010.7L94,1010.7z"/>
</svg>

+ 20
- 0
presets/vehicles.js View File

@@ -101,5 +101,25 @@ function makeVehicles() {
)
});

results.push({
name: "Titanic",
constructor: () => makeVehicle(
"Titanic",
{
side: {
name: "Side",
height: math.unit(883*1114/4250, "feet"),
image: { source: "./media/vehicles/titanic.svg" },
},
sideVertical: {
name: "Side (Vertical)",
height: math.unit(883, "feet"),
image: { source: "./media/vehicles/vertical-titanic.svg" },
},
},
math.unit(52310, "tons")
)
});

return results;
}

Loading…
Cancel
Save