-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage-postage.pug
79 lines (74 loc) · 2.68 KB
/
package-postage.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
doctype xml
svg(
viewBox="0 0 67.5 40.5"
width=400
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink")
defs
circle(
id="dot"
fill="hsl(235,35%,50%)"
cx=-0.5
cy=-0.5
r=0.7)
polygon(
id="star"
fill="hsl(235,35%,50%)"
fill-rule="nonzero"
stroke="hsl(235,35%,50%)"
stroke-width="0.3px"
stroke-linecap="round"
stroke-linejoin="round"
points=`0,-2 1.176,1.618 -1.854,-0.75 1.854,-0.75 -1.176,1.618`)
g(id="stamp" transform=`translate(10)`)
path(
fill="hsl(0,60%,50%)"
d=`M0,0 h2
h1 a2 2, 1 1 0 4,0
h1 a2 2, 1 1 0 4,0
h1 a2 2, 1 1 0 4,0
h1 a2 2, 1 1 0 4,0
h1 a2 2, 1 1 0 4,0
L30,0 v2
v1 a2 2, 1 1 0 0,4
v1 a2 2, 1 1 0 0,4
v1 a2 2, 1 1 0 0,4
v1 a2 2, 1 1 0 0,4
v1 a2 2, 1 1 0 0,4
L30,30 h-2
h-1 a2 2, 1 1 0 -4,0
h-1 a2 2, 1 1 0 -4,0
h-1 a2 2, 1 1 0 -4,0
h-1 a2 2, 1 1 0 -4,0
h-1 a2 2, 1 1 0 -4,0
L0,30 v-2
v-1 a2 2, 1 1 0 0,-4
v-1 a2 2, 1 1 0 0,-4
v-1 a2 2, 1 1 0 0,-4
v-1 a2 2, 1 1 0 0,-4
v-1 a2 2, 1 1 0 0,-4
z`)
path(d="M5,5 h20 v20 h-5 v-15 h-5 v15 h-10Z" fill="white")
g(id="ink" transform="translate(17,24)" style="mix-blend-mode:multiply;")
circle(stroke="hsl(235,35%,50%)" fill="none" r=16)
circle(stroke="hsl(235,35%,50%)" fill="none" r=12)
- var shift=0, increment=1.1
mixin dashed-bar(start, end)
path(fill="none" stroke="hsl(235,35%,50%)" stroke-width="1px" stroke-dasharray="2px" stroke-linecap="round" stroke-dashoffset=shift+=increment d=`M ${start} c-5,0 -5,-2 -10,-2 s-5,2 -10,2 s-5,-2 -10,-2 c${end}`)
+dashed-bar("50,-10","-3,0 -4.6,1.4 -5.0,1.8")
+dashed-bar("50,-5", "-2,0 -2.6,1.1 -3.0,1.2")
+dashed-bar("50,0", "-1,0 -2.2,0.9 -2.4,1.0")
+dashed-bar("50,5", "-2,0 -2.4,1.0 -2.7,1.1")
+dashed-bar("50,10", "-3,0 -4.6,1.4 -5.0,1.8")
mixin bullet(angle, depth)
use(xlink:href="#dot" transform="translate("+depth+") rotate("+angle+",-"+depth+",0)")
- for(var angle = 0, depth = 14.5; angle < 360; angle += 15)
+bullet(angle, depth)
mixin star(angle, depth)
use(xlink:href="#star" transform="translate(0,-"+depth+") rotate("+angle+",0,"+depth+")")
- for(var angle = 0, depth = 5; angle < 360; angle += 72)
+star(angle, depth)
path(id="text" d="M0.5,-9A 9 9, 0 1 1 -0.5,-9" fill="none" transform="rotate(72)")
text(style="font-family:monospace;font-size:2.8px;font-weight:bold;fill:hsl(235,35%,50%);")
textPath(xlink:href="#text" side="left") PUBLISH ALL THE THINGS YOU CAN!!!