| @@ -565,7 +565,8 @@ const attributionData = { | |||||
| { name: "nail-polish.svg", source: null }, | { name: "nail-polish.svg", source: null }, | ||||
| { name: "shot-glass.svg", source: null }, | { name: "shot-glass.svg", source: null }, | ||||
| { name: "beer-bottle.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: [ | authors: [ | ||||
| "chemicalcrux" | "chemicalcrux" | ||||
| @@ -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> | |||||
| @@ -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) => { | results.sort((b1, b2) => { | ||||
| e1 = b1.constructor(); | e1 = b1.constructor(); | ||||