qrdx 0.0.57 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/README.md +22 -6
  2. package/dist/angular.js +33 -3
  3. package/dist/angular.js.map +1 -1
  4. package/dist/angular.mjs +33 -3
  5. package/dist/angular.mjs.map +1 -1
  6. package/dist/core.js +7 -7
  7. package/dist/core.js.map +1 -1
  8. package/dist/core.mjs +7 -7
  9. package/dist/core.mjs.map +1 -1
  10. package/dist/element.browser.mjs +6 -6
  11. package/dist/element.browser.mjs.map +1 -1
  12. package/dist/element.js +1 -1
  13. package/dist/element.js.map +1 -1
  14. package/dist/element.mjs +1 -1
  15. package/dist/element.mjs.map +1 -1
  16. package/dist/frames-index.js +1 -1
  17. package/dist/frames-index.js.map +1 -1
  18. package/dist/frames-index.mjs +1 -1
  19. package/dist/frames-index.mjs.map +1 -1
  20. package/dist/frames-official.js +1 -1
  21. package/dist/frames-official.js.map +1 -1
  22. package/dist/frames-official.mjs +1 -1
  23. package/dist/frames-official.mjs.map +1 -1
  24. package/dist/index.js +7 -7
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +7 -7
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/qr-code-canvas.js +1 -1
  29. package/dist/qr-code-canvas.js.map +1 -1
  30. package/dist/qr-code-canvas.mjs +1 -1
  31. package/dist/qr-code-canvas.mjs.map +1 -1
  32. package/dist/schemas.js +1 -1
  33. package/dist/schemas.js.map +1 -1
  34. package/dist/schemas.mjs +1 -1
  35. package/dist/schemas.mjs.map +1 -1
  36. package/dist/src/angular.d.ts +9 -3
  37. package/dist/src/download.d.ts +32 -6
  38. package/dist/src/download.d.ts.map +1 -1
  39. package/dist/src/element.d.ts +10 -1
  40. package/dist/src/element.d.ts.map +1 -1
  41. package/dist/src/engine.d.ts +5 -2
  42. package/dist/src/engine.d.ts.map +1 -1
  43. package/dist/src/eps.d.ts.map +1 -1
  44. package/dist/src/export.d.ts.map +1 -1
  45. package/dist/src/frame.d.ts +24 -0
  46. package/dist/src/frame.d.ts.map +1 -1
  47. package/dist/src/frames/catalogue/all.d.ts.map +1 -1
  48. package/dist/src/frames/catalogue/batches.d.ts +6 -0
  49. package/dist/src/frames/catalogue/batches.d.ts.map +1 -0
  50. package/dist/src/frames/catalogue/call-to-action.d.ts.map +1 -1
  51. package/dist/src/frames/catalogue/counts.d.ts +4 -2
  52. package/dist/src/frames/catalogue/counts.d.ts.map +1 -1
  53. package/dist/src/frames/catalogue/index.d.ts.map +1 -1
  54. package/dist/src/frames/catalogue/objects.d.ts +5 -0
  55. package/dist/src/frames/catalogue/objects.d.ts.map +1 -0
  56. package/dist/src/frames/catalogue/playful.d.ts +5 -0
  57. package/dist/src/frames/catalogue/playful.d.ts.map +1 -0
  58. package/dist/src/frames/catalogue/tags.d.ts.map +1 -1
  59. package/dist/src/frames/collections.d.ts.map +1 -1
  60. package/dist/src/frames/official-types.d.ts +1 -1
  61. package/dist/src/frames/official-types.d.ts.map +1 -1
  62. package/dist/src/frames/official.d.ts.map +1 -1
  63. package/dist/src/gif.d.ts +40 -0
  64. package/dist/src/gif.d.ts.map +1 -0
  65. package/dist/src/helpers.d.ts +1 -1
  66. package/dist/src/helpers.d.ts.map +1 -1
  67. package/dist/src/ico.d.ts +11 -0
  68. package/dist/src/ico.d.ts.map +1 -0
  69. package/dist/src/index.d.ts +2 -1
  70. package/dist/src/index.d.ts.map +1 -1
  71. package/dist/src/looks.d.ts +101 -0
  72. package/dist/src/looks.d.ts.map +1 -0
  73. package/dist/src/plain.d.ts.map +1 -1
  74. package/dist/src/print.d.ts.map +1 -1
  75. package/dist/src/qr-code-canvas.d.ts.map +1 -1
  76. package/dist/src/qr-code-props.d.ts +10 -1
  77. package/dist/src/qr-code-props.d.ts.map +1 -1
  78. package/dist/src/qr-code.d.ts.map +1 -1
  79. package/dist/src/qr-frame-svg.d.ts +10 -0
  80. package/dist/src/qr-frame-svg.d.ts.map +1 -0
  81. package/dist/src/scan-score.d.ts.map +1 -1
  82. package/dist/src/utils/gif.d.ts +61 -0
  83. package/dist/src/utils/gif.d.ts.map +1 -0
  84. package/dist/src/utils/ico.d.ts +30 -0
  85. package/dist/src/utils/ico.d.ts.map +1 -0
  86. package/dist/src/utils/parse-color.d.ts +1 -1
  87. package/dist/src/utils/parse-color.d.ts.map +1 -1
  88. package/dist/src/utils/print-shared.d.ts.map +1 -1
  89. package/dist/src/utils/svg-painter.d.ts +13 -0
  90. package/dist/src/utils/svg-painter.d.ts.map +1 -1
  91. package/dist/src/utils.d.ts.map +1 -1
  92. package/dist/src/vanilla-api.d.ts +2 -2
  93. package/dist/src/vanilla-api.d.ts.map +1 -1
  94. package/dist/src/vue.d.ts +1 -1
  95. package/dist/src/vue.d.ts.map +1 -1
  96. package/dist/types/constants.d.ts +41 -0
  97. package/dist/types/constants.d.ts.map +1 -1
  98. package/dist/types/index.js +2 -2
  99. package/dist/types/index.js.map +1 -1
  100. package/dist/types/index.mjs +2 -2
  101. package/dist/types/index.mjs.map +1 -1
  102. package/dist/types/plain.d.ts +2 -2
  103. package/dist/types/plain.d.ts.map +1 -1
  104. package/dist/types/qr.d.ts +399 -1
  105. package/dist/types/qr.d.ts.map +1 -1
  106. package/dist/types/react.d.ts +10 -1
  107. package/dist/types/react.d.ts.map +1 -1
  108. package/dist/types/schemas.d.ts +1 -1
  109. package/dist/types/schemas.d.ts.map +1 -1
  110. package/dist/vanilla.browser.mjs +34 -34
  111. package/dist/vanilla.browser.mjs.map +1 -1
  112. package/dist/vue.js +1 -1
  113. package/dist/vue.js.map +1 -1
  114. package/dist/vue.mjs +1 -1
  115. package/dist/vue.mjs.map +1 -1
  116. package/package.json +6 -2
  117. package/src/angular.ts +14 -2
  118. package/src/download.tsx +92 -7
  119. package/src/element.ts +16 -1
  120. package/src/engine.ts +22 -0
  121. package/src/eps.ts +8 -1
  122. package/src/export.ts +16 -0
  123. package/src/frame.tsx +51 -0
  124. package/src/frames/catalogue/all.ts +202 -0
  125. package/src/frames/catalogue/batches.ts +114 -0
  126. package/src/frames/catalogue/call-to-action.ts +58 -0
  127. package/src/frames/catalogue/counts.ts +4 -2
  128. package/src/frames/catalogue/index.ts +808 -0
  129. package/src/frames/catalogue/objects.ts +65 -0
  130. package/src/frames/catalogue/playful.ts +97 -0
  131. package/src/frames/catalogue/tags.ts +137 -0
  132. package/src/frames/collections.ts +2 -0
  133. package/src/frames/official/badge-bottom-light.json +91 -0
  134. package/src/frames/official/badge-bottom.json +79 -0
  135. package/src/frames/official/billboard-campaign.json +274 -0
  136. package/src/frames/official/billboard-light.json +287 -0
  137. package/src/frames/official/bookmark-light.json +88 -0
  138. package/src/frames/official/bookmark-strip.json +83 -0
  139. package/src/frames/official/border-medium.json +71 -0
  140. package/src/frames/official/border-thick.json +71 -0
  141. package/src/frames/official/border-thin.json +71 -0
  142. package/src/frames/official/bottle-label.json +136 -0
  143. package/src/frames/official/bottle-light.json +133 -0
  144. package/src/frames/official/camera-viewfinder.json +174 -0
  145. package/src/frames/official/cassette-tape.json +236 -0
  146. package/src/frames/official/cat-with-card-light.json +246 -0
  147. package/src/frames/official/cat-with-card.json +234 -0
  148. package/src/frames/official/cinema-marquee.json +537 -0
  149. package/src/frames/official/circle-viewfinder.json +87 -0
  150. package/src/frames/official/clapperboard-light.json +163 -0
  151. package/src/frames/official/clapperboard-scene.json +151 -0
  152. package/src/frames/official/comic-panel.json +386 -0
  153. package/src/frames/official/corner-tab-light.json +101 -0
  154. package/src/frames/official/corner-tab.json +89 -0
  155. package/src/frames/official/crystal-ball.json +105 -0
  156. package/src/frames/official/delivery-box-light.json +132 -0
  157. package/src/frames/official/delivery-box-track.json +132 -0
  158. package/src/frames/official/fish-tank.json +276 -0
  159. package/src/frames/official/flag-light.json +136 -0
  160. package/src/frames/official/flag-team.json +127 -0
  161. package/src/frames/official/floppy-disk.json +106 -0
  162. package/src/frames/official/flying-saucer.json +128 -0
  163. package/src/frames/official/gallery-frame.json +195 -0
  164. package/src/frames/official/globe-stand.json +136 -0
  165. package/src/frames/official/gumball-machine.json +451 -0
  166. package/src/frames/official/heart-light.json +59 -0
  167. package/src/frames/official/heart-scan.json +51 -0
  168. package/src/frames/official/hexagon-light.json +87 -0
  169. package/src/frames/official/hexagon-scan.json +72 -0
  170. package/src/frames/official/hot-air-balloon.json +132 -0
  171. package/src/frames/official/jigsaw-piece-light.json +68 -0
  172. package/src/frames/official/jigsaw-piece.json +60 -0
  173. package/src/frames/official/laptop-screen.json +137 -0
  174. package/src/frames/official/lighthouse-tower.json +132 -0
  175. package/src/frames/official/magnifying-glass.json +85 -0
  176. package/src/frames/official/mailbox-flag.json +112 -0
  177. package/src/frames/official/mailbox-light.json +120 -0
  178. package/src/frames/official/map-pin-light.json +76 -0
  179. package/src/frames/official/map-pin.json +58 -0
  180. package/src/frames/official/matchbox-drawer.json +170 -0
  181. package/src/frames/official/microwave-door.json +220 -0
  182. package/src/frames/official/milk-carton.json +129 -0
  183. package/src/frames/official/monitor-screen.json +111 -0
  184. package/src/frames/official/monster-mouth.json +180 -0
  185. package/src/frames/official/mug-light.json +138 -0
  186. package/src/frames/official/mug-refill.json +125 -0
  187. package/src/frames/official/museum-plaque-light.json +187 -0
  188. package/src/frames/official/museum-plaque.json +187 -0
  189. package/src/frames/official/music-player-light.json +151 -0
  190. package/src/frames/official/music-player.json +136 -0
  191. package/src/frames/official/octagon-light.json +126 -0
  192. package/src/frames/official/octagon-sign.json +120 -0
  193. package/src/frames/official/open-book.json +156 -0
  194. package/src/frames/official/parking-meter.json +107 -0
  195. package/src/frames/official/passport-stamp.json +132 -0
  196. package/src/frames/official/pizza-box.json +122 -0
  197. package/src/frames/official/polka-dot-border.json +502 -0
  198. package/src/frames/official/popcorn-bucket.json +305 -0
  199. package/src/frames/official/porthole.json +264 -0
  200. package/src/frames/official/raised-card-thin.json +111 -0
  201. package/src/frames/official/raised-card.json +99 -0
  202. package/src/frames/official/retro-radio.json +180 -0
  203. package/src/frames/official/ribbon-top-light.json +125 -0
  204. package/src/frames/official/ribbon-top.json +113 -0
  205. package/src/frames/official/robot-chest.json +197 -0
  206. package/src/frames/official/roll-up-banner-light.json +137 -0
  207. package/src/frames/official/roll-up-banner.json +125 -0
  208. package/src/frames/official/round-tag-light.json +86 -0
  209. package/src/frames/official/round-tag.json +79 -0
  210. package/src/frames/official/sailboat-sail.json +99 -0
  211. package/src/frames/official/scroll-story.json +184 -0
  212. package/src/frames/official/sketch-border.json +92 -0
  213. package/src/frames/official/sketch-circle.json +57 -0
  214. package/src/frames/official/snow-globe.json +170 -0
  215. package/src/frames/official/soda-can.json +160 -0
  216. package/src/frames/official/spin-rays.json +126 -0
  217. package/src/frames/official/spiral-notebook.json +476 -0
  218. package/src/frames/official/stage-curtains.json +303 -0
  219. package/src/frames/official/starburst-light.json +128 -0
  220. package/src/frames/official/starburst.json +118 -0
  221. package/src/frames/official/swirl-border.json +122 -0
  222. package/src/frames/official/tablet-screen.json +130 -0
  223. package/src/frames/official/text-frame.json +79 -0
  224. package/src/frames/official/toaster-toast.json +114 -0
  225. package/src/frames/official/train-window.json +176 -0
  226. package/src/frames/official/treasure-map.json +207 -0
  227. package/src/frames/official/tv-set.json +256 -0
  228. package/src/frames/official/vending-machine.json +218 -0
  229. package/src/frames/official/video-player.json +118 -0
  230. package/src/frames/official/video-tape.json +137 -0
  231. package/src/frames/official/vinyl-sleeve-light.json +139 -0
  232. package/src/frames/official/vinyl-sleeve.json +127 -0
  233. package/src/frames/official/washing-machine.json +146 -0
  234. package/src/frames/official-types.ts +3 -1
  235. package/src/frames/official.ts +4 -3
  236. package/src/gif.ts +188 -0
  237. package/src/helpers.ts +12 -0
  238. package/src/ico.ts +55 -0
  239. package/src/index.tsx +2 -0
  240. package/src/looks.ts +467 -0
  241. package/src/plain.tsx +6 -0
  242. package/src/print.ts +12 -0
  243. package/src/qr-code-canvas.tsx +23 -2
  244. package/src/qr-code-props.ts +54 -19
  245. package/src/qr-code.tsx +7 -39
  246. package/src/qr-frame-svg.tsx +26 -0
  247. package/src/scan-score.ts +38 -6
  248. package/src/utils/gif.ts +632 -0
  249. package/src/utils/ico.ts +150 -0
  250. package/src/utils/parse-color.ts +163 -23
  251. package/src/utils/print-shared.ts +25 -1
  252. package/src/utils/svg-painter.ts +18 -0
  253. package/src/utils.tsx +136 -17
  254. package/src/vanilla-api.ts +2 -2
  255. package/src/vue.ts +7 -1
  256. package/types/constants.ts +47 -0
  257. package/types/plain.ts +19 -0
  258. package/types/qr.ts +98 -0
  259. package/types/react.ts +11 -1
  260. package/types/schemas.ts +5 -0
@@ -0,0 +1,184 @@
1
+ {
2
+ "id": "scroll-story",
3
+ "name": "Scroll",
4
+ "description": "A parchment scroll with rolled ends top and bottom.",
5
+ "category": "use-case",
6
+ "collection": "call-to-action",
7
+ "contentTypes": [],
8
+ "tags": ["call to action", "scroll", "parchment", "story"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1480,
15
+ "height": 1940
16
+ },
17
+ "qr": {
18
+ "x": 240,
19
+ "y": 430,
20
+ "size": 1000,
21
+ "padding": 80,
22
+ "radius": 24
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff"
27
+ },
28
+ "shapes": [
29
+ {
30
+ "type": "rect",
31
+ "x": 150,
32
+ "y": 170,
33
+ "width": 1180,
34
+ "height": 1600,
35
+ "fill": {
36
+ "mix": ["frame", "background"],
37
+ "amount": 0.92
38
+ }
39
+ },
40
+ {
41
+ "type": "rect",
42
+ "x": 150,
43
+ "y": 170,
44
+ "width": 1180,
45
+ "height": 28,
46
+ "fill": {
47
+ "mix": ["frame", "background"],
48
+ "amount": 0.7
49
+ }
50
+ },
51
+ {
52
+ "type": "rect",
53
+ "x": 150,
54
+ "y": 1742,
55
+ "width": 1180,
56
+ "height": 28,
57
+ "fill": {
58
+ "mix": ["frame", "background"],
59
+ "amount": 0.7
60
+ }
61
+ },
62
+ {
63
+ "type": "rect",
64
+ "x": 0,
65
+ "y": 0,
66
+ "width": 1480,
67
+ "height": 200,
68
+ "radius": 100,
69
+ "fill": "frame"
70
+ },
71
+ {
72
+ "type": "rect",
73
+ "x": 60,
74
+ "y": 40,
75
+ "width": 1360,
76
+ "height": 36,
77
+ "radius": 18,
78
+ "fill": {
79
+ "mix": ["frame", "background"],
80
+ "amount": 0.35
81
+ }
82
+ },
83
+ {
84
+ "type": "circle",
85
+ "cx": 100,
86
+ "cy": 100,
87
+ "r": 58,
88
+ "fill": {
89
+ "mix": ["frame", "background"],
90
+ "amount": 0.55
91
+ }
92
+ },
93
+ {
94
+ "type": "circle",
95
+ "cx": 1380,
96
+ "cy": 100,
97
+ "r": 58,
98
+ "fill": {
99
+ "mix": ["frame", "background"],
100
+ "amount": 0.55
101
+ }
102
+ },
103
+ {
104
+ "type": "rect",
105
+ "x": 0,
106
+ "y": 1740,
107
+ "width": 1480,
108
+ "height": 200,
109
+ "radius": 100,
110
+ "fill": "frame"
111
+ },
112
+ {
113
+ "type": "rect",
114
+ "x": 60,
115
+ "y": 1780,
116
+ "width": 1360,
117
+ "height": 36,
118
+ "radius": 18,
119
+ "fill": {
120
+ "mix": ["frame", "background"],
121
+ "amount": 0.35
122
+ }
123
+ },
124
+ {
125
+ "type": "circle",
126
+ "cx": 100,
127
+ "cy": 1840,
128
+ "r": 58,
129
+ "fill": {
130
+ "mix": ["frame", "background"],
131
+ "amount": 0.55
132
+ }
133
+ },
134
+ {
135
+ "type": "circle",
136
+ "cx": 1380,
137
+ "cy": 1840,
138
+ "r": 58,
139
+ "fill": {
140
+ "mix": ["frame", "background"],
141
+ "amount": 0.55
142
+ }
143
+ },
144
+ {
145
+ "type": "rect",
146
+ "x": 210,
147
+ "y": 1550,
148
+ "width": 1060,
149
+ "height": 170,
150
+ "radius": 85,
151
+ "fill": "frame"
152
+ }
153
+ ],
154
+ "labels": [
155
+ {
156
+ "type": "text",
157
+ "id": "cta",
158
+ "slot": "primary",
159
+ "text": "Scan to read more",
160
+ "color": "text",
161
+ "box": {
162
+ "x": 278,
163
+ "y": 1550,
164
+ "width": 924,
165
+ "height": 170
166
+ }
167
+ },
168
+ {
169
+ "type": "text",
170
+ "id": "note",
171
+ "slot": "secondary",
172
+ "text": "Unroll the story",
173
+ "color": "frame",
174
+ "box": {
175
+ "x": 230,
176
+ "y": 230,
177
+ "width": 1020,
178
+ "height": 100
179
+ },
180
+ "weight": "regular"
181
+ }
182
+ ]
183
+ }
184
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "id": "sketch-border",
3
+ "name": "Sketched border",
4
+ "description": "A light card with a sketched border: two wobbly hand-drawn outlines.",
5
+ "category": "use-case",
6
+ "collection": "call-to-action",
7
+ "contentTypes": [],
8
+ "tags": ["call to action", "pattern", "sketch", "hand-drawn", "border"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1400,
15
+ "height": 1810
16
+ },
17
+ "qr": {
18
+ "x": 200,
19
+ "y": 370,
20
+ "size": 1000,
21
+ "padding": 80,
22
+ "radius": 24
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff",
27
+ "accent": "#8a8a8a"
28
+ },
29
+ "shapes": [
30
+ {
31
+ "type": "rect",
32
+ "x": 0,
33
+ "y": 0,
34
+ "width": 1400,
35
+ "height": 1810,
36
+ "radius": 40,
37
+ "fill": "background"
38
+ },
39
+ {
40
+ "type": "path",
41
+ "d": "M46.01 45.95L139.03 45.71L232.63 58.46L326.34 52.66L419.8 56.65L513.17 50.06L606.74 55.94L699.95 44.91L792.98 57.41L887.21 58.95L980.3 46.35L1073.74 58.64L1167.34 45.59L1260.36 52.45L1344.76 49.71L1350.8 168.7L1342.7 291.19L1341.18 414.32L1350.02 537.12L1352.14 659.64L1352.77 782.06L1342.82 904.81L1345.07 1027.75L1344.46 1150.31L1340.41 1273.13L1343.83 1396.05L1348.2 1518.64L1346.75 1641.28L1349.2 1758.4L1260.42 1758.02L1167.35 1760.69L1073.91 1751.56L980.26 1754.61L886.99 1752.36L793.5 1750.45L699.72 1750.24L606.37 1759.2L513.03 1756.48L419.52 1762.8L326.29 1762.62L233.23 1762.64L139.58 1750.85L49.56 1760.15L48.83 1641.22L48.27 1518.75L56.11 1395.77L44.67 1272.92L46.95 1150.79L59.45 1027.8L50.45 904.69L46.75 782.51L59.58 659.75L54.1 536.83L58.46 414.1L52.27 291.12L45.89 168.71L51.99 40.24A6 6 0 0 1 40.01 39.67L33.89 168.72L40.29 291.74L46.46 414.19L42.1 536.88L47.58 659.39L34.76 782.06L38.47 905.31L47.46 1027.63L34.97 1150.07L32.68 1273.37L44.11 1395.95L36.27 1518.39L36.83 1641.35L40.35 1767.85L139.28 1762.85L232.48 1774.61L326.28 1774.62L419.91 1774.79L513.26 1768.47L606.77 1771.2L700.28 1762.23L793.36 1762.45L886.72 1764.35L980.31 1766.61L1073.52 1763.55L1166.94 1772.69L1260.72 1770.02L1358.8 1765.61L1358.75 1641.29L1360.19 1518.5L1355.82 1395.67L1352.41 1273.16L1356.46 1150.54L1357.07 1027.67L1354.81 905.19L1364.76 782.51L1364.14 659.5L1362 536.59L1353.17 413.96L1354.69 291.66L1362.8 168.73L1354.19 42.29L1260.78 40.46L1166.94 33.6L1073.69 46.64L980.28 34.35L886.5 46.97L793.88 45.44L700.05 32.91L606.41 43.94L513.12 38.06L419.63 44.66L326.23 40.66L233.08 46.47L139.83 33.74L45.99 33.96A6 6 0 0 1 46.01 45.95Z",
42
+ "fill": "frame"
43
+ },
44
+ {
45
+ "type": "path",
46
+ "d": "M76.55 84.47L165.35 72.13L254.03 75.4L343.21 83.64L432.48 85.28L521.82 87.82L610.98 80.48L699.84 82.33L789.16 87.78L878.46 81.47L967.51 80.02L1056.46 77.71L1145.62 85.12L1234.98 81.93L1316.02 78.47L1322.06 194.38L1312.1 312.7L1312.72 431.34L1315.6 549.96L1327.38 668.14L1315.41 786.47L1321.12 905.02L1316.6 1023.45L1322.36 1141.91L1319.51 1260.35L1326.1 1378.85L1327.44 1497.1L1323.58 1615.45L1320.78 1731.33L1234.71 1737.2L1145.71 1736.29L1056.6 1737.51L967.5 1734.88L878.24 1734.37L789.34 1736.74L700.05 1725.69L610.89 1734.38L521.72 1724.01L432.52 1734.23L343.51 1726.49L254.29 1730.53L165.16 1726.26L85.71 1731.57L81.27 1615.53L83.94 1497.25L87.66 1378.69L82.7 1260.08L75.18 1141.71L74.12 1023.5L79.29 905.21L86.7 786.45L72.04 668.09L83.72 549.82L78.36 431.15L75.9 312.88L79.85 194.5L80 80.51A4 4 0 0 1 72 80.5L71.85 194.36L67.9 312.83L70.37 431.42L75.72 549.61L64.04 668.19L78.7 786.69L71.3 904.79L66.12 1023.36L67.19 1142L74.71 1260.5L79.66 1378.74L75.95 1497.04L73.27 1615.62L79.36 1736.43L165.13 1734.26L254.28 1738.53L343.35 1734.49L432.63 1742.23L521.71 1732.01L610.82 1742.38L699.95 1733.69L788.95 1744.73L878.33 1742.37L967.36 1742.88L1056.54 1745.51L1145.72 1744.29L1235 1745.2L1327.22 1736.08L1331.58 1615.7L1335.44 1497.19L1334.1 1378.58L1327.51 1260.22L1330.36 1141.81L1324.6 1023.41L1329.12 904.98L1323.4 786.68L1335.38 668.15L1323.59 549.47L1320.72 431.23L1320.1 313.01L1330.05 194.48L1322.32 73.53L1234.74 73.94L1145.81 77.12L1056.69 69.71L967.34 72.02L878.11 73.47L789.12 79.78L700.16 74.34L610.73 72.48L521.61 79.82L432.67 77.29L343.65 75.65L254.54 67.42L164.94 64.14L75.45 76.55A4 4 0 0 1 76.55 84.47Z",
47
+ "fill": "accent"
48
+ },
49
+ {
50
+ "type": "rect",
51
+ "x": 120,
52
+ "y": 120,
53
+ "width": 1160,
54
+ "height": 1570,
55
+ "radius": 24,
56
+ "fill": {
57
+ "mix": ["frame", "background"],
58
+ "amount": 0.92
59
+ }
60
+ }
61
+ ],
62
+ "labels": [
63
+ {
64
+ "type": "text",
65
+ "id": "cta",
66
+ "slot": "primary",
67
+ "text": "Scan me",
68
+ "color": "frame",
69
+ "box": {
70
+ "x": 180,
71
+ "y": 1480,
72
+ "width": 1040,
73
+ "height": 170
74
+ }
75
+ },
76
+ {
77
+ "type": "text",
78
+ "id": "note",
79
+ "slot": "secondary",
80
+ "text": "Drawn by hand",
81
+ "color": "frame",
82
+ "box": {
83
+ "x": 200,
84
+ "y": 170,
85
+ "width": 1000,
86
+ "height": 100
87
+ },
88
+ "weight": "regular"
89
+ }
90
+ ]
91
+ }
92
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "id": "sketch-circle",
3
+ "name": "Sketched circle",
4
+ "description": "A hand-sketched circle: two wobbly rings around the code, the label below.",
5
+ "category": "use-case",
6
+ "collection": "call-to-action",
7
+ "contentTypes": [],
8
+ "tags": ["call to action", "sketch", "circle", "hand-drawn"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1700,
15
+ "height": 1920
16
+ },
17
+ "qr": {
18
+ "x": 420,
19
+ "y": 400,
20
+ "size": 860,
21
+ "padding": 68.8,
22
+ "radius": 20.64
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff",
27
+ "accent": "#8a8a8a"
28
+ },
29
+ "shapes": [
30
+ {
31
+ "type": "path",
32
+ "d": "M1566.65 1136.07L1552.85 1202.98L1508.42 1254.81L1468.74 1311.89L1423.55 1362.64L1372.77 1408.47L1320.45 1452.01L1264.12 1487.76L1198.31 1511.95L1142.39 1553.53L1079.96 1570.71L1010.51 1572.47L942.71 1585.5L876.56 1599.49L810.32 1602.99L744.35 1595.19L678.35 1577.51L611.05 1566.41L548.86 1543.31L487.79 1510.1L419 1491.62L363.6 1454.54L312.7 1407.26L260.25 1363.55L226.69 1301.63L179.01 1249.3L144.67 1190.33L114.72 1129.33L101.79 1061.08L84.22 995.42L86.6 926.77L84.91 857.69L80.45 791.22L95.59 725.83L105.83 658.64L119.99 592.79L137.55 528.14L166.52 469L207.64 415.74L249.92 362.5L290.31 309.07L338.88 262L382.62 209.52L439.09 172.12L492.68 127L551.81 94.62L618.2 75.04L683.09 52.39L752.55 50.61L821.46 41.06L890.33 44.3L958.91 45.49L1023.15 64.27L1085.88 97.7L1153.69 114.9L1215.84 140.18L1271.77 174.34L1315.44 229.19L1367.84 272.89L1414.34 322.87L1470.96 362.11L1500.64 419.9L1527.05 484.73L1570.1 539.19L1587.27 603.84L1613.16 668.2L1629.17 732.2L1620.37 801.46L1629.23 870.09L1616.84 937.17L1614.95 1006.56L1596.46 1070.68L1567.08 1134.49L1551.65 1206.44A15 15 0 0 1 1580.99 1212.69L1595.56 1143.91L1624.58 1081.14L1644.6 1011.15L1646.67 940.29L1659.22 870.88L1650.37 801.44L1659.12 730.48L1641.71 658.99L1615.72 594.31L1596.88 525.68L1552.97 469.63L1527.87 407.31L1493.45 342.26L1433.99 300.2L1388.47 251.11L1336.92 208.25L1291.68 151.91L1229.39 113.42L1163.04 86.39L1096.73 69.73L1034.48 36.49L963.44 15.83L891.31 14.31L820.1 11.09L750.09 20.71L677.71 22.88L609.03 46.47L540.29 66.93L475.74 102.24L421.08 148.12L362.59 187.19L316.9 241.59L267.84 289.18L226.21 344.11L184.01 397.26L141.04 453.17L109.48 517.55L90.84 585.69L76.32 653.22L66.13 720.21L50.55 788.8L54.94 859.02L56.6 926.64L54.41 998.79L72.54 1067.74L86.26 1138.8L118.22 1204.49L154.84 1267.08L202.25 1319.02L237.01 1382.52L292.85 1429.75L345.02 1478.1L406.66 1518.96L476.7 1537.97L536.43 1570.61L603.35 1595.41L672.02 1606.83L738.7 1624.66L809.34 1632.98L880.46 1629.24L948.65 1614.9L1013.72 1602.29L1084.38 1600.38L1155.59 1580.47L1212.57 1538.34L1277.38 1514.67L1338.11 1476.27L1392.41 1431.14L1444.84 1383.78L1492.3 1330.46L1532.2 1273.09L1579.8 1216.16L1595.99 1142.32A15 15 0 0 1 1566.65 1136.07Z",
33
+ "fill": "frame"
34
+ },
35
+ {
36
+ "type": "path",
37
+ "d": "M471.02 1479.54L417.95 1441.14L372.15 1392.99L317.1 1356.25L275.27 1306.71L233.77 1257.43L213.93 1192.84L172.81 1140.65L153.51 1080.38L148.76 1014.64L135.26 951.84L126.3 888.84L118.68 825.36L118.34 761.12L118.86 696.27L132.38 632.87L145.28 568.34L167.67 507.33L203.52 451.4L228.51 388.87L270.28 339.47L327.07 301.97L371.75 252.25L419.6 207.85L478.21 177.76L534.2 143.74L599.52 129.71L658.38 99.77L724.48 102.23L790.79 100.35L854.98 83.2L918.19 87.94L980.79 110.1L1045.23 116.1L1102.03 149.02L1165.4 163.21L1215.67 204.32L1274.89 231.51L1326.3 269.83L1380.16 306.53L1423 354.95L1465.95 404.04L1499.18 460.06L1531.17 517.88L1566.07 573.55L1569.33 641.65L1601.26 702.66L1603.98 767.95L1606.26 834.27L1603.86 899.56L1583.44 963.37L1577.09 1028.62L1540.61 1085.43L1526.99 1149.77L1479.3 1196.76L1445.65 1252.75L1412.26 1306.91L1361.46 1346.73L1317.1 1392.97L1262.73 1427.67L1217.37 1474.83L1153.73 1491.58L1100.9 1532.69L1035.54 1540.27L975.74 1573.97L911.44 1580.31L846.32 1583.97L781.32 1570.56L714.78 1566.85L648.37 1563.6L586.88 1542.66L530.42 1506.51L470.36 1479.1L417.38 1440.68A8 8 0 0 1 407.99 1453.64L462.3 1492.93L522.76 1520.55L579.94 1557.07L645.37 1579.31L713.93 1582.83L779.25 1586.42L845.14 1599.93L912.68 1596.26L980.63 1589.2L1040.55 1555.46L1107 1547.48L1160.85 1505.91L1225.47 1488.63L1272.87 1440.05L1327.24 1405.35L1372.2 1358.59L1424.18 1317.58L1459.31 1261.08L1491.86 1206.68L1541 1157.49L1555.39 1091.55L1592.19 1033.91L1599.11 966.62L1619.62 902.33L1622.26 834.3L1619.97 767.32L1616.7 698.45L1584.77 637.44L1581.35 568.81L1544.96 509.78L1513.06 452.1L1478.91 394.65L1435.01 344.38L1390.73 294.52L1335.58 256.8L1283.04 217.74L1224.13 190.74L1172.4 148.82L1107.87 134.12L1050.11 100.87L984.26 94.48L921.49 72.29L853.48 67.27L788.48 84.51L724.54 86.23L654.96 84.14L594.19 114.63L528.3 128.87L470.41 163.8L410.42 194.74L360.35 241.03L316.65 289.84L259.66 327.5L214.79 380.64L189.29 444.09L153.34 500.21L129.88 564L116.71 629.63L102.95 694.53L102.34 761.1L102.71 826.35L110.43 890.92L119.51 954.65L132.92 1016.89L137.81 1083.42L158.69 1148.18L199.75 1200.24L219.69 1265.04L263.03 1317.02L306.46 1368.19L361.85 1405.23L407.42 1453.18L461.64 1492.49A8 8 0 0 1 471.02 1479.54Z",
38
+ "fill": "accent"
39
+ }
40
+ ],
41
+ "labels": [
42
+ {
43
+ "type": "text",
44
+ "id": "cta",
45
+ "slot": "primary",
46
+ "text": "Scan me",
47
+ "color": "frame",
48
+ "box": {
49
+ "x": 150,
50
+ "y": 1700,
51
+ "width": 1400,
52
+ "height": 170
53
+ }
54
+ }
55
+ ]
56
+ }
57
+ }
@@ -0,0 +1,170 @@
1
+ {
2
+ "id": "snow-globe",
3
+ "name": "Snow globe",
4
+ "description": "A snow globe: the code in the glass with snow falling, the label on the base.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "snow", "globe", "winter", "gift"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1600,
15
+ "height": 1880
16
+ },
17
+ "qr": {
18
+ "x": 370,
19
+ "y": 320,
20
+ "size": 860,
21
+ "padding": 68.8,
22
+ "radius": 20.64
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff"
27
+ },
28
+ "shapes": [
29
+ {
30
+ "type": "circle",
31
+ "cx": 800,
32
+ "cy": 790,
33
+ "r": 770,
34
+ "fill": "frame"
35
+ },
36
+ {
37
+ "type": "circle",
38
+ "cx": 800,
39
+ "cy": 790,
40
+ "r": 730,
41
+ "fill": {
42
+ "mix": ["frame", "background"],
43
+ "amount": 0.94
44
+ }
45
+ },
46
+ {
47
+ "type": "ellipse",
48
+ "cx": 800,
49
+ "cy": 1350,
50
+ "rx": 380,
51
+ "ry": 110,
52
+ "fill": "background"
53
+ },
54
+ {
55
+ "type": "ellipse",
56
+ "cx": 500,
57
+ "cy": 370,
58
+ "rx": 150,
59
+ "ry": 70,
60
+ "fill": "background"
61
+ },
62
+ {
63
+ "type": "circle",
64
+ "cx": 240,
65
+ "cy": 590,
66
+ "r": 14,
67
+ "fill": "frame"
68
+ },
69
+ {
70
+ "type": "circle",
71
+ "cx": 180,
72
+ "cy": 850,
73
+ "r": 20,
74
+ "fill": "frame"
75
+ },
76
+ {
77
+ "type": "circle",
78
+ "cx": 300,
79
+ "cy": 1090,
80
+ "r": 26,
81
+ "fill": "frame"
82
+ },
83
+ {
84
+ "type": "circle",
85
+ "cx": 1360,
86
+ "cy": 640,
87
+ "r": 14,
88
+ "fill": "frame"
89
+ },
90
+ {
91
+ "type": "circle",
92
+ "cx": 1420,
93
+ "cy": 890,
94
+ "r": 20,
95
+ "fill": "frame"
96
+ },
97
+ {
98
+ "type": "circle",
99
+ "cx": 1320,
100
+ "cy": 1120,
101
+ "r": 26,
102
+ "fill": "frame"
103
+ },
104
+ {
105
+ "type": "circle",
106
+ "cx": 600,
107
+ "cy": 150,
108
+ "r": 14,
109
+ "fill": "frame"
110
+ },
111
+ {
112
+ "type": "circle",
113
+ "cx": 950,
114
+ "cy": 130,
115
+ "r": 20,
116
+ "fill": "frame"
117
+ },
118
+ {
119
+ "type": "circle",
120
+ "cx": 1200,
121
+ "cy": 250,
122
+ "r": 26,
123
+ "fill": "frame"
124
+ },
125
+ {
126
+ "type": "circle",
127
+ "cx": 350,
128
+ "cy": 310,
129
+ "r": 14,
130
+ "fill": "frame"
131
+ },
132
+ {
133
+ "type": "rect",
134
+ "x": 380,
135
+ "y": 1480,
136
+ "width": 840,
137
+ "height": 120,
138
+ "radius": 20,
139
+ "fill": {
140
+ "mix": ["frame", "#000000"],
141
+ "amount": 0.35
142
+ }
143
+ },
144
+ {
145
+ "type": "rect",
146
+ "x": 240,
147
+ "y": 1580,
148
+ "width": 1120,
149
+ "height": 300,
150
+ "radius": 60,
151
+ "fill": "frame"
152
+ }
153
+ ],
154
+ "labels": [
155
+ {
156
+ "type": "text",
157
+ "id": "cta",
158
+ "slot": "primary",
159
+ "text": "Scan to shake it",
160
+ "color": "text",
161
+ "box": {
162
+ "x": 320,
163
+ "y": 1640,
164
+ "width": 960,
165
+ "height": 170
166
+ }
167
+ }
168
+ ]
169
+ }
170
+ }
@@ -0,0 +1,160 @@
1
+ {
2
+ "id": "soda-can",
3
+ "name": "Drinks can",
4
+ "description": "A drinks can with a pull tab, the code on its label.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "can", "drink", "soda", "refresh"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1300,
15
+ "height": 2000
16
+ },
17
+ "qr": {
18
+ "x": 200,
19
+ "y": 532,
20
+ "size": 900,
21
+ "padding": 72,
22
+ "radius": 21.6
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff",
27
+ "accent": "#111111"
28
+ },
29
+ "shapes": [
30
+ {
31
+ "type": "rect",
32
+ "x": 40,
33
+ "y": 120,
34
+ "width": 1220,
35
+ "height": 1880,
36
+ "radius": 100,
37
+ "fill": "frame"
38
+ },
39
+ {
40
+ "type": "rect",
41
+ "x": 0,
42
+ "y": 160,
43
+ "width": 1300,
44
+ "height": 60,
45
+ "radius": 30,
46
+ "fill": {
47
+ "mix": ["frame", "#000000"],
48
+ "amount": 0.3
49
+ }
50
+ },
51
+ {
52
+ "type": "rect",
53
+ "x": 0,
54
+ "y": 1940,
55
+ "width": 1300,
56
+ "height": 60,
57
+ "radius": 30,
58
+ "fill": {
59
+ "mix": ["frame", "#000000"],
60
+ "amount": 0.3
61
+ }
62
+ },
63
+ {
64
+ "type": "ellipse",
65
+ "cx": 650,
66
+ "cy": 150,
67
+ "rx": 560,
68
+ "ry": 110,
69
+ "fill": {
70
+ "mix": ["frame", "#000000"],
71
+ "amount": 0.35
72
+ }
73
+ },
74
+ {
75
+ "type": "ellipse",
76
+ "cx": 650,
77
+ "cy": 150,
78
+ "rx": 500,
79
+ "ry": 80,
80
+ "fill": {
81
+ "mix": ["frame", "background"],
82
+ "amount": 0.5
83
+ }
84
+ },
85
+ {
86
+ "type": "rect",
87
+ "x": 610,
88
+ "y": 60,
89
+ "width": 80,
90
+ "height": 170,
91
+ "radius": 30,
92
+ "fill": "frame"
93
+ },
94
+ {
95
+ "type": "rect",
96
+ "x": 624,
97
+ "y": 76,
98
+ "width": 52,
99
+ "height": 60,
100
+ "radius": 20,
101
+ "fill": {
102
+ "mix": ["frame", "background"],
103
+ "amount": 0.5
104
+ }
105
+ },
106
+ {
107
+ "type": "rect",
108
+ "x": 100,
109
+ "y": 400,
110
+ "width": 1100,
111
+ "height": 1354,
112
+ "radius": 40,
113
+ "fill": {
114
+ "mix": ["frame", "background"],
115
+ "amount": 0.92
116
+ }
117
+ },
118
+ {
119
+ "type": "rect",
120
+ "x": 100,
121
+ "y": 400,
122
+ "width": 1100,
123
+ "height": 44,
124
+ "fill": "accent"
125
+ },
126
+ {
127
+ "type": "rect",
128
+ "x": 100,
129
+ "y": 1710,
130
+ "width": 1100,
131
+ "height": 44,
132
+ "fill": "accent"
133
+ },
134
+ {
135
+ "type": "rect",
136
+ "x": 160,
137
+ "y": 1534,
138
+ "width": 980,
139
+ "height": 160,
140
+ "radius": 80,
141
+ "fill": "frame"
142
+ }
143
+ ],
144
+ "labels": [
145
+ {
146
+ "type": "text",
147
+ "id": "cta",
148
+ "slot": "primary",
149
+ "text": "Scan for a refill",
150
+ "color": "text",
151
+ "box": {
152
+ "x": 224,
153
+ "y": 1534,
154
+ "width": 852,
155
+ "height": 160
156
+ }
157
+ }
158
+ ]
159
+ }
160
+ }