qrdx 0.0.56 → 0.0.58

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 (263) hide show
  1. package/README.md +27 -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/bmp.d.ts +7 -0
  38. package/dist/src/bmp.d.ts.map +1 -0
  39. package/dist/src/download.d.ts +39 -6
  40. package/dist/src/download.d.ts.map +1 -1
  41. package/dist/src/element.d.ts +10 -1
  42. package/dist/src/element.d.ts.map +1 -1
  43. package/dist/src/engine.d.ts +6 -2
  44. package/dist/src/engine.d.ts.map +1 -1
  45. package/dist/src/eps.d.ts.map +1 -1
  46. package/dist/src/export.d.ts.map +1 -1
  47. package/dist/src/frame.d.ts +24 -0
  48. package/dist/src/frame.d.ts.map +1 -1
  49. package/dist/src/frames/catalogue/all.d.ts.map +1 -1
  50. package/dist/src/frames/catalogue/batches.d.ts +6 -0
  51. package/dist/src/frames/catalogue/batches.d.ts.map +1 -0
  52. package/dist/src/frames/catalogue/call-to-action.d.ts.map +1 -1
  53. package/dist/src/frames/catalogue/counts.d.ts +4 -2
  54. package/dist/src/frames/catalogue/counts.d.ts.map +1 -1
  55. package/dist/src/frames/catalogue/index.d.ts.map +1 -1
  56. package/dist/src/frames/catalogue/objects.d.ts +5 -0
  57. package/dist/src/frames/catalogue/objects.d.ts.map +1 -0
  58. package/dist/src/frames/catalogue/playful.d.ts +5 -0
  59. package/dist/src/frames/catalogue/playful.d.ts.map +1 -0
  60. package/dist/src/frames/catalogue/tags.d.ts.map +1 -1
  61. package/dist/src/frames/collections.d.ts.map +1 -1
  62. package/dist/src/frames/official-types.d.ts +1 -1
  63. package/dist/src/frames/official-types.d.ts.map +1 -1
  64. package/dist/src/frames/official.d.ts.map +1 -1
  65. package/dist/src/gif.d.ts +40 -0
  66. package/dist/src/gif.d.ts.map +1 -0
  67. package/dist/src/helpers.d.ts +1 -1
  68. package/dist/src/helpers.d.ts.map +1 -1
  69. package/dist/src/ico.d.ts +11 -0
  70. package/dist/src/ico.d.ts.map +1 -0
  71. package/dist/src/index.d.ts +2 -1
  72. package/dist/src/index.d.ts.map +1 -1
  73. package/dist/src/looks.d.ts +101 -0
  74. package/dist/src/looks.d.ts.map +1 -0
  75. package/dist/src/plain.d.ts.map +1 -1
  76. package/dist/src/print.d.ts.map +1 -1
  77. package/dist/src/qr-code-canvas.d.ts.map +1 -1
  78. package/dist/src/qr-code-props.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/bmp.d.ts +18 -0
  83. package/dist/src/utils/bmp.d.ts.map +1 -0
  84. package/dist/src/utils/gif.d.ts +61 -0
  85. package/dist/src/utils/gif.d.ts.map +1 -0
  86. package/dist/src/utils/ico.d.ts +30 -0
  87. package/dist/src/utils/ico.d.ts.map +1 -0
  88. package/dist/src/utils/parse-color.d.ts +1 -1
  89. package/dist/src/utils/parse-color.d.ts.map +1 -1
  90. package/dist/src/utils/print-shared.d.ts.map +1 -1
  91. package/dist/src/utils/svg-painter.d.ts +13 -0
  92. package/dist/src/utils/svg-painter.d.ts.map +1 -1
  93. package/dist/src/utils.d.ts.map +1 -1
  94. package/dist/src/vanilla-api.d.ts +2 -2
  95. package/dist/src/vanilla-api.d.ts.map +1 -1
  96. package/dist/src/vue.d.ts +2 -2
  97. package/dist/src/vue.d.ts.map +1 -1
  98. package/dist/types/constants.d.ts +41 -0
  99. package/dist/types/constants.d.ts.map +1 -1
  100. package/dist/types/index.js +2 -2
  101. package/dist/types/index.js.map +1 -1
  102. package/dist/types/index.mjs +2 -2
  103. package/dist/types/index.mjs.map +1 -1
  104. package/dist/types/plain.d.ts +2 -2
  105. package/dist/types/plain.d.ts.map +1 -1
  106. package/dist/types/qr.d.ts +399 -1
  107. package/dist/types/qr.d.ts.map +1 -1
  108. package/dist/types/react.d.ts +10 -1
  109. package/dist/types/react.d.ts.map +1 -1
  110. package/dist/types/schemas.d.ts +1 -1
  111. package/dist/types/schemas.d.ts.map +1 -1
  112. package/dist/vanilla.browser.mjs +34 -34
  113. package/dist/vanilla.browser.mjs.map +1 -1
  114. package/dist/vue.js +1 -1
  115. package/dist/vue.js.map +1 -1
  116. package/dist/vue.mjs +1 -1
  117. package/dist/vue.mjs.map +1 -1
  118. package/package.json +6 -2
  119. package/src/angular.ts +14 -2
  120. package/src/bmp.ts +25 -0
  121. package/src/download.tsx +128 -8
  122. package/src/element.ts +16 -1
  123. package/src/engine.ts +23 -0
  124. package/src/eps.ts +8 -1
  125. package/src/export.ts +22 -0
  126. package/src/frame.tsx +51 -0
  127. package/src/frames/catalogue/all.ts +202 -0
  128. package/src/frames/catalogue/batches.ts +114 -0
  129. package/src/frames/catalogue/call-to-action.ts +58 -0
  130. package/src/frames/catalogue/counts.ts +4 -2
  131. package/src/frames/catalogue/index.ts +808 -0
  132. package/src/frames/catalogue/objects.ts +65 -0
  133. package/src/frames/catalogue/playful.ts +97 -0
  134. package/src/frames/catalogue/tags.ts +137 -0
  135. package/src/frames/collections.ts +2 -0
  136. package/src/frames/official/badge-bottom-light.json +91 -0
  137. package/src/frames/official/badge-bottom.json +79 -0
  138. package/src/frames/official/billboard-campaign.json +274 -0
  139. package/src/frames/official/billboard-light.json +287 -0
  140. package/src/frames/official/bookmark-light.json +88 -0
  141. package/src/frames/official/bookmark-strip.json +83 -0
  142. package/src/frames/official/border-medium.json +71 -0
  143. package/src/frames/official/border-thick.json +71 -0
  144. package/src/frames/official/border-thin.json +71 -0
  145. package/src/frames/official/bottle-label.json +136 -0
  146. package/src/frames/official/bottle-light.json +133 -0
  147. package/src/frames/official/camera-viewfinder.json +174 -0
  148. package/src/frames/official/cassette-tape.json +236 -0
  149. package/src/frames/official/cat-with-card-light.json +246 -0
  150. package/src/frames/official/cat-with-card.json +234 -0
  151. package/src/frames/official/cinema-marquee.json +537 -0
  152. package/src/frames/official/circle-viewfinder.json +87 -0
  153. package/src/frames/official/clapperboard-light.json +163 -0
  154. package/src/frames/official/clapperboard-scene.json +151 -0
  155. package/src/frames/official/comic-panel.json +386 -0
  156. package/src/frames/official/corner-tab-light.json +101 -0
  157. package/src/frames/official/corner-tab.json +89 -0
  158. package/src/frames/official/crystal-ball.json +105 -0
  159. package/src/frames/official/delivery-box-light.json +132 -0
  160. package/src/frames/official/delivery-box-track.json +132 -0
  161. package/src/frames/official/fish-tank.json +276 -0
  162. package/src/frames/official/flag-light.json +136 -0
  163. package/src/frames/official/flag-team.json +127 -0
  164. package/src/frames/official/floppy-disk.json +106 -0
  165. package/src/frames/official/flying-saucer.json +128 -0
  166. package/src/frames/official/gallery-frame.json +195 -0
  167. package/src/frames/official/globe-stand.json +136 -0
  168. package/src/frames/official/gumball-machine.json +451 -0
  169. package/src/frames/official/heart-light.json +59 -0
  170. package/src/frames/official/heart-scan.json +51 -0
  171. package/src/frames/official/hexagon-light.json +87 -0
  172. package/src/frames/official/hexagon-scan.json +72 -0
  173. package/src/frames/official/hot-air-balloon.json +132 -0
  174. package/src/frames/official/jigsaw-piece-light.json +68 -0
  175. package/src/frames/official/jigsaw-piece.json +60 -0
  176. package/src/frames/official/laptop-screen.json +137 -0
  177. package/src/frames/official/lighthouse-tower.json +132 -0
  178. package/src/frames/official/magnifying-glass.json +85 -0
  179. package/src/frames/official/mailbox-flag.json +112 -0
  180. package/src/frames/official/mailbox-light.json +120 -0
  181. package/src/frames/official/map-pin-light.json +76 -0
  182. package/src/frames/official/map-pin.json +58 -0
  183. package/src/frames/official/matchbox-drawer.json +170 -0
  184. package/src/frames/official/microwave-door.json +220 -0
  185. package/src/frames/official/milk-carton.json +129 -0
  186. package/src/frames/official/monitor-screen.json +111 -0
  187. package/src/frames/official/monster-mouth.json +180 -0
  188. package/src/frames/official/mug-light.json +138 -0
  189. package/src/frames/official/mug-refill.json +125 -0
  190. package/src/frames/official/museum-plaque-light.json +187 -0
  191. package/src/frames/official/museum-plaque.json +187 -0
  192. package/src/frames/official/music-player-light.json +151 -0
  193. package/src/frames/official/music-player.json +136 -0
  194. package/src/frames/official/octagon-light.json +126 -0
  195. package/src/frames/official/octagon-sign.json +120 -0
  196. package/src/frames/official/open-book.json +156 -0
  197. package/src/frames/official/parking-meter.json +107 -0
  198. package/src/frames/official/passport-stamp.json +132 -0
  199. package/src/frames/official/pizza-box.json +122 -0
  200. package/src/frames/official/polka-dot-border.json +502 -0
  201. package/src/frames/official/popcorn-bucket.json +305 -0
  202. package/src/frames/official/porthole.json +264 -0
  203. package/src/frames/official/raised-card-thin.json +111 -0
  204. package/src/frames/official/raised-card.json +99 -0
  205. package/src/frames/official/retro-radio.json +180 -0
  206. package/src/frames/official/ribbon-top-light.json +125 -0
  207. package/src/frames/official/ribbon-top.json +113 -0
  208. package/src/frames/official/robot-chest.json +197 -0
  209. package/src/frames/official/roll-up-banner-light.json +137 -0
  210. package/src/frames/official/roll-up-banner.json +125 -0
  211. package/src/frames/official/round-tag-light.json +86 -0
  212. package/src/frames/official/round-tag.json +79 -0
  213. package/src/frames/official/sailboat-sail.json +99 -0
  214. package/src/frames/official/scroll-story.json +184 -0
  215. package/src/frames/official/sketch-border.json +92 -0
  216. package/src/frames/official/sketch-circle.json +57 -0
  217. package/src/frames/official/snow-globe.json +170 -0
  218. package/src/frames/official/soda-can.json +160 -0
  219. package/src/frames/official/spin-rays.json +126 -0
  220. package/src/frames/official/spiral-notebook.json +476 -0
  221. package/src/frames/official/stage-curtains.json +303 -0
  222. package/src/frames/official/starburst-light.json +128 -0
  223. package/src/frames/official/starburst.json +118 -0
  224. package/src/frames/official/swirl-border.json +122 -0
  225. package/src/frames/official/tablet-screen.json +130 -0
  226. package/src/frames/official/text-frame.json +79 -0
  227. package/src/frames/official/toaster-toast.json +114 -0
  228. package/src/frames/official/train-window.json +176 -0
  229. package/src/frames/official/treasure-map.json +207 -0
  230. package/src/frames/official/tv-set.json +256 -0
  231. package/src/frames/official/vending-machine.json +218 -0
  232. package/src/frames/official/video-player.json +118 -0
  233. package/src/frames/official/video-tape.json +137 -0
  234. package/src/frames/official/vinyl-sleeve-light.json +139 -0
  235. package/src/frames/official/vinyl-sleeve.json +127 -0
  236. package/src/frames/official/washing-machine.json +146 -0
  237. package/src/frames/official-types.ts +3 -1
  238. package/src/frames/official.ts +4 -3
  239. package/src/gif.ts +188 -0
  240. package/src/helpers.ts +12 -0
  241. package/src/ico.ts +55 -0
  242. package/src/index.tsx +2 -0
  243. package/src/looks.ts +467 -0
  244. package/src/plain.tsx +6 -0
  245. package/src/print.ts +12 -0
  246. package/src/qr-code-canvas.tsx +23 -2
  247. package/src/qr-code-props.ts +22 -0
  248. package/src/qr-frame-svg.tsx +26 -0
  249. package/src/scan-score.ts +38 -6
  250. package/src/utils/bmp.ts +126 -0
  251. package/src/utils/gif.ts +632 -0
  252. package/src/utils/ico.ts +150 -0
  253. package/src/utils/parse-color.ts +163 -23
  254. package/src/utils/print-shared.ts +25 -1
  255. package/src/utils/svg-painter.ts +18 -0
  256. package/src/utils.tsx +136 -17
  257. package/src/vanilla-api.ts +2 -2
  258. package/src/vue.ts +8 -2
  259. package/types/constants.ts +47 -0
  260. package/types/plain.ts +19 -0
  261. package/types/qr.ts +98 -0
  262. package/types/react.ts +11 -1
  263. package/types/schemas.ts +5 -0
@@ -0,0 +1,72 @@
1
+ {
2
+ "id": "hexagon-scan",
3
+ "name": "Hexagon",
4
+ "description": "A hexagon around the code, the label in its lower half.",
5
+ "category": "use-case",
6
+ "collection": "call-to-action",
7
+ "contentTypes": [],
8
+ "tags": ["call to action", "hexagon", "shape"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1732,
15
+ "height": 2000
16
+ },
17
+ "qr": {
18
+ "x": 416,
19
+ "y": 500,
20
+ "size": 900,
21
+ "padding": 72,
22
+ "radius": 21.6
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff"
27
+ },
28
+ "shapes": [
29
+ {
30
+ "type": "polygon",
31
+ "points": [
32
+ [866, 0],
33
+ [1732.03, 500],
34
+ [1732.03, 1500],
35
+ [866, 2000],
36
+ [-0.03, 1500],
37
+ [-0.03, 500]
38
+ ],
39
+ "fill": "frame"
40
+ }
41
+ ],
42
+ "labels": [
43
+ {
44
+ "type": "text",
45
+ "id": "cta",
46
+ "slot": "primary",
47
+ "text": "Scan me",
48
+ "color": "text",
49
+ "box": {
50
+ "x": 416,
51
+ "y": 1508,
52
+ "width": 900,
53
+ "height": 170
54
+ }
55
+ },
56
+ {
57
+ "type": "text",
58
+ "id": "note",
59
+ "slot": "secondary",
60
+ "text": "Open your camera",
61
+ "color": "text",
62
+ "box": {
63
+ "x": 446,
64
+ "y": 240,
65
+ "width": 840,
66
+ "height": 160
67
+ },
68
+ "weight": "regular"
69
+ }
70
+ ]
71
+ }
72
+ }
@@ -0,0 +1,132 @@
1
+ {
2
+ "id": "hot-air-balloon",
3
+ "name": "Hot-air balloon",
4
+ "description": "A hot-air balloon: the code on the envelope, the label on the basket.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "balloon", "sky", "travel"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1600,
15
+ "height": 2000
16
+ },
17
+ "qr": {
18
+ "x": 400,
19
+ "y": 360,
20
+ "size": 800,
21
+ "padding": 64,
22
+ "radius": 19.2
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff"
27
+ },
28
+ "shapes": [
29
+ {
30
+ "type": "ellipse",
31
+ "cx": 800,
32
+ "cy": 800,
33
+ "rx": 740,
34
+ "ry": 780,
35
+ "fill": "frame"
36
+ },
37
+ {
38
+ "type": "ellipse",
39
+ "cx": 800,
40
+ "cy": 800,
41
+ "rx": 407,
42
+ "ry": 780,
43
+ "fill": {
44
+ "mix": ["frame", "background"],
45
+ "amount": 0.25
46
+ }
47
+ },
48
+ {
49
+ "type": "ellipse",
50
+ "cx": 800,
51
+ "cy": 800,
52
+ "rx": 148,
53
+ "ry": 780,
54
+ "fill": "frame"
55
+ },
56
+ {
57
+ "type": "path",
58
+ "d": "M560 1520L1040 1520L950 1670L650 1670Z",
59
+ "fill": {
60
+ "mix": ["frame", "#000000"],
61
+ "amount": 0.35
62
+ }
63
+ },
64
+ {
65
+ "type": "path",
66
+ "d": "M646.4 1664L496.4 1754A7 7 0 0 1 503.6 1766L653.6 1676A7 7 0 0 1 646.4 1664Z",
67
+ "fill": {
68
+ "mix": ["frame", "background"],
69
+ "amount": 0.4
70
+ }
71
+ },
72
+ {
73
+ "type": "path",
74
+ "d": "M946.4 1676L1096.4 1766A7 7 0 0 1 1103.6 1754L953.6 1664A7 7 0 0 1 946.4 1676Z",
75
+ "fill": {
76
+ "mix": ["frame", "background"],
77
+ "amount": 0.4
78
+ }
79
+ },
80
+ {
81
+ "type": "rect",
82
+ "x": 440,
83
+ "y": 1740,
84
+ "width": 720,
85
+ "height": 220,
86
+ "radius": 40,
87
+ "fill": {
88
+ "mix": ["frame", "#000000"],
89
+ "amount": 0.3
90
+ }
91
+ },
92
+ {
93
+ "type": "rect",
94
+ "x": 440,
95
+ "y": 1740,
96
+ "width": 720,
97
+ "height": 50,
98
+ "radius": 25,
99
+ "fill": "frame"
100
+ }
101
+ ],
102
+ "labels": [
103
+ {
104
+ "type": "text",
105
+ "id": "cta",
106
+ "slot": "primary",
107
+ "text": "Scan to fly",
108
+ "color": "text",
109
+ "box": {
110
+ "x": 480,
111
+ "y": 1790,
112
+ "width": 640,
113
+ "height": 150
114
+ }
115
+ },
116
+ {
117
+ "type": "text",
118
+ "id": "note",
119
+ "slot": "secondary",
120
+ "text": "Up and away",
121
+ "color": "text",
122
+ "box": {
123
+ "x": 400,
124
+ "y": 110,
125
+ "width": 800,
126
+ "height": 100
127
+ },
128
+ "weight": "regular"
129
+ }
130
+ ]
131
+ }
132
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "id": "jigsaw-piece-light",
3
+ "name": "Jigsaw piece, light",
4
+ "description": "A jigsaw piece with knobs out on the top and right and sockets in on the left and bottom.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "jigsaw", "puzzle", "piece"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1860,
15
+ "height": 1930
16
+ },
17
+ "qr": {
18
+ "x": 340,
19
+ "y": 570,
20
+ "size": 1000,
21
+ "padding": 80,
22
+ "radius": 24
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff"
27
+ },
28
+ "shapes": [
29
+ {
30
+ "type": "path",
31
+ "d": "M80 220L720 220A130 130 0 1 1 960 220L1600 220A40 40 0 0 1 1640 260L1640 935A130 130 0 1 1 1640 1175L1640 1850A40 40 0 0 1 1600 1890L960 1890A130 130 0 1 0 720 1890L80 1890A40 40 0 0 1 40 1850L40 1175A130 130 0 1 0 40 935L40 260A40 40 0 0 1 80 220Z",
32
+ "fill": "frame"
33
+ },
34
+ {
35
+ "type": "path",
36
+ "d": "M80 250L780 250A100 100 0 1 1 900 250L1600 250A10 10 0 0 1 1610 260L1610 995A100 100 0 1 1 1610 1115L1610 1850A10 10 0 0 1 1600 1860L998.75 1860A160 160 0 1 0 681.25 1860L80 1860A10 10 0 0 1 70 1850L70 1213.75A160 160 0 1 0 70 896.25L70 260A10 10 0 0 1 80 250Z",
37
+ "fill": {
38
+ "mix": ["frame", "background"],
39
+ "amount": 0.9
40
+ }
41
+ },
42
+ {
43
+ "type": "rect",
44
+ "x": 290,
45
+ "y": 280,
46
+ "width": 1100,
47
+ "height": 170,
48
+ "radius": 85,
49
+ "fill": "frame"
50
+ }
51
+ ],
52
+ "labels": [
53
+ {
54
+ "type": "text",
55
+ "id": "cta",
56
+ "slot": "primary",
57
+ "text": "Scan the missing piece",
58
+ "color": "text",
59
+ "box": {
60
+ "x": 358,
61
+ "y": 280,
62
+ "width": 964,
63
+ "height": 170
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "id": "jigsaw-piece",
3
+ "name": "Jigsaw piece",
4
+ "description": "A jigsaw piece with knobs out on the top and right and sockets in on the left and bottom.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "jigsaw", "puzzle", "piece"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1860,
15
+ "height": 1930
16
+ },
17
+ "qr": {
18
+ "x": 340,
19
+ "y": 570,
20
+ "size": 1000,
21
+ "padding": 80,
22
+ "radius": 24
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff"
27
+ },
28
+ "shapes": [
29
+ {
30
+ "type": "path",
31
+ "d": "M80 220L720 220A130 130 0 1 1 960 220L1600 220A40 40 0 0 1 1640 260L1640 935A130 130 0 1 1 1640 1175L1640 1850A40 40 0 0 1 1600 1890L960 1890A130 130 0 1 0 720 1890L80 1890A40 40 0 0 1 40 1850L40 1175A130 130 0 1 0 40 935L40 260A40 40 0 0 1 80 220Z",
32
+ "fill": "frame"
33
+ },
34
+ {
35
+ "type": "rect",
36
+ "x": 290,
37
+ "y": 280,
38
+ "width": 1100,
39
+ "height": 170,
40
+ "radius": 85,
41
+ "fill": "frame"
42
+ }
43
+ ],
44
+ "labels": [
45
+ {
46
+ "type": "text",
47
+ "id": "cta",
48
+ "slot": "primary",
49
+ "text": "Scan to fit in",
50
+ "color": "text",
51
+ "box": {
52
+ "x": 358,
53
+ "y": 280,
54
+ "width": 964,
55
+ "height": 170
56
+ }
57
+ }
58
+ ]
59
+ }
60
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "id": "laptop-screen",
3
+ "name": "Laptop",
4
+ "description": "A laptop seen from the front, the code on its screen.",
5
+ "category": "use-case",
6
+ "collection": "objects",
7
+ "contentTypes": ["url"],
8
+ "tags": ["object", "laptop", "screen", "device"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 2000,
15
+ "height": 1850
16
+ },
17
+ "qr": {
18
+ "x": 500,
19
+ "y": 320,
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": 260,
32
+ "y": 0,
33
+ "width": 1480,
34
+ "height": 1730,
35
+ "radius": 60,
36
+ "fill": "frame"
37
+ },
38
+ {
39
+ "type": "rect",
40
+ "x": 310,
41
+ "y": 50,
42
+ "width": 1380,
43
+ "height": 1600,
44
+ "radius": 24,
45
+ "fill": "background"
46
+ },
47
+ {
48
+ "type": "circle",
49
+ "cx": 1000,
50
+ "cy": 25,
51
+ "r": 10,
52
+ "fill": {
53
+ "mix": ["frame", "background"],
54
+ "amount": 0.5
55
+ }
56
+ },
57
+ {
58
+ "type": "path",
59
+ "d": "M0 1850L40 1700L1960 1700L2000 1850Z",
60
+ "fill": {
61
+ "mix": ["frame", "#000000"],
62
+ "amount": 0.2
63
+ }
64
+ },
65
+ {
66
+ "type": "rect",
67
+ "x": 830,
68
+ "y": 1700,
69
+ "width": 340,
70
+ "height": 40,
71
+ "radius": 20,
72
+ "fill": {
73
+ "mix": ["frame", "background"],
74
+ "amount": 0.4
75
+ }
76
+ },
77
+ {
78
+ "type": "rect",
79
+ "x": 0,
80
+ "y": 1810,
81
+ "width": 2000,
82
+ "height": 40,
83
+ "fill": {
84
+ "mix": ["frame", "#000000"],
85
+ "amount": 0.35
86
+ }
87
+ },
88
+ {
89
+ "type": "rect",
90
+ "x": 380,
91
+ "y": 1440,
92
+ "width": 1240,
93
+ "height": 170,
94
+ "radius": 85,
95
+ "fill": "frame"
96
+ },
97
+ {
98
+ "type": "rect",
99
+ "x": 420,
100
+ "y": 100,
101
+ "width": 1160,
102
+ "height": 100,
103
+ "radius": 50,
104
+ "fill": "frame"
105
+ }
106
+ ],
107
+ "labels": [
108
+ {
109
+ "type": "text",
110
+ "id": "cta",
111
+ "slot": "primary",
112
+ "text": "Scan to visit",
113
+ "color": "text",
114
+ "box": {
115
+ "x": 448,
116
+ "y": 1440,
117
+ "width": 1104,
118
+ "height": 170
119
+ }
120
+ },
121
+ {
122
+ "type": "text",
123
+ "id": "note",
124
+ "slot": "secondary",
125
+ "text": "Open it on your phone",
126
+ "color": "text",
127
+ "box": {
128
+ "x": 460,
129
+ "y": 100,
130
+ "width": 1080,
131
+ "height": 100
132
+ },
133
+ "weight": "regular"
134
+ }
135
+ ]
136
+ }
137
+ }
@@ -0,0 +1,132 @@
1
+ {
2
+ "id": "lighthouse-tower",
3
+ "name": "Lighthouse",
4
+ "description": "A lighthouse: a lamp room on top, bands down the tower, the code on the tower.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "lighthouse", "sea", "guide", "coast"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1500,
15
+ "height": 1960
16
+ },
17
+ "qr": {
18
+ "x": 370,
19
+ "y": 760,
20
+ "size": 760,
21
+ "padding": 60.800000000000004,
22
+ "radius": 18.240000000000002
23
+ },
24
+ "colors": {
25
+ "frame": "#111111",
26
+ "text": "#ffffff",
27
+ "accent": "#111111"
28
+ },
29
+ "shapes": [
30
+ {
31
+ "type": "polygon",
32
+ "points": [[400, 120], [0, 0], [0, 260]],
33
+ "fill": {
34
+ "mix": ["frame", "background"],
35
+ "amount": 0.85
36
+ }
37
+ },
38
+ {
39
+ "type": "polygon",
40
+ "points": [[1100, 120], [1500, 0], [1500, 260]],
41
+ "fill": {
42
+ "mix": ["frame", "background"],
43
+ "amount": 0.85
44
+ }
45
+ },
46
+ {
47
+ "type": "rect",
48
+ "x": 400,
49
+ "y": 0,
50
+ "width": 700,
51
+ "height": 240,
52
+ "radius": 40,
53
+ "fill": {
54
+ "mix": ["frame", "background"],
55
+ "amount": 0.92
56
+ }
57
+ },
58
+ {
59
+ "type": "rect",
60
+ "x": 400,
61
+ "y": 0,
62
+ "width": 700,
63
+ "height": 240,
64
+ "radius": 40,
65
+ "fill": "frame",
66
+ "hole": {
67
+ "x": 430,
68
+ "y": 30,
69
+ "width": 640,
70
+ "height": 180,
71
+ "radius": 20
72
+ }
73
+ },
74
+ {
75
+ "type": "rect",
76
+ "x": 330,
77
+ "y": 240,
78
+ "width": 840,
79
+ "height": 60,
80
+ "radius": 20,
81
+ "fill": "frame"
82
+ },
83
+ {
84
+ "type": "polygon",
85
+ "points": [[250, 300], [1250, 300], [1351.33, 1820], [148.67, 1820]],
86
+ "fill": "frame"
87
+ },
88
+ {
89
+ "type": "polygon",
90
+ "points": [
91
+ [232.67, 560],
92
+ [1267.33, 560],
93
+ [1276.67, 700],
94
+ [223.33, 700]
95
+ ],
96
+ "fill": "accent"
97
+ },
98
+ {
99
+ "type": "polygon",
100
+ "points": [[162, 1620], [1338, 1620], [1347.33, 1760], [152.67, 1760]],
101
+ "fill": "accent"
102
+ },
103
+ {
104
+ "type": "rect",
105
+ "x": 0,
106
+ "y": 1820,
107
+ "width": 1500,
108
+ "height": 140,
109
+ "radius": 30,
110
+ "fill": {
111
+ "mix": ["frame", "#000000"],
112
+ "amount": 0.3
113
+ }
114
+ }
115
+ ],
116
+ "labels": [
117
+ {
118
+ "type": "text",
119
+ "id": "cta",
120
+ "slot": "primary",
121
+ "text": "Scan to find your way",
122
+ "color": "text",
123
+ "box": {
124
+ "x": 100,
125
+ "y": 1820,
126
+ "width": 1300,
127
+ "height": 140
128
+ }
129
+ }
130
+ ]
131
+ }
132
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "id": "magnifying-glass",
3
+ "name": "Magnifying glass",
4
+ "description": "A magnifying glass: the code under the lens, a handle going down to the right.",
5
+ "category": "use-case",
6
+ "collection": "playful",
7
+ "contentTypes": ["url"],
8
+ "tags": ["playful", "magnifier", "lens", "search", "detail"],
9
+ "license": "CC0-1.0",
10
+ "spec": {
11
+ "kind": "qrdx.frame",
12
+ "version": 1,
13
+ "artboard": {
14
+ "width": 1720,
15
+ "height": 1720
16
+ },
17
+ "qr": {
18
+ "x": 360,
19
+ "y": 360,
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": "path",
31
+ "d": "M1281.97 1388.03L1576.97 1683.03A75 75 0 0 1 1683.03 1576.97L1388.03 1281.97A75 75 0 0 1 1281.97 1388.03Z",
32
+ "fill": "frame"
33
+ },
34
+ {
35
+ "type": "circle",
36
+ "cx": 790,
37
+ "cy": 790,
38
+ "r": 770,
39
+ "fill": "frame"
40
+ },
41
+ {
42
+ "type": "circle",
43
+ "cx": 790,
44
+ "cy": 790,
45
+ "r": 720,
46
+ "fill": {
47
+ "mix": ["frame", "background"],
48
+ "amount": 0.94
49
+ }
50
+ },
51
+ {
52
+ "type": "ellipse",
53
+ "cx": 460,
54
+ "cy": 370,
55
+ "rx": 170,
56
+ "ry": 70,
57
+ "fill": "background"
58
+ },
59
+ {
60
+ "type": "rect",
61
+ "x": 60,
62
+ "y": 1580,
63
+ "width": 1160,
64
+ "height": 130,
65
+ "radius": 65,
66
+ "fill": "frame"
67
+ }
68
+ ],
69
+ "labels": [
70
+ {
71
+ "type": "text",
72
+ "id": "cta",
73
+ "slot": "primary",
74
+ "text": "Look closer",
75
+ "color": "text",
76
+ "box": {
77
+ "x": 112,
78
+ "y": 1580,
79
+ "width": 1056,
80
+ "height": 130
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ }