@arraypress/covers 1.0.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 (246) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/README.md +18 -524
  3. package/package.json +34 -5
  4. package/recipes/brand.json +1143 -0
  5. package/recipes/flyers/afterglow-motion.json +540 -0
  6. package/recipes/flyers/afterglow.json +70 -0
  7. package/recipes/flyers/arcfield-mirror-motion.json +397 -0
  8. package/recipes/flyers/arcfield-mirror.json +364 -0
  9. package/recipes/flyers/bauhaus-oktav.json +319 -0
  10. package/recipes/flyers/bauhaus-ritmo.json +735 -0
  11. package/recipes/flyers/bauhaus-volta.json +394 -0
  12. package/recipes/flyers/bloomfall.json +99 -0
  13. package/recipes/flyers/drag-solenne-motion.json +444 -0
  14. package/recipes/flyers/drag-solenne.json +426 -0
  15. package/recipes/flyers/fennick-patches.json +874 -0
  16. package/recipes/flyers/ferro-pass.json +398 -0
  17. package/recipes/flyers/ferrova.json +812 -0
  18. package/recipes/flyers/grid-rest-rhythm.json +125 -0
  19. package/recipes/flyers/groovy-honeycomb.json +816 -0
  20. package/recipes/flyers/groovy-marigold.json +479 -0
  21. package/recipes/flyers/groovy-peachfuzz.json +974 -0
  22. package/recipes/flyers/halden-orbit-motion.json +381 -0
  23. package/recipes/flyers/halden-orbit.json +356 -0
  24. package/recipes/flyers/halvard.json +120 -0
  25. package/recipes/flyers/kairo-weekender.json +696 -0
  26. package/recipes/flyers/linger-motion.json +518 -0
  27. package/recipes/flyers/linger.json +67 -0
  28. package/recipes/flyers/little-orchard.json +105 -0
  29. package/recipes/flyers/lofi-hexmoth.json +912 -0
  30. package/recipes/flyers/lofi-lowbit-motion.json +888 -0
  31. package/recipes/flyers/lofi-lowbit.json +880 -0
  32. package/recipes/flyers/lofi-nullpoint.json +3013 -0
  33. package/recipes/flyers/lumio-stack-motion.json +648 -0
  34. package/recipes/flyers/lumio-stack.json +438 -0
  35. package/recipes/flyers/magazine-cover.json +168 -0
  36. package/recipes/flyers/magazine-extended.json +269 -0
  37. package/recipes/flyers/magazine-knockout.json +40 -0
  38. package/recipes/flyers/northfold-varsity.json +618 -0
  39. package/recipes/flyers/open-studio.json +69 -0
  40. package/recipes/flyers/orrin-merch.json +715 -0
  41. package/recipes/flyers/oxyde.json +113 -0
  42. package/recipes/flyers/quiet-fields.json +610 -0
  43. package/recipes/flyers/scrapbook-halcyon.json +948 -0
  44. package/recipes/flyers/solenne-ticket.json +730 -0
  45. package/recipes/flyers/solvane-motion.json +576 -0
  46. package/recipes/flyers/solvane.json +98 -0
  47. package/recipes/flyers/subduct.json +99 -0
  48. package/recipes/flyers/sunvale-lineup.json +584 -0
  49. package/recipes/flyers/tidewell.json +91 -0
  50. package/recipes/flyers/tour-kairo.json +535 -0
  51. package/recipes/flyers/velora-stickers.json +885 -0
  52. package/recipes/flyers/wheatpaste-black.json +313 -0
  53. package/recipes/flyers/wheatpaste-mark.json +198 -0
  54. package/recipes/flyers/wheatpaste-torn.json +114 -0
  55. package/recipes/flyers/wheatpaste-wall.json +984 -0
  56. package/recipes/flyers/wheatpaste-words.json +233 -0
  57. package/recipes/release/aura.json +137 -0
  58. package/recipes/release/chrome.json +433 -0
  59. package/recipes/release/collage.json +372 -0
  60. package/recipes/release/duotone.json +113 -0
  61. package/recipes/release/film-still.json +102 -0
  62. package/recipes/release/headline.json +70 -0
  63. package/recipes/release/instant.json +170 -0
  64. package/recipes/release/label.json +364 -0
  65. package/recipes/release/liquid-glass.json +301 -0
  66. package/recipes/release/odd-tile-dark.json +688 -0
  67. package/recipes/release/odd-tile-dense.json +1056 -0
  68. package/recipes/release/odd-tile-shift.json +541 -0
  69. package/recipes/release/odd-tile-split.json +571 -0
  70. package/recipes/release/odd-tile.json +633 -0
  71. package/recipes/release/off-edge.json +96 -0
  72. package/recipes/release/plinth.json +794 -0
  73. package/recipes/release/riso.json +108 -0
  74. package/recipes/release/series/fluid-label.json +561 -0
  75. package/recipes/release/series/fluid-pixel.json +334 -0
  76. package/recipes/release/series/hairline.json +305 -0
  77. package/recipes/release/series/halo.json +282 -0
  78. package/recipes/release/series/mark-crop.json +135 -0
  79. package/recipes/release/series/mark-window.json +150 -0
  80. package/recipes/release/series/photo-label.json +475 -0
  81. package/recipes/release/series/smear-field.json +345 -0
  82. package/recipes/release/series/smear.json +202 -0
  83. package/recipes/release/series/spin.json +172 -0
  84. package/recipes/release/series/split-ghost.json +230 -0
  85. package/recipes/release/series/zoom.json +168 -0
  86. package/recipes/release/small-print.json +114 -0
  87. package/recipes/release/stack.json +156 -0
  88. package/recipes/release/swiss.json +117 -0
  89. package/schema/recipe.schema.json +7624 -827
  90. package/src/animate/index.d.ts +9 -0
  91. package/src/animate/index.js +11 -0
  92. package/src/animate/keyframes.d.ts +21 -0
  93. package/src/animate/keyframes.js +119 -0
  94. package/src/animate/marquee.d.ts +30 -0
  95. package/src/animate/marquee.js +93 -0
  96. package/src/animate/morph.d.ts +8 -0
  97. package/src/animate/morph.js +99 -0
  98. package/src/animate/motion.d.ts +59 -0
  99. package/src/animate/motion.js +63 -0
  100. package/src/animate/sheet.d.ts +19 -0
  101. package/src/animate/sheet.js +61 -0
  102. package/src/animate/timing.d.ts +28 -0
  103. package/src/animate/timing.js +146 -0
  104. package/src/animate/tracks.d.ts +18 -0
  105. package/src/animate/tracks.js +139 -0
  106. package/src/builtins.js +4 -0
  107. package/src/diagram.js +4 -3
  108. package/src/extract.js +6 -5
  109. package/src/fonts.d.ts +55 -0
  110. package/src/fonts.js +245 -53
  111. package/src/formats/cut.d.ts +10 -0
  112. package/src/formats/cut.js +77 -0
  113. package/src/formats/index.d.ts +6 -0
  114. package/src/formats/index.js +9 -0
  115. package/src/formats/presets.d.ts +41 -0
  116. package/src/formats/presets.js +89 -0
  117. package/src/formats/print.d.ts +25 -0
  118. package/src/formats/print.js +117 -0
  119. package/src/formats/zones.d.ts +10 -0
  120. package/src/formats/zones.js +64 -0
  121. package/src/geometry.js +5 -35
  122. package/src/grid.js +1 -1
  123. package/src/handmade.js +9 -7
  124. package/src/icons.js +42 -9
  125. package/src/index.d.ts +232 -55
  126. package/src/index.js +14 -6
  127. package/src/inter-data.js +27 -0
  128. package/src/json-recipe.js +201 -27
  129. package/src/kit/index.d.ts +20 -0
  130. package/src/kit/index.js +58 -0
  131. package/src/layer-options.js +43 -4
  132. package/src/layers/barcode.d.ts +19 -0
  133. package/src/layers/barcode.js +63 -0
  134. package/src/layers/code128.d.ts +4 -0
  135. package/src/layers/code128.js +28 -0
  136. package/src/layers/expr.d.ts +6 -0
  137. package/src/layers/expr.js +121 -0
  138. package/src/layers/geometry.d.ts +6 -0
  139. package/src/layers/geometry.js +238 -0
  140. package/src/layers/index.d.ts +18 -0
  141. package/src/layers/index.js +15 -0
  142. package/src/layers/perforation.d.ts +14 -0
  143. package/src/layers/perforation.js +47 -0
  144. package/src/layers/repeat.d.ts +29 -0
  145. package/src/layers/repeat.js +90 -0
  146. package/src/layers/shape.d.ts +46 -0
  147. package/src/layers/shape.js +115 -0
  148. package/src/layers/soft.d.ts +5 -0
  149. package/src/layers/soft.js +43 -0
  150. package/src/layers/svg.d.ts +23 -0
  151. package/src/layers/svg.js +108 -0
  152. package/src/layers/table.d.ts +25 -0
  153. package/src/layers/table.js +80 -0
  154. package/src/layers/tear.d.ts +21 -0
  155. package/src/layers/tear.js +74 -0
  156. package/src/layers/texture.d.ts +17 -0
  157. package/src/layers/texture.js +106 -0
  158. package/src/layers/util.d.ts +8 -0
  159. package/src/layers/util.js +61 -0
  160. package/src/layers.js +129 -61
  161. package/src/lint/image-size.d.ts +4 -0
  162. package/src/lint/image-size.js +34 -0
  163. package/src/lint/index.d.ts +16 -0
  164. package/src/lint/index.js +127 -0
  165. package/src/lint/rules.d.ts +5 -0
  166. package/src/lint/rules.js +19 -0
  167. package/src/node.d.ts +2 -0
  168. package/src/node.js +20 -0
  169. package/src/paint/index.d.ts +49 -0
  170. package/src/paint/index.js +66 -0
  171. package/src/paint/presets.d.ts +10 -0
  172. package/src/paint/presets.js +47 -0
  173. package/src/paint/tile.d.ts +7 -0
  174. package/src/paint/tile.js +55 -0
  175. package/src/palette.js +1 -1
  176. package/src/platform/files.d.ts +6 -0
  177. package/src/platform/files.js +41 -0
  178. package/src/platform/harfbuzz.d.ts +9 -0
  179. package/src/platform/harfbuzz.js +80 -0
  180. package/src/platform/index.d.ts +8 -0
  181. package/src/platform/index.js +15 -0
  182. package/src/platform/load.d.ts +6 -0
  183. package/src/platform/load.js +71 -0
  184. package/src/platform/no-harfbuzz.d.ts +2 -0
  185. package/src/platform/no-harfbuzz.js +11 -0
  186. package/src/platform/settings.d.ts +28 -0
  187. package/src/platform/settings.js +51 -0
  188. package/src/print.js +16 -13
  189. package/src/recipes.js +5 -4
  190. package/src/render/backdrop.d.ts +6 -0
  191. package/src/render/backdrop.js +55 -0
  192. package/src/render/context.d.ts +82 -0
  193. package/src/render/grain.d.ts +7 -0
  194. package/src/render/grain.js +113 -0
  195. package/src/render/group.d.ts +23 -0
  196. package/src/render/group.js +67 -0
  197. package/src/render/key.d.ts +5 -0
  198. package/src/render/key.js +90 -0
  199. package/src/render/report.d.ts +5 -0
  200. package/src/render/report.js +19 -0
  201. package/src/render/transform.d.ts +36 -0
  202. package/src/render/transform.js +139 -0
  203. package/src/render/use.d.ts +27 -0
  204. package/src/render/use.js +73 -0
  205. package/src/render/wrap.d.ts +14 -0
  206. package/src/render/wrap.js +144 -0
  207. package/src/render.js +343 -215
  208. package/src/text.d.ts +29 -0
  209. package/src/text.js +23 -16
  210. package/src/type/auto-color.d.ts +9 -0
  211. package/src/type/auto-color.js +44 -0
  212. package/src/type/fallback.d.ts +11 -0
  213. package/src/type/fallback.js +92 -0
  214. package/src/type/glyphs.d.ts +24 -0
  215. package/src/type/glyphs.js +87 -0
  216. package/src/type/index.d.ts +5 -0
  217. package/src/type/index.js +10 -0
  218. package/src/type/kern.d.ts +4 -0
  219. package/src/type/kern.js +144 -0
  220. package/src/type/layout-ref.d.ts +10 -0
  221. package/src/type/layout-ref.js +74 -0
  222. package/src/type/line.d.ts +11 -0
  223. package/src/type/line.js +105 -0
  224. package/src/type/live.d.ts +6 -0
  225. package/src/type/live.js +39 -0
  226. package/src/type/name.d.ts +4 -0
  227. package/src/type/name.js +32 -0
  228. package/src/type/path.d.ts +18 -0
  229. package/src/type/path.js +89 -0
  230. package/src/type/pixel.d.ts +7 -0
  231. package/src/type/pixel.js +85 -0
  232. package/src/type/sfnt.d.ts +20 -0
  233. package/src/type/sfnt.js +258 -0
  234. package/src/type/spans.d.ts +33 -0
  235. package/src/type/spans.js +138 -0
  236. package/src/type/symbols.d.ts +7 -0
  237. package/src/type/symbols.js +89 -0
  238. package/src/type/typeset.d.ts +10 -0
  239. package/src/type/typeset.js +363 -0
  240. package/src/type/woff2.d.ts +6 -0
  241. package/src/type/woff2.js +301 -0
  242. package/src/version.js +4 -0
  243. package/src/color.js +0 -246
  244. package/src/png.js +0 -77
  245. package/src/rng.js +0 -95
  246. package/src/svg.js +0 -69
@@ -0,0 +1,345 @@
1
+ {
2
+ "$schema": "../../../schema/recipe.schema.json",
3
+ "name": "smear-field",
4
+ "description": "Series (v2): a long-exposure sky seen through a window. A pale ground tinted from the palette; the fluid field (a sweep mesh with streaks, soft cloud orbs and light folds under one directional drag) shows only inside a large circle, ringed by a hairline; the series wordmark spans the full width at the top in a wide display face, in a deep ink mixed from the palette; the artist and title run as one line on a bottom hairline, and the catalogue number sits in a small pill at its end. Slots: {label}, {artist}, {title}, {catalog}, the palette (colors = the four stops; the ground and ink are mixed from them). Fonts: Syne, Geist.",
5
+ "params": {
6
+ "artist": "Artist",
7
+ "catalog": "",
8
+ "small": 24,
9
+ "lift": 0.16,
10
+ "drag": 60
11
+ },
12
+ "vars": {
13
+ "angle": {
14
+ "pick": [
15
+ -38,
16
+ -32,
17
+ -48,
18
+ 34,
19
+ 42
20
+ ]
21
+ },
22
+ "hx": {
23
+ "range": [
24
+ 300,
25
+ 700
26
+ ]
27
+ },
28
+ "hy": {
29
+ "range": [
30
+ 250,
31
+ 600
32
+ ]
33
+ },
34
+ "c1x": {
35
+ "range": [
36
+ 150,
37
+ 450
38
+ ]
39
+ },
40
+ "c2x": {
41
+ "range": [
42
+ 550,
43
+ 850
44
+ ]
45
+ },
46
+ "c1y": {
47
+ "range": [
48
+ 300,
49
+ 700
50
+ ]
51
+ },
52
+ "c2y": {
53
+ "range": [
54
+ 200,
55
+ 600
56
+ ]
57
+ },
58
+ "ink": {
59
+ "mix": [
60
+ "@colors.2",
61
+ "#0b0b14",
62
+ 0.62
63
+ ]
64
+ }
65
+ },
66
+ "layers": [
67
+ {
68
+ "id": "ground",
69
+ "type": "solid",
70
+ "color": {
71
+ "mix": [
72
+ "@colors.1",
73
+ "#ffffff",
74
+ 0.78
75
+ ]
76
+ }
77
+ },
78
+ {
79
+ "id": "cover",
80
+ "type": "group",
81
+ "viewBox": [
82
+ 0,
83
+ 0,
84
+ 1000,
85
+ 1000
86
+ ],
87
+ "fit": "cover",
88
+ "layers": [
89
+ {
90
+ "id": "window",
91
+ "type": "group",
92
+ "clip": [
93
+ {
94
+ "id": "windowShape",
95
+ "type": "shape",
96
+ "kind": "circle",
97
+ "cx": 500,
98
+ "cy": 528,
99
+ "r": 318,
100
+ "fill": "#000000"
101
+ }
102
+ ],
103
+ "layers": [
104
+ {
105
+ "id": "windowBase",
106
+ "type": "shape",
107
+ "kind": "rect",
108
+ "x": 0,
109
+ "y": 0,
110
+ "width": 1000,
111
+ "height": 1000,
112
+ "fill": {
113
+ "type": "linear",
114
+ "colors": [
115
+ "@colors.0",
116
+ "@colors.2"
117
+ ],
118
+ "angle": "$angle"
119
+ }
120
+ },
121
+ {
122
+ "id": "field",
123
+ "type": "mesh",
124
+ "colors": [
125
+ "@colors.0",
126
+ "@colors.1",
127
+ "@colors.2",
128
+ "@colors.3"
129
+ ],
130
+ "hues": 4,
131
+ "count": 5,
132
+ "arrangement": "sweep",
133
+ "angle": "$angle",
134
+ "blur": "9vmax",
135
+ "streaks": 5,
136
+ "streak": 2.2
137
+ },
138
+ {
139
+ "id": "clouds",
140
+ "type": "group",
141
+ "effects": [
142
+ {
143
+ "kind": "motion",
144
+ "angle": "$angle",
145
+ "length": "{drag}",
146
+ "spread": 3
147
+ }
148
+ ],
149
+ "layers": [
150
+ {
151
+ "id": "cloudA",
152
+ "type": "shape",
153
+ "kind": "ellipse",
154
+ "cx": "$c1x",
155
+ "cy": "$c1y",
156
+ "rx": 300,
157
+ "ry": 140,
158
+ "rotate": "$angle",
159
+ "fill": "@colors.3",
160
+ "opacity": 0.85,
161
+ "soft": 36
162
+ },
163
+ {
164
+ "id": "cloudB",
165
+ "type": "shape",
166
+ "kind": "ellipse",
167
+ "cx": "$c2x",
168
+ "cy": "$c2y",
169
+ "rx": 260,
170
+ "ry": 120,
171
+ "rotate": {
172
+ "add": [
173
+ "$angle",
174
+ 20
175
+ ]
176
+ },
177
+ "fill": "@colors.1",
178
+ "opacity": 0.8,
179
+ "soft": 30
180
+ },
181
+ {
182
+ "id": "cloudC",
183
+ "type": "shape",
184
+ "kind": "circle",
185
+ "cx": "$c2x",
186
+ "cy": {
187
+ "add": [
188
+ "$c1y",
189
+ 180
190
+ ]
191
+ },
192
+ "r": 150,
193
+ "fill": "@colors.2",
194
+ "opacity": 0.75,
195
+ "soft": 40
196
+ },
197
+ {
198
+ "id": "fold",
199
+ "type": "shape",
200
+ "kind": "ellipse",
201
+ "cx": "$hx",
202
+ "cy": {
203
+ "add": [
204
+ "$hy",
205
+ 120
206
+ ]
207
+ },
208
+ "rx": 460,
209
+ "ry": 36,
210
+ "rotate": "$angle",
211
+ "fill": "#ffffff",
212
+ "opacity": 0.55,
213
+ "soft": 12
214
+ },
215
+ {
216
+ "id": "fold2",
217
+ "type": "shape",
218
+ "kind": "ellipse",
219
+ "cx": {
220
+ "sub": [
221
+ 1000,
222
+ "$hx"
223
+ ]
224
+ },
225
+ "cy": {
226
+ "sub": [
227
+ 900,
228
+ "$hy"
229
+ ]
230
+ },
231
+ "rx": 380,
232
+ "ry": 24,
233
+ "rotate": {
234
+ "add": [
235
+ "$angle",
236
+ 8
237
+ ]
238
+ },
239
+ "fill": "#ffffff",
240
+ "opacity": 0.4,
241
+ "soft": 10
242
+ }
243
+ ]
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "id": "windowRing",
249
+ "type": "shape",
250
+ "kind": "circle",
251
+ "cx": 500,
252
+ "cy": 528,
253
+ "r": 338,
254
+ "fill": "none",
255
+ "stroke": "$ink",
256
+ "strokeWidth": 1.2,
257
+ "opacity": 0.5
258
+ },
259
+ {
260
+ "id": "wordmark",
261
+ "type": "text",
262
+ "content": {
263
+ "upper": "{label}"
264
+ },
265
+ "font": "Syne",
266
+ "weight": 800,
267
+ "size": 150,
268
+ "letterSpacing": 0.02,
269
+ "x": 500,
270
+ "y": 168,
271
+ "align": "center",
272
+ "fit": "width",
273
+ "width": 888,
274
+ "maxWidth": 888,
275
+ "color": "$ink"
276
+ },
277
+ {
278
+ "id": "rule",
279
+ "type": "shape",
280
+ "kind": "line",
281
+ "x1": 56,
282
+ "y1": 894,
283
+ "x2": 944,
284
+ "y2": 894,
285
+ "stroke": "$ink",
286
+ "strokeWidth": 1.2
287
+ },
288
+ {
289
+ "id": "credit",
290
+ "type": "text",
291
+ "font": "Geist",
292
+ "size": "{small}",
293
+ "x": 56,
294
+ "y": 940,
295
+ "maxWidth": 680,
296
+ "maxLines": 1,
297
+ "fit": "shrink",
298
+ "color": "$ink",
299
+ "spans": [
300
+ {
301
+ "content": "{artist}",
302
+ "weight": 600
303
+ },
304
+ {
305
+ "content": " \u00b7 {title}",
306
+ "weight": 400
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ "id": "pill",
312
+ "type": "shape",
313
+ "when": "catalog",
314
+ "kind": "rect",
315
+ "x": 810,
316
+ "y": 914,
317
+ "width": 134,
318
+ "height": 40,
319
+ "radius": 20,
320
+ "fill": "none",
321
+ "stroke": "$ink",
322
+ "strokeWidth": 1.4
323
+ },
324
+ {
325
+ "id": "catalog",
326
+ "type": "text",
327
+ "when": "catalog",
328
+ "content": "No. {catalog}",
329
+ "font": "Geist",
330
+ "weight": 600,
331
+ "size": 19,
332
+ "x": 877,
333
+ "y": 941,
334
+ "align": "center",
335
+ "color": "$ink"
336
+ }
337
+ ]
338
+ },
339
+ {
340
+ "id": "grain",
341
+ "type": "grain",
342
+ "amount": 0.06
343
+ }
344
+ ]
345
+ }
@@ -0,0 +1,202 @@
1
+ {
2
+ "$schema": "../../../schema/recipe.schema.json",
3
+ "name": "smear",
4
+ "description": "Series (v2): a photo dragged into pastel streaks, set as an editorial page. The photo is dragged along a seeded angle with covers' motion blur (drawn on pixels in renderImage), lifted toward pastel and washed with the palette's stops. The series wordmark is small, tracked wide and centred under the top edge over a full-width hairline; the artist and title run as one line beneath it; the catalogue number is the image's anchor, huge solid numerals cropped off the bottom edge and fading out downward. Slots: {photo}, {label}, {artist}, {title}, {catalog}, the palette (colors = the wash, text = the type and numerals). Params: drag (the blur's length), lift, wash, small. Fonts: Outfit, Geist.",
5
+ "requires": [
6
+ "photo"
7
+ ],
8
+ "params": {
9
+ "artist": "Artist",
10
+ "catalog": "",
11
+ "small": 24,
12
+ "wash": 0.5,
13
+ "lift": 0.72,
14
+ "drag": 70
15
+ },
16
+ "vars": {
17
+ "hx": {
18
+ "range": [
19
+ 300,
20
+ 700
21
+ ]
22
+ },
23
+ "hy": {
24
+ "range": [
25
+ 250,
26
+ 600
27
+ ]
28
+ },
29
+ "angle": {
30
+ "pick": [
31
+ -38,
32
+ -32,
33
+ -46,
34
+ 37,
35
+ 45
36
+ ]
37
+ }
38
+ },
39
+ "layers": [
40
+ {
41
+ "id": "page",
42
+ "type": "solid",
43
+ "color": "@colors.0"
44
+ },
45
+ {
46
+ "id": "cover",
47
+ "type": "group",
48
+ "viewBox": [
49
+ 0,
50
+ 0,
51
+ 1000,
52
+ 1000
53
+ ],
54
+ "fit": "cover",
55
+ "layers": [
56
+ {
57
+ "id": "smear",
58
+ "type": "image",
59
+ "src": "{photo}",
60
+ "x": 0,
61
+ "y": 0,
62
+ "width": 1000,
63
+ "height": 1000,
64
+ "fit": "cover",
65
+ "effects": [
66
+ {
67
+ "kind": "motion",
68
+ "angle": "$angle",
69
+ "length": "{drag}"
70
+ },
71
+ {
72
+ "kind": "levels",
73
+ "slope": "{lift}",
74
+ "intercept": {
75
+ "sub": [
76
+ 1,
77
+ "{lift}"
78
+ ]
79
+ }
80
+ },
81
+ {
82
+ "kind": "saturate",
83
+ "amount": 1.45
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "id": "wash",
89
+ "type": "shape",
90
+ "kind": "rect",
91
+ "x": 0,
92
+ "y": 0,
93
+ "width": 1000,
94
+ "height": 1000,
95
+ "blend": "soft-light",
96
+ "opacity": "{wash}",
97
+ "fill": {
98
+ "type": "linear",
99
+ "colors": [
100
+ "@colors.0",
101
+ "@colors.1",
102
+ "@colors.2"
103
+ ],
104
+ "angle": 135
105
+ }
106
+ },
107
+ {
108
+ "id": "haze",
109
+ "type": "shape",
110
+ "kind": "ellipse",
111
+ "cx": "$hx",
112
+ "cy": "$hy",
113
+ "rx": 420,
114
+ "ry": 260,
115
+ "rotate": -35,
116
+ "fill": "#ffffff",
117
+ "opacity": 0.18,
118
+ "soft": 120
119
+ },
120
+ {
121
+ "id": "number",
122
+ "type": "text",
123
+ "when": "catalog",
124
+ "content": "{catalog}",
125
+ "font": "Outfit",
126
+ "weight": 800,
127
+ "size": 600,
128
+ "letterSpacing": -0.06,
129
+ "x": 500,
130
+ "y": 1105,
131
+ "align": "center",
132
+ "fill": {
133
+ "type": "linear",
134
+ "colors": [
135
+ "@text",
136
+ "@text"
137
+ ],
138
+ "opacities": [
139
+ 0.92,
140
+ 0.2
141
+ ],
142
+ "angle": 180
143
+ }
144
+ },
145
+ {
146
+ "id": "wordmark",
147
+ "type": "text",
148
+ "content": {
149
+ "upper": "{label}"
150
+ },
151
+ "font": "Outfit",
152
+ "weight": 600,
153
+ "size": 21,
154
+ "letterSpacing": 0.5,
155
+ "x": 500,
156
+ "y": 70,
157
+ "align": "center",
158
+ "color": "@text"
159
+ },
160
+ {
161
+ "id": "rule",
162
+ "type": "shape",
163
+ "kind": "line",
164
+ "x1": 56,
165
+ "y1": 104,
166
+ "x2": 944,
167
+ "y2": 104,
168
+ "stroke": "@text",
169
+ "strokeWidth": 1.2,
170
+ "opacity": 0.85
171
+ },
172
+ {
173
+ "id": "credit",
174
+ "type": "text",
175
+ "font": "Geist",
176
+ "size": "{small}",
177
+ "letterSpacing": -0.01,
178
+ "x": 56,
179
+ "y": 152,
180
+ "maxWidth": 888,
181
+ "lineHeight": 1.25,
182
+ "color": "@text",
183
+ "spans": [
184
+ {
185
+ "content": "{artist}",
186
+ "weight": 600
187
+ },
188
+ {
189
+ "content": " \u00b7 {title}",
190
+ "weight": 400
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "id": "grain",
198
+ "type": "grain",
199
+ "amount": 0.06
200
+ }
201
+ ]
202
+ }
@@ -0,0 +1,172 @@
1
+ {
2
+ "$schema": "../../../schema/recipe.schema.json",
3
+ "name": "spin",
4
+ "description": "Series (v2): a photo spun into a warm abstract around an off-centre point. The photo is spun with covers' spin blur round a seeded centre low and left, then toned through the palette and lifted pale toward the bottom. A hairline circle orbits the spin's centre and the artist and title run round it in tracked caps; the label's wordmark sits small top-right over a short rule. Slots: {photo}, {artist}, {title}, {label}, the palette (colors.0 deep, colors.1 warm, colors.2 pale; text = type). Params: spin (degrees). Fonts: Inter Tight, Urbanist.",
5
+ "requires": [
6
+ "photo"
7
+ ],
8
+ "params": {
9
+ "artist": "Artist",
10
+ "spin": 70,
11
+ "small": 26
12
+ },
13
+ "vars": {
14
+ "cx": {
15
+ "range": [
16
+ 340,
17
+ 420
18
+ ]
19
+ },
20
+ "cy": {
21
+ "range": [
22
+ 560,
23
+ 640
24
+ ]
25
+ }
26
+ },
27
+ "layers": [
28
+ {
29
+ "id": "base",
30
+ "type": "solid",
31
+ "color": "@colors.1"
32
+ },
33
+ {
34
+ "id": "cover",
35
+ "type": "group",
36
+ "viewBox": [
37
+ 0,
38
+ 0,
39
+ 1000,
40
+ 1000
41
+ ],
42
+ "fit": "cover",
43
+ "layers": [
44
+ {
45
+ "id": "spun",
46
+ "type": "image",
47
+ "src": "{photo}",
48
+ "x": 0,
49
+ "y": 0,
50
+ "width": 1000,
51
+ "height": 1000,
52
+ "fit": "cover",
53
+ "effects": [
54
+ {
55
+ "kind": "spin",
56
+ "angle": "{spin}",
57
+ "center": [
58
+ {
59
+ "div": [
60
+ "$cx",
61
+ 1000
62
+ ]
63
+ },
64
+ {
65
+ "div": [
66
+ "$cy",
67
+ 1000
68
+ ]
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "kind": "duotone",
74
+ "colors": [
75
+ "@colors.0",
76
+ "@colors.1",
77
+ "@colors.2"
78
+ ],
79
+ "contrast": 1.1
80
+ },
81
+ {
82
+ "kind": "saturate",
83
+ "amount": 1.15
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "id": "pale",
89
+ "type": "shape",
90
+ "kind": "rect",
91
+ "x": 0,
92
+ "y": 0,
93
+ "width": 1000,
94
+ "height": 1000,
95
+ "blend": "screen",
96
+ "fill": {
97
+ "type": "linear",
98
+ "colors": [
99
+ "@colors.2",
100
+ "@colors.2"
101
+ ],
102
+ "opacities": [
103
+ 0,
104
+ 0.6
105
+ ],
106
+ "angle": 180
107
+ }
108
+ },
109
+ {
110
+ "id": "orbit",
111
+ "type": "shape",
112
+ "kind": "circle",
113
+ "cx": "$cx",
114
+ "cy": "$cy",
115
+ "r": 292,
116
+ "fill": "none",
117
+ "stroke": "@text",
118
+ "strokeWidth": 1.3,
119
+ "opacity": 0.7
120
+ },
121
+ {
122
+ "id": "circle",
123
+ "type": "text",
124
+ "content": {
125
+ "upper": "{artist} \u00b7 {title} \u00b7 "
126
+ },
127
+ "font": "Inter Tight",
128
+ "weight": 600,
129
+ "size": "{small}",
130
+ "letterSpacing": 0.12,
131
+ "path": {
132
+ "kind": "circle",
133
+ "cx": "$cx",
134
+ "cy": "$cy",
135
+ "r": 312,
136
+ "start": 240
137
+ },
138
+ "color": "@text"
139
+ },
140
+ {
141
+ "id": "wordmark",
142
+ "type": "text",
143
+ "content": "{label}",
144
+ "font": "Urbanist",
145
+ "weight": 700,
146
+ "size": 32,
147
+ "letterSpacing": -0.02,
148
+ "x": 944,
149
+ "y": 84,
150
+ "align": "right",
151
+ "color": "@text"
152
+ },
153
+ {
154
+ "id": "wordRule",
155
+ "type": "shape",
156
+ "kind": "line",
157
+ "x1": 800,
158
+ "y1": 108,
159
+ "x2": 944,
160
+ "y2": 108,
161
+ "stroke": "@text",
162
+ "strokeWidth": 1.3
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "id": "grain",
168
+ "type": "grain",
169
+ "amount": 0.1
170
+ }
171
+ ]
172
+ }