@arraypress/covers 1.1.0 → 1.3.1

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 (244) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +18 -809
  3. package/package.json +2 -1
  4. package/recipes/flyers/afterglow-motion.json +540 -0
  5. package/recipes/flyers/afterglow.json +70 -0
  6. package/recipes/flyers/arcfield-mirror-motion.json +397 -0
  7. package/recipes/flyers/arcfield-mirror.json +364 -0
  8. package/recipes/flyers/bauhaus-oktav.json +319 -0
  9. package/recipes/flyers/bauhaus-ritmo.json +735 -0
  10. package/recipes/flyers/bauhaus-volta.json +394 -0
  11. package/recipes/flyers/bloomfall.json +99 -0
  12. package/recipes/flyers/drag-solenne-motion.json +444 -0
  13. package/recipes/flyers/drag-solenne.json +426 -0
  14. package/recipes/flyers/fennick-patches.json +874 -0
  15. package/recipes/flyers/ferro-pass.json +398 -0
  16. package/recipes/flyers/ferrova.json +812 -0
  17. package/recipes/flyers/grid-rest-rhythm.json +125 -0
  18. package/recipes/flyers/groovy-honeycomb.json +816 -0
  19. package/recipes/flyers/groovy-marigold.json +479 -0
  20. package/recipes/flyers/groovy-peachfuzz.json +974 -0
  21. package/recipes/flyers/halden-orbit-motion.json +381 -0
  22. package/recipes/flyers/halden-orbit.json +356 -0
  23. package/recipes/flyers/halvard.json +120 -0
  24. package/recipes/flyers/kairo-weekender.json +696 -0
  25. package/recipes/flyers/linger-motion.json +518 -0
  26. package/recipes/flyers/linger.json +67 -0
  27. package/recipes/flyers/little-orchard.json +105 -0
  28. package/recipes/flyers/lofi-hexmoth.json +912 -0
  29. package/recipes/flyers/lofi-lowbit-motion.json +888 -0
  30. package/recipes/flyers/lofi-lowbit.json +880 -0
  31. package/recipes/flyers/lofi-nullpoint.json +3013 -0
  32. package/recipes/flyers/lumio-stack-motion.json +648 -0
  33. package/recipes/flyers/lumio-stack.json +438 -0
  34. package/recipes/flyers/magazine-cover.json +168 -0
  35. package/recipes/flyers/magazine-extended.json +269 -0
  36. package/recipes/flyers/magazine-knockout.json +40 -0
  37. package/recipes/flyers/northfold-varsity.json +618 -0
  38. package/recipes/flyers/open-studio.json +69 -0
  39. package/recipes/flyers/orrin-merch.json +715 -0
  40. package/recipes/flyers/oxyde.json +113 -0
  41. package/recipes/flyers/quiet-fields.json +610 -0
  42. package/recipes/flyers/scrapbook-halcyon.json +948 -0
  43. package/recipes/flyers/solenne-ticket.json +730 -0
  44. package/recipes/flyers/solvane-motion.json +576 -0
  45. package/recipes/flyers/solvane.json +98 -0
  46. package/recipes/flyers/subduct.json +99 -0
  47. package/recipes/flyers/sunvale-lineup.json +584 -0
  48. package/recipes/flyers/tidewell.json +91 -0
  49. package/recipes/flyers/tour-kairo.json +535 -0
  50. package/recipes/flyers/velora-stickers.json +885 -0
  51. package/recipes/flyers/wheatpaste-black.json +313 -0
  52. package/recipes/flyers/wheatpaste-mark.json +198 -0
  53. package/recipes/flyers/wheatpaste-torn.json +114 -0
  54. package/recipes/flyers/wheatpaste-wall.json +984 -0
  55. package/recipes/flyers/wheatpaste-words.json +233 -0
  56. package/recipes/release/aura.json +137 -0
  57. package/recipes/release/chrome.json +433 -0
  58. package/recipes/release/collage.json +372 -0
  59. package/recipes/release/duotone.json +113 -0
  60. package/recipes/release/film-still.json +102 -0
  61. package/recipes/release/headline.json +70 -0
  62. package/recipes/release/instant.json +170 -0
  63. package/recipes/release/label.json +364 -0
  64. package/recipes/release/liquid-glass.json +301 -0
  65. package/recipes/release/odd-tile-dark.json +688 -0
  66. package/recipes/release/odd-tile-dense.json +1056 -0
  67. package/recipes/release/odd-tile-shift.json +541 -0
  68. package/recipes/release/odd-tile-split.json +571 -0
  69. package/recipes/release/odd-tile.json +633 -0
  70. package/recipes/release/off-edge.json +96 -0
  71. package/recipes/release/plinth.json +794 -0
  72. package/recipes/release/riso.json +108 -0
  73. package/recipes/release/series/fluid-label.json +561 -0
  74. package/recipes/release/series/fluid-pixel.json +334 -0
  75. package/recipes/release/series/hairline.json +305 -0
  76. package/recipes/release/series/halo.json +282 -0
  77. package/recipes/release/series/mark-crop.json +135 -0
  78. package/recipes/release/series/mark-window.json +150 -0
  79. package/recipes/release/series/photo-label.json +475 -0
  80. package/recipes/release/series/smear-field.json +345 -0
  81. package/recipes/release/series/smear.json +202 -0
  82. package/recipes/release/series/spin.json +172 -0
  83. package/recipes/release/series/split-ghost.json +230 -0
  84. package/recipes/release/series/zoom.json +168 -0
  85. package/recipes/release/small-print.json +114 -0
  86. package/recipes/release/stack.json +156 -0
  87. package/recipes/release/swiss.json +117 -0
  88. package/schema/recipe.schema.json +332 -65
  89. package/src/animate/index.d.ts +9 -19
  90. package/src/animate/index.js +6 -111
  91. package/src/animate/keyframes.d.ts +21 -0
  92. package/src/animate/keyframes.js +119 -0
  93. package/src/animate/marquee.d.ts +30 -0
  94. package/src/animate/marquee.js +93 -0
  95. package/src/animate/morph.d.ts +8 -0
  96. package/src/animate/morph.js +99 -0
  97. package/src/animate/motion.d.ts +59 -0
  98. package/src/animate/motion.js +63 -0
  99. package/src/animate/sheet.d.ts +19 -0
  100. package/src/animate/sheet.js +61 -0
  101. package/src/animate/timing.d.ts +28 -0
  102. package/src/animate/timing.js +146 -0
  103. package/src/animate/tracks.d.ts +18 -0
  104. package/src/animate/tracks.js +139 -0
  105. package/src/diagram.js +4 -3
  106. package/src/extract.js +2 -2
  107. package/src/fonts.js +1 -2
  108. package/src/geometry.js +4 -34
  109. package/src/grid.js +1 -1
  110. package/src/handmade.js +9 -7
  111. package/src/icons.js +1 -2
  112. package/src/index.d.ts +39 -48
  113. package/src/index.js +5 -5
  114. package/src/inter-data.js +1 -1
  115. package/src/json-recipe.js +23 -7
  116. package/src/layer-options.js +21 -1
  117. package/src/layers/barcode.js +3 -3
  118. package/src/layers/geometry.js +5 -5
  119. package/src/layers/perforation.js +3 -3
  120. package/src/layers/repeat.js +2 -2
  121. package/src/layers/shape.d.ts +2 -2
  122. package/src/layers/shape.js +5 -5
  123. package/src/layers/soft.js +2 -2
  124. package/src/layers/svg.js +2 -3
  125. package/src/layers/table.js +3 -3
  126. package/src/layers/tear.d.ts +1 -1
  127. package/src/layers/tear.js +4 -4
  128. package/src/layers/texture.js +3 -3
  129. package/src/layers/util.js +15 -2
  130. package/src/layers.js +10 -26
  131. package/src/{effects/paint.js → paint/index.js} +5 -5
  132. package/src/{effects/paint-presets.d.ts → paint/presets.d.ts} +1 -1
  133. package/src/{effects/paint-presets.js → paint/presets.js} +1 -1
  134. package/src/{effects → paint}/tile.d.ts +1 -1
  135. package/src/{effects → paint}/tile.js +4 -4
  136. package/src/palette.js +1 -1
  137. package/src/platform/files.d.ts +6 -0
  138. package/src/platform/files.js +41 -0
  139. package/src/platform/harfbuzz.js +1 -1
  140. package/src/platform/index.d.ts +3 -3
  141. package/src/platform/index.js +6 -4
  142. package/src/platform/load.js +1 -2
  143. package/src/print.js +9 -7
  144. package/src/recipes.js +1 -1
  145. package/src/render/backdrop.js +2 -2
  146. package/src/render/grain.js +1 -1
  147. package/src/render/group.js +3 -3
  148. package/src/render/key.js +1 -2
  149. package/src/{effects → render}/transform.d.ts +2 -1
  150. package/src/{effects → render}/transform.js +17 -5
  151. package/src/render/use.d.ts +1 -1
  152. package/src/render/use.js +2 -2
  153. package/src/render/wrap.js +5 -60
  154. package/src/render.js +55 -18
  155. package/src/text.js +1 -1
  156. package/src/type/auto-color.js +1 -1
  157. package/src/type/glyphs.js +2 -2
  158. package/src/type/line.js +1 -1
  159. package/src/type/live.js +1 -1
  160. package/src/type/path.js +2 -2
  161. package/src/type/pixel.d.ts +0 -2
  162. package/src/type/pixel.js +3 -33
  163. package/src/type/spans.js +2 -2
  164. package/src/type/typeset.js +19 -8
  165. package/src/version.js +1 -1
  166. package/src/color.js +0 -246
  167. package/src/effects/ascii.d.ts +0 -7
  168. package/src/effects/ascii.js +0 -93
  169. package/src/effects/buffer.d.ts +0 -60
  170. package/src/effects/buffer.js +0 -472
  171. package/src/effects/detail.d.ts +0 -12
  172. package/src/effects/detail.js +0 -124
  173. package/src/effects/digital.d.ts +0 -14
  174. package/src/effects/digital.js +0 -216
  175. package/src/effects/distort.d.ts +0 -20
  176. package/src/effects/distort.js +0 -314
  177. package/src/effects/dither.d.ts +0 -8
  178. package/src/effects/dither.js +0 -147
  179. package/src/effects/drop-shadow.d.ts +0 -4
  180. package/src/effects/drop-shadow.js +0 -45
  181. package/src/effects/extrude.d.ts +0 -5
  182. package/src/effects/extrude.js +0 -55
  183. package/src/effects/film.d.ts +0 -11
  184. package/src/effects/film.js +0 -204
  185. package/src/effects/glow.d.ts +0 -8
  186. package/src/effects/glow.js +0 -56
  187. package/src/effects/grade.d.ts +0 -30
  188. package/src/effects/grade.js +0 -274
  189. package/src/effects/halftone.d.ts +0 -8
  190. package/src/effects/halftone.js +0 -95
  191. package/src/effects/index.d.ts +0 -125
  192. package/src/effects/index.js +0 -277
  193. package/src/effects/ink.d.ts +0 -12
  194. package/src/effects/ink.js +0 -70
  195. package/src/effects/lens.d.ts +0 -14
  196. package/src/effects/lens.js +0 -277
  197. package/src/effects/light.d.ts +0 -10
  198. package/src/effects/light.js +0 -59
  199. package/src/effects/looks.d.ts +0 -9
  200. package/src/effects/looks.js +0 -74
  201. package/src/effects/mask.d.ts +0 -52
  202. package/src/effects/mask.js +0 -314
  203. package/src/effects/motion.d.ts +0 -6
  204. package/src/effects/motion.js +0 -60
  205. package/src/effects/newsprint.d.ts +0 -6
  206. package/src/effects/newsprint.js +0 -89
  207. package/src/effects/optics.d.ts +0 -10
  208. package/src/effects/optics.js +0 -213
  209. package/src/effects/options.d.ts +0 -6
  210. package/src/effects/options.js +0 -106
  211. package/src/effects/pixels.d.ts +0 -24
  212. package/src/effects/pixels.js +0 -138
  213. package/src/effects/polar.d.ts +0 -10
  214. package/src/effects/polar.js +0 -265
  215. package/src/effects/region.d.ts +0 -8
  216. package/src/effects/region.js +0 -136
  217. package/src/effects/round-border.d.ts +0 -5
  218. package/src/effects/round-border.js +0 -62
  219. package/src/effects/screen.d.ts +0 -14
  220. package/src/effects/screen.js +0 -212
  221. package/src/effects/sort.d.ts +0 -8
  222. package/src/effects/sort.js +0 -125
  223. package/src/effects/symmetry.d.ts +0 -6
  224. package/src/effects/symmetry.js +0 -74
  225. package/src/effects/tone.d.ts +0 -16
  226. package/src/effects/tone.js +0 -117
  227. package/src/effects/util.d.ts +0 -16
  228. package/src/effects/util.js +0 -85
  229. package/src/platform/bytes.d.ts +0 -22
  230. package/src/platform/bytes.js +0 -103
  231. package/src/platform/compress.d.ts +0 -12
  232. package/src/platform/compress.js +0 -81
  233. package/src/platform/node.d.ts +0 -26
  234. package/src/platform/node.js +0 -86
  235. package/src/png.js +0 -126
  236. package/src/raster/index.d.ts +0 -24
  237. package/src/raster/index.js +0 -171
  238. package/src/render/content.d.ts +0 -5
  239. package/src/render/content.js +0 -58
  240. package/src/render/tiles.d.ts +0 -6
  241. package/src/render/tiles.js +0 -77
  242. package/src/rng.js +0 -95
  243. package/src/svg.js +0 -69
  244. /package/src/{effects/paint.d.ts → paint/index.d.ts} +0 -0
@@ -0,0 +1,301 @@
1
+ {
2
+ "$schema": "../../schema/recipe.schema.json",
3
+ "name": "liquid-glass",
4
+ "description": "Liquid glass: an abstract render (liquid, bubbles, holographic) full bleed, and in the middle a disc of frosted glass (the same image blurred behind it, a light rim and a highlight) carrying the mark in white; the artist and title small, top and bottom. Slots: {name} (artist), {title} (release), {photo} (the abstract image), {mark}, `focus`. Fonts: Geist (register them as TTF/WOFF; WOFF2 can't be outlined).",
5
+ "requires": [
6
+ "photo",
7
+ "mark"
8
+ ],
9
+ "params": {
10
+ "focus": "center",
11
+ "tint": "#0a0a14"
12
+ },
13
+ "layers": [
14
+ {
15
+ "id": "image",
16
+ "type": "image",
17
+ "src": "{photo}",
18
+ "fit": "cover",
19
+ "focus": "{focus}"
20
+ },
21
+ {
22
+ "id": "glass",
23
+ "type": "image",
24
+ "src": "{photo}",
25
+ "fit": "cover",
26
+ "focus": "{focus}",
27
+ "blur": "4.6vmin",
28
+ "effects": [
29
+ {
30
+ "kind": "levels",
31
+ "brightness": 0.06
32
+ }
33
+ ],
34
+ "clip": [
35
+ {
36
+ "type": "shape",
37
+ "kind": "circle",
38
+ "cx": "50%",
39
+ "cy": "43.2%",
40
+ "r": "23.6vmin"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "id": "disc",
46
+ "type": "group",
47
+ "viewBox": [
48
+ 0,
49
+ 0,
50
+ 1000,
51
+ 1000
52
+ ],
53
+ "fit": "cover",
54
+ "layers": [
55
+ {
56
+ "id": "frost",
57
+ "type": "shape",
58
+ "kind": "circle",
59
+ "cx": 500,
60
+ "cy": 432,
61
+ "r": 236,
62
+ "fill": {
63
+ "type": "linear",
64
+ "angle": 160,
65
+ "colors": [
66
+ "#ffffff",
67
+ "#ffffff"
68
+ ],
69
+ "opacities": [
70
+ 0.28,
71
+ 0.04
72
+ ]
73
+ }
74
+ },
75
+ {
76
+ "id": "rim",
77
+ "type": "shape",
78
+ "kind": "circle",
79
+ "cx": 500,
80
+ "cy": 432,
81
+ "r": 234,
82
+ "fill": "none",
83
+ "strokeWidth": 3,
84
+ "stroke": {
85
+ "type": "linear",
86
+ "angle": 150,
87
+ "colors": [
88
+ "#ffffff",
89
+ "#ffffff",
90
+ "#ffffff"
91
+ ],
92
+ "opacities": [
93
+ 0.95,
94
+ 0.1,
95
+ 0.6
96
+ ]
97
+ }
98
+ },
99
+ {
100
+ "id": "drop",
101
+ "type": "shape",
102
+ "kind": "circle",
103
+ "cx": 500,
104
+ "cy": 432,
105
+ "r": 236,
106
+ "fill": "none",
107
+ "stroke": "#000000",
108
+ "strokeWidth": 2,
109
+ "opacity": 0.25,
110
+ "effects": [
111
+ {
112
+ "kind": "blur",
113
+ "radius": 18
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "id": "mark",
119
+ "type": "icon",
120
+ "markup": "{mark}",
121
+ "x": 385,
122
+ "y": 317,
123
+ "size": 230,
124
+ "color": "#ffffff",
125
+ "effects": [
126
+ {
127
+ "kind": "glow",
128
+ "blur": 24,
129
+ "color": "#ffffff",
130
+ "opacity": 0.45
131
+ }
132
+ ]
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "id": "topGlass",
138
+ "type": "image",
139
+ "src": "{photo}",
140
+ "fit": "cover",
141
+ "focus": "{focus}",
142
+ "blur": "4vmin",
143
+ "clip": [
144
+ {
145
+ "type": "shape",
146
+ "kind": "rect",
147
+ "x": "4%",
148
+ "y": "5%",
149
+ "width": "92%",
150
+ "height": "13.6%",
151
+ "radius": "6.8vmin"
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "id": "bottomGlass",
157
+ "type": "image",
158
+ "src": "{photo}",
159
+ "fit": "cover",
160
+ "focus": "{focus}",
161
+ "blur": "4vmin",
162
+ "clip": [
163
+ {
164
+ "type": "shape",
165
+ "kind": "rect",
166
+ "x": "4%",
167
+ "y": "81.4%",
168
+ "width": "92%",
169
+ "height": "13.6%",
170
+ "radius": "6.8vmin"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "id": "cover",
176
+ "type": "group",
177
+ "viewBox": [
178
+ 0,
179
+ 0,
180
+ 1000,
181
+ 1000
182
+ ],
183
+ "fit": "cover",
184
+ "layers": [
185
+ {
186
+ "id": "topTint",
187
+ "type": "shape",
188
+ "kind": "rect",
189
+ "x": 40,
190
+ "y": 50,
191
+ "width": 920,
192
+ "height": 136,
193
+ "radius": 68,
194
+ "fill": "{tint}",
195
+ "opacity": 0.32
196
+ },
197
+ {
198
+ "id": "topRim",
199
+ "type": "shape",
200
+ "kind": "rect",
201
+ "x": 41,
202
+ "y": 51,
203
+ "width": 918,
204
+ "height": 134,
205
+ "radius": 67,
206
+ "fill": "none",
207
+ "strokeWidth": 2.5,
208
+ "stroke": {
209
+ "type": "linear",
210
+ "angle": 170,
211
+ "colors": [
212
+ "#ffffff",
213
+ "#ffffff",
214
+ "#ffffff"
215
+ ],
216
+ "opacities": [
217
+ 0.9,
218
+ 0.12,
219
+ 0.55
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ "id": "bottomTint",
225
+ "type": "shape",
226
+ "kind": "rect",
227
+ "x": 40,
228
+ "y": 814,
229
+ "width": 920,
230
+ "height": 136,
231
+ "radius": 68,
232
+ "fill": "{tint}",
233
+ "opacity": 0.32
234
+ },
235
+ {
236
+ "id": "bottomRim",
237
+ "type": "shape",
238
+ "kind": "rect",
239
+ "x": 41,
240
+ "y": 815,
241
+ "width": 918,
242
+ "height": 134,
243
+ "radius": 67,
244
+ "fill": "none",
245
+ "strokeWidth": 2.5,
246
+ "stroke": {
247
+ "type": "linear",
248
+ "angle": 170,
249
+ "colors": [
250
+ "#ffffff",
251
+ "#ffffff",
252
+ "#ffffff"
253
+ ],
254
+ "opacities": [
255
+ 0.9,
256
+ 0.12,
257
+ 0.55
258
+ ]
259
+ }
260
+ },
261
+ {
262
+ "id": "name",
263
+ "type": "text",
264
+ "content": "{name}",
265
+ "font": "Geist",
266
+ "weight": 600,
267
+ "size": 90,
268
+ "letterSpacing": -0.03,
269
+ "x": 500,
270
+ "y": 150,
271
+ "align": "center",
272
+ "maxWidth": 850,
273
+ "maxLines": 1,
274
+ "fit": "shrink",
275
+ "color": "#ffffff"
276
+ },
277
+ {
278
+ "id": "title",
279
+ "type": "text",
280
+ "content": "{title}",
281
+ "font": "Geist",
282
+ "weight": 400,
283
+ "size": 90,
284
+ "letterSpacing": -0.03,
285
+ "x": 500,
286
+ "y": 914,
287
+ "align": "center",
288
+ "maxWidth": 850,
289
+ "maxLines": 1,
290
+ "fit": "shrink",
291
+ "color": "#ffffff"
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "id": "grain",
297
+ "type": "grain",
298
+ "amount": 0.05
299
+ }
300
+ ]
301
+ }