Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
chemicalcrux
/
macrovision
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
5
Değişiklik İstekleri
0
Sürümler
10
Wiki
Aktivite
Kaynağa Gözat
Add pencils
tags/v0.1.0
Fen Dweller
6 yıl önce
ebeveyn
791e6f2ec8
işleme
88c348afed
3 değiştirilmiş dosya
ile
23 ekleme
ve
1 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+2
-1
media/attribution.js
+6
-0
media/objects/pencil.svg
+15
-0
presets/objects.js
+ 2
- 1
media/attribution.js
Dosyayı Görüntüle
@@ -565,7 +565,8 @@ const attributionData = {
{ name: "nail-polish.svg", source: null },
{ name: "shot-glass.svg", source: null },
{ name: "beer-bottle.svg", source: null },
{ name: "circle.svg", source: null }
{ name: "circle.svg", source: null },
{ name: "pencil.svg", source: null },
],
authors: [
"chemicalcrux"
+ 6
- 0
media/objects/pencil.svg
Dosyayı Görüntüle
@@ -0,0 +1,6 @@
<?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_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 391" style="enable-background:new 0 0 16 391;" xml:space="preserve">
<path d="M15,11V2c0,0,0-2-3-2C8,0,8,0,8,0s0,0-4,0C1,0,1,2,1,2v9l-1,1v345l8,34l8-34V12L15,11z"/>
</svg>
+ 15
- 0
presets/objects.js
Dosyayı Görüntüle
@@ -190,6 +190,21 @@ function makeObjects() {
}
)
});
results.push({
name: "Pencil",
constructor: () => makeObject(
"Pencil",
{
pencil: {
height: math.unit(7.5, "inches"),
mass: math.unit(7, "g"),
image: { source: "./media/objects/pencil.svg" },
name: "Pencil"
}
}
)
});
results.sort((b1, b2) => {
e1 = b1.constructor();
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet