Procházet zdrojové kódy

Add paperclips

tags/v0.1.0
Fen Dweller před 5 roky
rodič
revize
fbbe831120
3 změnil soubory, kde provedl 48 přidání a 1 odebrání
  1. +20
    -1
      media/attribution.js
  2. +13
    -0
      media/objects/paperclip.svg
  3. +15
    -0
      presets/objects.js

+ 20
- 1
media/attribution.js Zobrazit soubor

@@ -583,6 +583,17 @@ const attributionData = {
"chemicalcrux"
]
},
{
prefix: "./media/objects/",
files: [
{ name: "paperclip.svg", source: null }
],
authors: [
"alexander-madyankin",
"roman-shamin",
"chemicalcrux",
]
},
{
prefix: "./media/objects/humans/",
files: [
@@ -624,6 +635,10 @@ const attributionData = {
},
],
people: {
"alexander-madyankin": {
name: "Alexander Madyankin",
url: "https://madyankin.name/"
},
"appledectomy": {
name: "Appledectomy",
url: "https://www.furaffinity.net/user/appledectomy"
@@ -808,6 +823,10 @@ const attributionData = {
name: "Rogue Megawolf",
url: "https://twitter.com/roguemegawolf"
},
"roman-shamin": {
name: "Roman Shamin",
url: "https://twitter.com/romanshamin"
},
"scareye": {
name: "Scareye",
url: "https://www.furaffinity.net/user/scareye/"
@@ -923,4 +942,4 @@ function sourceOf(file) {
return undefined;
}

prepareAttribution();
prepareAttribution();

+ 13
- 0
media/objects/paperclip.svg Zobrazit soubor

@@ -0,0 +1,13 @@
<?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="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 9.79 34.72" style="enable-background:new 0 0 9.79 34.72;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:0.7;stroke-miterlimit:10;}
</style>
<g>
<path class="st0" d="M9.44,27.29V6.36c0-3.25-2.03-5.94-4.54-6.01c-2.46,0-4.49,2.69-4.54,6.01V30.4c0,1.13,0.32,2.12,0.86,2.83
c0.59,0.78,2.58,1.2,3.38,1.13c1.71,0,3.74-1.77,3.74-4.03c0,0,0-6.51,0-12.56s0.09-9.25-3.44-9.25c-2.59,0-3.34,3.11-3.34,4.24
L1.49,27.21"/>
</g>
</svg>

+ 15
- 0
presets/objects.js Zobrazit soubor

@@ -242,6 +242,21 @@ function makeObjects() {
}
)
});

results.push({
name: "Paperclip",
constructor: () => makeObject(
"Paperclip",
{
paperclip: {
height: math.unit(1.834, "inches"),
mass: math.unit(1, "g"),
image: { source: "./media/objects/paperclip.svg" },
name: "Paperclip"
}
}
)
});
results.sort((b1, b2) => {
e1 = b1.constructor();


Načítá se…
Zrušit
Uložit