Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
chemicalcrux
/
macrovision
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
5
Pull Requests
0
Lanzamientos
10
Wiki
Actividad
Explorar el Código
Add pencils
tags/v0.1.0
Fen Dweller
hace 6 años
padre
791e6f2ec8
commit
88c348afed
Se han
modificado 3 ficheros
con
23 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-1
media/attribution.js
+6
-0
media/objects/pencil.svg
+15
-0
presets/objects.js
+ 2
- 1
media/attribution.js
Ver fichero
@@ -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
Ver fichero
@@ -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
Ver fichero
@@ -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();
Escribir
Vista previa
Cargando…
Cancelar
Guardar