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.
- package/README.md +22 -6
- package/dist/angular.js +33 -3
- package/dist/angular.js.map +1 -1
- package/dist/angular.mjs +33 -3
- package/dist/angular.mjs.map +1 -1
- package/dist/core.js +7 -7
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +7 -7
- package/dist/core.mjs.map +1 -1
- package/dist/element.browser.mjs +6 -6
- package/dist/element.browser.mjs.map +1 -1
- package/dist/element.js +1 -1
- package/dist/element.js.map +1 -1
- package/dist/element.mjs +1 -1
- package/dist/element.mjs.map +1 -1
- package/dist/frames-index.js +1 -1
- package/dist/frames-index.js.map +1 -1
- package/dist/frames-index.mjs +1 -1
- package/dist/frames-index.mjs.map +1 -1
- package/dist/frames-official.js +1 -1
- package/dist/frames-official.js.map +1 -1
- package/dist/frames-official.mjs +1 -1
- package/dist/frames-official.mjs.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/qr-code-canvas.js +1 -1
- package/dist/qr-code-canvas.js.map +1 -1
- package/dist/qr-code-canvas.mjs +1 -1
- package/dist/qr-code-canvas.mjs.map +1 -1
- package/dist/schemas.js +1 -1
- package/dist/schemas.js.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/schemas.mjs.map +1 -1
- package/dist/src/angular.d.ts +9 -3
- package/dist/src/download.d.ts +32 -6
- package/dist/src/download.d.ts.map +1 -1
- package/dist/src/element.d.ts +10 -1
- package/dist/src/element.d.ts.map +1 -1
- package/dist/src/engine.d.ts +5 -2
- package/dist/src/engine.d.ts.map +1 -1
- package/dist/src/eps.d.ts.map +1 -1
- package/dist/src/export.d.ts.map +1 -1
- package/dist/src/frame.d.ts +24 -0
- package/dist/src/frame.d.ts.map +1 -1
- package/dist/src/frames/catalogue/all.d.ts.map +1 -1
- package/dist/src/frames/catalogue/batches.d.ts +6 -0
- package/dist/src/frames/catalogue/batches.d.ts.map +1 -0
- package/dist/src/frames/catalogue/call-to-action.d.ts.map +1 -1
- package/dist/src/frames/catalogue/counts.d.ts +4 -2
- package/dist/src/frames/catalogue/counts.d.ts.map +1 -1
- package/dist/src/frames/catalogue/index.d.ts.map +1 -1
- package/dist/src/frames/catalogue/objects.d.ts +5 -0
- package/dist/src/frames/catalogue/objects.d.ts.map +1 -0
- package/dist/src/frames/catalogue/playful.d.ts +5 -0
- package/dist/src/frames/catalogue/playful.d.ts.map +1 -0
- package/dist/src/frames/catalogue/tags.d.ts.map +1 -1
- package/dist/src/frames/collections.d.ts.map +1 -1
- package/dist/src/frames/official-types.d.ts +1 -1
- package/dist/src/frames/official-types.d.ts.map +1 -1
- package/dist/src/frames/official.d.ts.map +1 -1
- package/dist/src/gif.d.ts +40 -0
- package/dist/src/gif.d.ts.map +1 -0
- package/dist/src/helpers.d.ts +1 -1
- package/dist/src/helpers.d.ts.map +1 -1
- package/dist/src/ico.d.ts +11 -0
- package/dist/src/ico.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/looks.d.ts +101 -0
- package/dist/src/looks.d.ts.map +1 -0
- package/dist/src/plain.d.ts.map +1 -1
- package/dist/src/print.d.ts.map +1 -1
- package/dist/src/qr-code-canvas.d.ts.map +1 -1
- package/dist/src/qr-code-props.d.ts +10 -1
- package/dist/src/qr-code-props.d.ts.map +1 -1
- package/dist/src/qr-code.d.ts.map +1 -1
- package/dist/src/qr-frame-svg.d.ts +10 -0
- package/dist/src/qr-frame-svg.d.ts.map +1 -0
- package/dist/src/scan-score.d.ts.map +1 -1
- package/dist/src/utils/gif.d.ts +61 -0
- package/dist/src/utils/gif.d.ts.map +1 -0
- package/dist/src/utils/ico.d.ts +30 -0
- package/dist/src/utils/ico.d.ts.map +1 -0
- package/dist/src/utils/parse-color.d.ts +1 -1
- package/dist/src/utils/parse-color.d.ts.map +1 -1
- package/dist/src/utils/print-shared.d.ts.map +1 -1
- package/dist/src/utils/svg-painter.d.ts +13 -0
- package/dist/src/utils/svg-painter.d.ts.map +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/vanilla-api.d.ts +2 -2
- package/dist/src/vanilla-api.d.ts.map +1 -1
- package/dist/src/vue.d.ts +1 -1
- package/dist/src/vue.d.ts.map +1 -1
- package/dist/types/constants.d.ts +41 -0
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +2 -2
- package/dist/types/index.mjs.map +1 -1
- package/dist/types/plain.d.ts +2 -2
- package/dist/types/plain.d.ts.map +1 -1
- package/dist/types/qr.d.ts +399 -1
- package/dist/types/qr.d.ts.map +1 -1
- package/dist/types/react.d.ts +10 -1
- package/dist/types/react.d.ts.map +1 -1
- package/dist/types/schemas.d.ts +1 -1
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/vanilla.browser.mjs +34 -34
- package/dist/vanilla.browser.mjs.map +1 -1
- package/dist/vue.js +1 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +6 -2
- package/src/angular.ts +14 -2
- package/src/download.tsx +92 -7
- package/src/element.ts +16 -1
- package/src/engine.ts +22 -0
- package/src/eps.ts +8 -1
- package/src/export.ts +16 -0
- package/src/frame.tsx +51 -0
- package/src/frames/catalogue/all.ts +202 -0
- package/src/frames/catalogue/batches.ts +114 -0
- package/src/frames/catalogue/call-to-action.ts +58 -0
- package/src/frames/catalogue/counts.ts +4 -2
- package/src/frames/catalogue/index.ts +808 -0
- package/src/frames/catalogue/objects.ts +65 -0
- package/src/frames/catalogue/playful.ts +97 -0
- package/src/frames/catalogue/tags.ts +137 -0
- package/src/frames/collections.ts +2 -0
- package/src/frames/official/badge-bottom-light.json +91 -0
- package/src/frames/official/badge-bottom.json +79 -0
- package/src/frames/official/billboard-campaign.json +274 -0
- package/src/frames/official/billboard-light.json +287 -0
- package/src/frames/official/bookmark-light.json +88 -0
- package/src/frames/official/bookmark-strip.json +83 -0
- package/src/frames/official/border-medium.json +71 -0
- package/src/frames/official/border-thick.json +71 -0
- package/src/frames/official/border-thin.json +71 -0
- package/src/frames/official/bottle-label.json +136 -0
- package/src/frames/official/bottle-light.json +133 -0
- package/src/frames/official/camera-viewfinder.json +174 -0
- package/src/frames/official/cassette-tape.json +236 -0
- package/src/frames/official/cat-with-card-light.json +246 -0
- package/src/frames/official/cat-with-card.json +234 -0
- package/src/frames/official/cinema-marquee.json +537 -0
- package/src/frames/official/circle-viewfinder.json +87 -0
- package/src/frames/official/clapperboard-light.json +163 -0
- package/src/frames/official/clapperboard-scene.json +151 -0
- package/src/frames/official/comic-panel.json +386 -0
- package/src/frames/official/corner-tab-light.json +101 -0
- package/src/frames/official/corner-tab.json +89 -0
- package/src/frames/official/crystal-ball.json +105 -0
- package/src/frames/official/delivery-box-light.json +132 -0
- package/src/frames/official/delivery-box-track.json +132 -0
- package/src/frames/official/fish-tank.json +276 -0
- package/src/frames/official/flag-light.json +136 -0
- package/src/frames/official/flag-team.json +127 -0
- package/src/frames/official/floppy-disk.json +106 -0
- package/src/frames/official/flying-saucer.json +128 -0
- package/src/frames/official/gallery-frame.json +195 -0
- package/src/frames/official/globe-stand.json +136 -0
- package/src/frames/official/gumball-machine.json +451 -0
- package/src/frames/official/heart-light.json +59 -0
- package/src/frames/official/heart-scan.json +51 -0
- package/src/frames/official/hexagon-light.json +87 -0
- package/src/frames/official/hexagon-scan.json +72 -0
- package/src/frames/official/hot-air-balloon.json +132 -0
- package/src/frames/official/jigsaw-piece-light.json +68 -0
- package/src/frames/official/jigsaw-piece.json +60 -0
- package/src/frames/official/laptop-screen.json +137 -0
- package/src/frames/official/lighthouse-tower.json +132 -0
- package/src/frames/official/magnifying-glass.json +85 -0
- package/src/frames/official/mailbox-flag.json +112 -0
- package/src/frames/official/mailbox-light.json +120 -0
- package/src/frames/official/map-pin-light.json +76 -0
- package/src/frames/official/map-pin.json +58 -0
- package/src/frames/official/matchbox-drawer.json +170 -0
- package/src/frames/official/microwave-door.json +220 -0
- package/src/frames/official/milk-carton.json +129 -0
- package/src/frames/official/monitor-screen.json +111 -0
- package/src/frames/official/monster-mouth.json +180 -0
- package/src/frames/official/mug-light.json +138 -0
- package/src/frames/official/mug-refill.json +125 -0
- package/src/frames/official/museum-plaque-light.json +187 -0
- package/src/frames/official/museum-plaque.json +187 -0
- package/src/frames/official/music-player-light.json +151 -0
- package/src/frames/official/music-player.json +136 -0
- package/src/frames/official/octagon-light.json +126 -0
- package/src/frames/official/octagon-sign.json +120 -0
- package/src/frames/official/open-book.json +156 -0
- package/src/frames/official/parking-meter.json +107 -0
- package/src/frames/official/passport-stamp.json +132 -0
- package/src/frames/official/pizza-box.json +122 -0
- package/src/frames/official/polka-dot-border.json +502 -0
- package/src/frames/official/popcorn-bucket.json +305 -0
- package/src/frames/official/porthole.json +264 -0
- package/src/frames/official/raised-card-thin.json +111 -0
- package/src/frames/official/raised-card.json +99 -0
- package/src/frames/official/retro-radio.json +180 -0
- package/src/frames/official/ribbon-top-light.json +125 -0
- package/src/frames/official/ribbon-top.json +113 -0
- package/src/frames/official/robot-chest.json +197 -0
- package/src/frames/official/roll-up-banner-light.json +137 -0
- package/src/frames/official/roll-up-banner.json +125 -0
- package/src/frames/official/round-tag-light.json +86 -0
- package/src/frames/official/round-tag.json +79 -0
- package/src/frames/official/sailboat-sail.json +99 -0
- package/src/frames/official/scroll-story.json +184 -0
- package/src/frames/official/sketch-border.json +92 -0
- package/src/frames/official/sketch-circle.json +57 -0
- package/src/frames/official/snow-globe.json +170 -0
- package/src/frames/official/soda-can.json +160 -0
- package/src/frames/official/spin-rays.json +126 -0
- package/src/frames/official/spiral-notebook.json +476 -0
- package/src/frames/official/stage-curtains.json +303 -0
- package/src/frames/official/starburst-light.json +128 -0
- package/src/frames/official/starburst.json +118 -0
- package/src/frames/official/swirl-border.json +122 -0
- package/src/frames/official/tablet-screen.json +130 -0
- package/src/frames/official/text-frame.json +79 -0
- package/src/frames/official/toaster-toast.json +114 -0
- package/src/frames/official/train-window.json +176 -0
- package/src/frames/official/treasure-map.json +207 -0
- package/src/frames/official/tv-set.json +256 -0
- package/src/frames/official/vending-machine.json +218 -0
- package/src/frames/official/video-player.json +118 -0
- package/src/frames/official/video-tape.json +137 -0
- package/src/frames/official/vinyl-sleeve-light.json +139 -0
- package/src/frames/official/vinyl-sleeve.json +127 -0
- package/src/frames/official/washing-machine.json +146 -0
- package/src/frames/official-types.ts +3 -1
- package/src/frames/official.ts +4 -3
- package/src/gif.ts +188 -0
- package/src/helpers.ts +12 -0
- package/src/ico.ts +55 -0
- package/src/index.tsx +2 -0
- package/src/looks.ts +467 -0
- package/src/plain.tsx +6 -0
- package/src/print.ts +12 -0
- package/src/qr-code-canvas.tsx +23 -2
- package/src/qr-code-props.ts +54 -19
- package/src/qr-code.tsx +7 -39
- package/src/qr-frame-svg.tsx +26 -0
- package/src/scan-score.ts +38 -6
- package/src/utils/gif.ts +632 -0
- package/src/utils/ico.ts +150 -0
- package/src/utils/parse-color.ts +163 -23
- package/src/utils/print-shared.ts +25 -1
- package/src/utils/svg-painter.ts +18 -0
- package/src/utils.tsx +136 -17
- package/src/vanilla-api.ts +2 -2
- package/src/vue.ts +7 -1
- package/types/constants.ts +47 -0
- package/types/plain.ts +19 -0
- package/types/qr.ts +98 -0
- package/types/react.ts +11 -1
- package/types/schemas.ts +5 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "bottle-label",
|
|
3
|
+
"name": "Bottle with a label",
|
|
4
|
+
"description": "A bottle with a cap and shoulders, the code on its label.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"collection": "objects",
|
|
7
|
+
"contentTypes": ["url"],
|
|
8
|
+
"tags": ["object", "bottle", "label", "drink"],
|
|
9
|
+
"license": "CC0-1.0",
|
|
10
|
+
"spec": {
|
|
11
|
+
"kind": "qrdx.frame",
|
|
12
|
+
"version": 1,
|
|
13
|
+
"artboard": {
|
|
14
|
+
"width": 1300,
|
|
15
|
+
"height": 1958
|
|
16
|
+
},
|
|
17
|
+
"qr": {
|
|
18
|
+
"x": 250,
|
|
19
|
+
"y": 684,
|
|
20
|
+
"size": 800,
|
|
21
|
+
"padding": 64,
|
|
22
|
+
"radius": 19.2
|
|
23
|
+
},
|
|
24
|
+
"colors": {
|
|
25
|
+
"frame": "#111111",
|
|
26
|
+
"text": "#ffffff",
|
|
27
|
+
"accent": "#111111"
|
|
28
|
+
},
|
|
29
|
+
"shapes": [
|
|
30
|
+
{
|
|
31
|
+
"type": "path",
|
|
32
|
+
"d": "M520 100L520 240C520 330 0 320 0 420L0 1848Q0 1958 110 1958L1190 1958Q1300 1958 1300 1848L1300 420C1300 320 780 330 780 240L780 100Z",
|
|
33
|
+
"fill": "frame"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "rect",
|
|
37
|
+
"x": 480,
|
|
38
|
+
"y": 0,
|
|
39
|
+
"width": 340,
|
|
40
|
+
"height": 120,
|
|
41
|
+
"radius": 36,
|
|
42
|
+
"fill": {
|
|
43
|
+
"mix": ["frame", "#000000"],
|
|
44
|
+
"amount": 0.3
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "rect",
|
|
49
|
+
"x": 520,
|
|
50
|
+
"y": 30,
|
|
51
|
+
"width": 260,
|
|
52
|
+
"height": 22,
|
|
53
|
+
"radius": 11,
|
|
54
|
+
"fill": {
|
|
55
|
+
"mix": ["frame", "background"],
|
|
56
|
+
"amount": 0.4
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "rect",
|
|
61
|
+
"x": 50,
|
|
62
|
+
"y": 450,
|
|
63
|
+
"width": 1200,
|
|
64
|
+
"height": 1318,
|
|
65
|
+
"radius": 28,
|
|
66
|
+
"fill": {
|
|
67
|
+
"mix": ["frame", "background"],
|
|
68
|
+
"amount": 0.9
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "rect",
|
|
73
|
+
"x": 50,
|
|
74
|
+
"y": 494,
|
|
75
|
+
"width": 1200,
|
|
76
|
+
"height": 12,
|
|
77
|
+
"fill": "accent"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "rect",
|
|
81
|
+
"x": 50,
|
|
82
|
+
"y": 1712,
|
|
83
|
+
"width": 1200,
|
|
84
|
+
"height": 12,
|
|
85
|
+
"fill": "accent"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "rect",
|
|
89
|
+
"x": 100,
|
|
90
|
+
"y": 1578,
|
|
91
|
+
"width": 1100,
|
|
92
|
+
"height": 160,
|
|
93
|
+
"radius": 80,
|
|
94
|
+
"fill": "frame"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "rect",
|
|
98
|
+
"x": 140,
|
|
99
|
+
"y": 512,
|
|
100
|
+
"width": 1020,
|
|
101
|
+
"height": 96,
|
|
102
|
+
"radius": 48,
|
|
103
|
+
"fill": "frame"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"labels": [
|
|
107
|
+
{
|
|
108
|
+
"type": "text",
|
|
109
|
+
"id": "cta",
|
|
110
|
+
"slot": "primary",
|
|
111
|
+
"text": "Scan to pour",
|
|
112
|
+
"color": "text",
|
|
113
|
+
"box": {
|
|
114
|
+
"x": 164,
|
|
115
|
+
"y": 1578,
|
|
116
|
+
"width": 972,
|
|
117
|
+
"height": 160
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "text",
|
|
122
|
+
"id": "note",
|
|
123
|
+
"slot": "secondary",
|
|
124
|
+
"text": "Tasting notes inside",
|
|
125
|
+
"color": "text",
|
|
126
|
+
"box": {
|
|
127
|
+
"x": 178.4,
|
|
128
|
+
"y": 512,
|
|
129
|
+
"width": 943.2,
|
|
130
|
+
"height": 96
|
|
131
|
+
},
|
|
132
|
+
"weight": "regular"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "bottle-light",
|
|
3
|
+
"name": "Bottle label, light",
|
|
4
|
+
"description": "A bottle with a cap and shoulders, the code on its label.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"collection": "objects",
|
|
7
|
+
"contentTypes": ["url"],
|
|
8
|
+
"tags": ["object", "bottle", "label", "drink"],
|
|
9
|
+
"license": "CC0-1.0",
|
|
10
|
+
"spec": {
|
|
11
|
+
"kind": "qrdx.frame",
|
|
12
|
+
"version": 1,
|
|
13
|
+
"artboard": {
|
|
14
|
+
"width": 1300,
|
|
15
|
+
"height": 1958
|
|
16
|
+
},
|
|
17
|
+
"qr": {
|
|
18
|
+
"x": 250,
|
|
19
|
+
"y": 684,
|
|
20
|
+
"size": 800,
|
|
21
|
+
"padding": 64,
|
|
22
|
+
"radius": 19.2
|
|
23
|
+
},
|
|
24
|
+
"colors": {
|
|
25
|
+
"frame": "#111111",
|
|
26
|
+
"text": "#ffffff",
|
|
27
|
+
"accent": "#111111"
|
|
28
|
+
},
|
|
29
|
+
"shapes": [
|
|
30
|
+
{
|
|
31
|
+
"type": "path",
|
|
32
|
+
"d": "M520 100L520 240C520 330 0 320 0 420L0 1848Q0 1958 110 1958L1190 1958Q1300 1958 1300 1848L1300 420C1300 320 780 330 780 240L780 100Z",
|
|
33
|
+
"fill": "frame"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "rect",
|
|
37
|
+
"x": 480,
|
|
38
|
+
"y": 0,
|
|
39
|
+
"width": 340,
|
|
40
|
+
"height": 120,
|
|
41
|
+
"radius": 36,
|
|
42
|
+
"fill": {
|
|
43
|
+
"mix": ["frame", "#000000"],
|
|
44
|
+
"amount": 0.3
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "rect",
|
|
49
|
+
"x": 520,
|
|
50
|
+
"y": 30,
|
|
51
|
+
"width": 260,
|
|
52
|
+
"height": 22,
|
|
53
|
+
"radius": 11,
|
|
54
|
+
"fill": {
|
|
55
|
+
"mix": ["frame", "background"],
|
|
56
|
+
"amount": 0.4
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "rect",
|
|
61
|
+
"x": 50,
|
|
62
|
+
"y": 450,
|
|
63
|
+
"width": 1200,
|
|
64
|
+
"height": 1318,
|
|
65
|
+
"radius": 28,
|
|
66
|
+
"fill": "background"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "rect",
|
|
70
|
+
"x": 50,
|
|
71
|
+
"y": 494,
|
|
72
|
+
"width": 1200,
|
|
73
|
+
"height": 12,
|
|
74
|
+
"fill": "accent"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "rect",
|
|
78
|
+
"x": 50,
|
|
79
|
+
"y": 1712,
|
|
80
|
+
"width": 1200,
|
|
81
|
+
"height": 12,
|
|
82
|
+
"fill": "accent"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "rect",
|
|
86
|
+
"x": 100,
|
|
87
|
+
"y": 1578,
|
|
88
|
+
"width": 1100,
|
|
89
|
+
"height": 160,
|
|
90
|
+
"radius": 80,
|
|
91
|
+
"fill": "frame"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "rect",
|
|
95
|
+
"x": 140,
|
|
96
|
+
"y": 512,
|
|
97
|
+
"width": 1020,
|
|
98
|
+
"height": 96,
|
|
99
|
+
"radius": 48,
|
|
100
|
+
"fill": "frame"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"labels": [
|
|
104
|
+
{
|
|
105
|
+
"type": "text",
|
|
106
|
+
"id": "cta",
|
|
107
|
+
"slot": "primary",
|
|
108
|
+
"text": "Scan the label",
|
|
109
|
+
"color": "text",
|
|
110
|
+
"box": {
|
|
111
|
+
"x": 164,
|
|
112
|
+
"y": 1578,
|
|
113
|
+
"width": 972,
|
|
114
|
+
"height": 160
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "text",
|
|
119
|
+
"id": "note",
|
|
120
|
+
"slot": "secondary",
|
|
121
|
+
"text": "Where it comes from",
|
|
122
|
+
"color": "text",
|
|
123
|
+
"box": {
|
|
124
|
+
"x": 178.4,
|
|
125
|
+
"y": 512,
|
|
126
|
+
"width": 943.2,
|
|
127
|
+
"height": 96
|
|
128
|
+
},
|
|
129
|
+
"weight": "regular"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "camera-viewfinder",
|
|
3
|
+
"name": "Camera viewfinder",
|
|
4
|
+
"description": "A camera viewfinder display with brackets, a recording dot and a status bar.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"collection": "playful",
|
|
7
|
+
"contentTypes": ["url"],
|
|
8
|
+
"tags": ["playful", "camera", "viewfinder", "video", "record"],
|
|
9
|
+
"license": "CC0-1.0",
|
|
10
|
+
"spec": {
|
|
11
|
+
"kind": "qrdx.frame",
|
|
12
|
+
"version": 1,
|
|
13
|
+
"artboard": {
|
|
14
|
+
"width": 1500,
|
|
15
|
+
"height": 1760
|
|
16
|
+
},
|
|
17
|
+
"qr": {
|
|
18
|
+
"x": 250,
|
|
19
|
+
"y": 300,
|
|
20
|
+
"size": 1000,
|
|
21
|
+
"padding": 80,
|
|
22
|
+
"radius": 24
|
|
23
|
+
},
|
|
24
|
+
"colors": {
|
|
25
|
+
"frame": "#111111",
|
|
26
|
+
"text": "#ffffff",
|
|
27
|
+
"accent": "#111111"
|
|
28
|
+
},
|
|
29
|
+
"shapes": [
|
|
30
|
+
{
|
|
31
|
+
"type": "rect",
|
|
32
|
+
"x": 0,
|
|
33
|
+
"y": 0,
|
|
34
|
+
"width": 1500,
|
|
35
|
+
"height": 1760,
|
|
36
|
+
"radius": 24,
|
|
37
|
+
"fill": "frame"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "rect",
|
|
41
|
+
"x": 90,
|
|
42
|
+
"y": 90,
|
|
43
|
+
"width": 160,
|
|
44
|
+
"height": 26,
|
|
45
|
+
"fill": "text"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "rect",
|
|
49
|
+
"x": 90,
|
|
50
|
+
"y": 90,
|
|
51
|
+
"width": 26,
|
|
52
|
+
"height": 160,
|
|
53
|
+
"fill": "text"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "rect",
|
|
57
|
+
"x": 1250,
|
|
58
|
+
"y": 90,
|
|
59
|
+
"width": 160,
|
|
60
|
+
"height": 26,
|
|
61
|
+
"fill": "text"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "rect",
|
|
65
|
+
"x": 1384,
|
|
66
|
+
"y": 90,
|
|
67
|
+
"width": 26,
|
|
68
|
+
"height": 160,
|
|
69
|
+
"fill": "text"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "rect",
|
|
73
|
+
"x": 90,
|
|
74
|
+
"y": 1474,
|
|
75
|
+
"width": 160,
|
|
76
|
+
"height": 26,
|
|
77
|
+
"fill": "text"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "rect",
|
|
81
|
+
"x": 90,
|
|
82
|
+
"y": 1340,
|
|
83
|
+
"width": 26,
|
|
84
|
+
"height": 160,
|
|
85
|
+
"fill": "text"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "rect",
|
|
89
|
+
"x": 1250,
|
|
90
|
+
"y": 1474,
|
|
91
|
+
"width": 160,
|
|
92
|
+
"height": 26,
|
|
93
|
+
"fill": "text"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "rect",
|
|
97
|
+
"x": 1384,
|
|
98
|
+
"y": 1340,
|
|
99
|
+
"width": 26,
|
|
100
|
+
"height": 160,
|
|
101
|
+
"fill": "text"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "circle",
|
|
105
|
+
"cx": 670,
|
|
106
|
+
"cy": 150,
|
|
107
|
+
"r": 30,
|
|
108
|
+
"fill": "accent"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "rect",
|
|
112
|
+
"x": 730,
|
|
113
|
+
"y": 130,
|
|
114
|
+
"width": 220,
|
|
115
|
+
"height": 40,
|
|
116
|
+
"radius": 8,
|
|
117
|
+
"fill": "text"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "rect",
|
|
121
|
+
"x": 1200,
|
|
122
|
+
"y": 125,
|
|
123
|
+
"width": 150,
|
|
124
|
+
"height": 50,
|
|
125
|
+
"radius": 10,
|
|
126
|
+
"fill": "text"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "rect",
|
|
130
|
+
"x": 1210,
|
|
131
|
+
"y": 135,
|
|
132
|
+
"width": 100,
|
|
133
|
+
"height": 30,
|
|
134
|
+
"radius": 4,
|
|
135
|
+
"fill": "accent"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "rect",
|
|
139
|
+
"x": 1352,
|
|
140
|
+
"y": 140,
|
|
141
|
+
"width": 12,
|
|
142
|
+
"height": 20,
|
|
143
|
+
"radius": 3,
|
|
144
|
+
"fill": "text"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "rect",
|
|
148
|
+
"x": 0,
|
|
149
|
+
"y": 1560,
|
|
150
|
+
"width": 1500,
|
|
151
|
+
"height": 200,
|
|
152
|
+
"fill": {
|
|
153
|
+
"mix": ["frame", "#000000"],
|
|
154
|
+
"amount": 0.4
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"labels": [
|
|
159
|
+
{
|
|
160
|
+
"type": "text",
|
|
161
|
+
"id": "cta",
|
|
162
|
+
"slot": "primary",
|
|
163
|
+
"text": "Scan to record",
|
|
164
|
+
"color": "text",
|
|
165
|
+
"box": {
|
|
166
|
+
"x": 100,
|
|
167
|
+
"y": 1575,
|
|
168
|
+
"width": 1300,
|
|
169
|
+
"height": 170
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cassette-tape",
|
|
3
|
+
"name": "Cassette",
|
|
4
|
+
"description": "A cassette tape: the code on its label, two reels in the window below.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"collection": "playful",
|
|
7
|
+
"contentTypes": ["url"],
|
|
8
|
+
"tags": ["playful", "cassette", "tape", "music", "retro"],
|
|
9
|
+
"license": "CC0-1.0",
|
|
10
|
+
"spec": {
|
|
11
|
+
"kind": "qrdx.frame",
|
|
12
|
+
"version": 1,
|
|
13
|
+
"artboard": {
|
|
14
|
+
"width": 2000,
|
|
15
|
+
"height": 1500
|
|
16
|
+
},
|
|
17
|
+
"qr": {
|
|
18
|
+
"x": 160,
|
|
19
|
+
"y": 254,
|
|
20
|
+
"size": 800,
|
|
21
|
+
"padding": 64,
|
|
22
|
+
"radius": 19.2
|
|
23
|
+
},
|
|
24
|
+
"colors": {
|
|
25
|
+
"frame": "#111111",
|
|
26
|
+
"text": "#ffffff",
|
|
27
|
+
"accent": "#111111"
|
|
28
|
+
},
|
|
29
|
+
"shapes": [
|
|
30
|
+
{
|
|
31
|
+
"type": "rect",
|
|
32
|
+
"x": 0,
|
|
33
|
+
"y": 0,
|
|
34
|
+
"width": 2000,
|
|
35
|
+
"height": 1500,
|
|
36
|
+
"radius": 70,
|
|
37
|
+
"fill": "frame"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "rect",
|
|
41
|
+
"x": 80,
|
|
42
|
+
"y": 90,
|
|
43
|
+
"width": 1840,
|
|
44
|
+
"height": 1040,
|
|
45
|
+
"radius": 30,
|
|
46
|
+
"fill": {
|
|
47
|
+
"mix": ["frame", "background"],
|
|
48
|
+
"amount": 0.92
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "rect",
|
|
53
|
+
"x": 80,
|
|
54
|
+
"y": 90,
|
|
55
|
+
"width": 1840,
|
|
56
|
+
"height": 70,
|
|
57
|
+
"fill": "accent"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "rect",
|
|
61
|
+
"x": 420,
|
|
62
|
+
"y": 1170,
|
|
63
|
+
"width": 1160,
|
|
64
|
+
"height": 240,
|
|
65
|
+
"radius": 120,
|
|
66
|
+
"fill": {
|
|
67
|
+
"mix": ["frame", "#000000"],
|
|
68
|
+
"amount": 0.35
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "circle",
|
|
73
|
+
"cx": 640,
|
|
74
|
+
"cy": 1290,
|
|
75
|
+
"r": 95,
|
|
76
|
+
"fill": "background"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "circle",
|
|
80
|
+
"cx": 640,
|
|
81
|
+
"cy": 1290,
|
|
82
|
+
"r": 95,
|
|
83
|
+
"hole": 62,
|
|
84
|
+
"fill": {
|
|
85
|
+
"mix": ["frame", "background"],
|
|
86
|
+
"amount": 0.92
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "path",
|
|
91
|
+
"d": "M680 1297L702 1297A7 7 0 0 1 702 1283L680 1283A7 7 0 0 1 680 1297Z",
|
|
92
|
+
"fill": "frame"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "path",
|
|
96
|
+
"d": "M653.94 1328.14L664.94 1347.19A7 7 0 0 1 677.06 1340.19L666.06 1321.14A7 7 0 0 1 653.94 1328.14Z",
|
|
97
|
+
"fill": "frame"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "path",
|
|
101
|
+
"d": "M613.94 1321.14L602.94 1340.19A7 7 0 0 1 615.06 1347.19L626.06 1328.14A7 7 0 0 1 613.94 1321.14Z",
|
|
102
|
+
"fill": "frame"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "path",
|
|
106
|
+
"d": "M600 1283L578 1283A7 7 0 0 1 578 1297L600 1297A7 7 0 0 1 600 1283Z",
|
|
107
|
+
"fill": "frame"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "path",
|
|
111
|
+
"d": "M626.06 1251.86L615.06 1232.81A7 7 0 0 1 602.94 1239.81L613.94 1258.86A7 7 0 0 1 626.06 1251.86Z",
|
|
112
|
+
"fill": "frame"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "path",
|
|
116
|
+
"d": "M666.06 1258.86L677.06 1239.81A7 7 0 0 1 664.94 1232.81L653.94 1251.86A7 7 0 0 1 666.06 1258.86Z",
|
|
117
|
+
"fill": "frame"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "circle",
|
|
121
|
+
"cx": 1360,
|
|
122
|
+
"cy": 1290,
|
|
123
|
+
"r": 95,
|
|
124
|
+
"fill": "background"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "circle",
|
|
128
|
+
"cx": 1360,
|
|
129
|
+
"cy": 1290,
|
|
130
|
+
"r": 95,
|
|
131
|
+
"hole": 62,
|
|
132
|
+
"fill": {
|
|
133
|
+
"mix": ["frame", "background"],
|
|
134
|
+
"amount": 0.92
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "path",
|
|
139
|
+
"d": "M1400 1297L1422 1297A7 7 0 0 1 1422 1283L1400 1283A7 7 0 0 1 1400 1297Z",
|
|
140
|
+
"fill": "frame"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "path",
|
|
144
|
+
"d": "M1373.94 1328.14L1384.94 1347.19A7 7 0 0 1 1397.06 1340.19L1386.06 1321.14A7 7 0 0 1 1373.94 1328.14Z",
|
|
145
|
+
"fill": "frame"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "path",
|
|
149
|
+
"d": "M1333.94 1321.14L1322.94 1340.19A7 7 0 0 1 1335.06 1347.19L1346.06 1328.14A7 7 0 0 1 1333.94 1321.14Z",
|
|
150
|
+
"fill": "frame"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "path",
|
|
154
|
+
"d": "M1320 1283L1298 1283A7 7 0 0 1 1298 1297L1320 1297A7 7 0 0 1 1320 1283Z",
|
|
155
|
+
"fill": "frame"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "path",
|
|
159
|
+
"d": "M1346.06 1251.86L1335.06 1232.81A7 7 0 0 1 1322.94 1239.81L1333.94 1258.86A7 7 0 0 1 1346.06 1251.86Z",
|
|
160
|
+
"fill": "frame"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "path",
|
|
164
|
+
"d": "M1386.06 1258.86L1397.06 1239.81A7 7 0 0 1 1384.94 1232.81L1373.94 1251.86A7 7 0 0 1 1386.06 1258.86Z",
|
|
165
|
+
"fill": "frame"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "circle",
|
|
169
|
+
"cx": 60,
|
|
170
|
+
"cy": 1440,
|
|
171
|
+
"r": 22,
|
|
172
|
+
"fill": {
|
|
173
|
+
"mix": ["frame", "background"],
|
|
174
|
+
"amount": 0.4
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "circle",
|
|
179
|
+
"cx": 1940,
|
|
180
|
+
"cy": 1440,
|
|
181
|
+
"r": 22,
|
|
182
|
+
"fill": {
|
|
183
|
+
"mix": ["frame", "background"],
|
|
184
|
+
"amount": 0.4
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"type": "rect",
|
|
189
|
+
"x": 1104,
|
|
190
|
+
"y": 465,
|
|
191
|
+
"width": 736,
|
|
192
|
+
"height": 170,
|
|
193
|
+
"radius": 85,
|
|
194
|
+
"fill": "frame"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "rect",
|
|
198
|
+
"x": 1104,
|
|
199
|
+
"y": 690,
|
|
200
|
+
"width": 736,
|
|
201
|
+
"height": 100,
|
|
202
|
+
"radius": 50,
|
|
203
|
+
"fill": "frame"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"labels": [
|
|
207
|
+
{
|
|
208
|
+
"type": "text",
|
|
209
|
+
"id": "cta",
|
|
210
|
+
"slot": "primary",
|
|
211
|
+
"text": "Scan to play",
|
|
212
|
+
"color": "text",
|
|
213
|
+
"box": {
|
|
214
|
+
"x": 1172,
|
|
215
|
+
"y": 465,
|
|
216
|
+
"width": 600,
|
|
217
|
+
"height": 170
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"type": "text",
|
|
222
|
+
"id": "note",
|
|
223
|
+
"slot": "secondary",
|
|
224
|
+
"text": "Rewind with your camera",
|
|
225
|
+
"color": "text",
|
|
226
|
+
"box": {
|
|
227
|
+
"x": 1144,
|
|
228
|
+
"y": 690,
|
|
229
|
+
"width": 656,
|
|
230
|
+
"height": 100
|
|
231
|
+
},
|
|
232
|
+
"weight": "regular"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
}
|