agentcut 0.2.3 → 0.2.5

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 (35) hide show
  1. package/dist/studio/tools.js +17 -2
  2. package/dist/studio/tools.js.map +1 -1
  3. package/dist/studio/workspace.js +4 -0
  4. package/dist/studio/workspace.js.map +1 -1
  5. package/package.json +1 -1
  6. package/template/components/CATALOG.md +52 -0
  7. package/template/components/README.md +70 -61
  8. package/template/components/STYLES.md +2 -0
  9. package/template/components/catalog.json +477 -0
  10. package/template/components/catalog.ts +4 -0
  11. package/template/components/cinematic/Cinematic.tsx +1139 -0
  12. package/template/components/cinematic/Device3D.tsx +299 -0
  13. package/template/components/cinematic/devices3d/display-model.ts +184 -0
  14. package/template/components/cinematic/devices3d/iphone-model.ts +643 -0
  15. package/template/components/cinematic/devices3d/macbook-model.ts +553 -0
  16. package/template/components/cinematic/devices3d/models.ts +612 -0
  17. package/template/components/cinematic/devices3d/runtime.ts +258 -0
  18. package/template/components/cinematic/math.ts +100 -0
  19. package/template/components/dot-trace-title/DotTraceTitle.tsx +181 -0
  20. package/template/components/dot-trace-title/meta.json +51 -0
  21. package/template/components/generate/GenerateReveal.tsx +381 -0
  22. package/template/components/index.ts +36 -0
  23. package/template/components/lib.ts +18 -6
  24. package/template/components/loops/LoopCanvas.tsx +132 -0
  25. package/template/components/loops/engine.ts +184 -0
  26. package/template/components/loops/library.ts +667 -0
  27. package/template/components/loops/library2.ts +777 -0
  28. package/template/components/motion-loop/MotionLoop.tsx +37 -0
  29. package/template/components/motion-loop/meta.json +312 -0
  30. package/template/runtime/composition.tsx +927 -920
  31. package/template/skill/SKILL.md +20 -3
  32. package/template/skill/references/browser-export.md +61 -61
  33. package/template/skill/references/cinematic.md +171 -0
  34. package/template/skill/references/loops.md +151 -0
  35. package/template/skill/references/performance.md +81 -0
@@ -1184,6 +1184,318 @@
1184
1184
  ],
1185
1185
  "stillAt": 0.4
1186
1186
  },
1187
+ {
1188
+ "id": "motion-loop",
1189
+ "name": "Motion Loop",
1190
+ "category": "Backgrounds",
1191
+ "description": "A seamless motion loop in your brand colours: 44 loops across backgrounds, shapes, symmetry (kaleidoscope, mandala, spirograph), shape morphing, little games (snake, pong, falling blocks, Game of Life), physics (Newton's cradle, gears, dominoes) and generative pieces, each a pure function of time that never shows a seam.",
1192
+ "useWhen": "Behind titles, product shots, quotes and end cards; between shots; as a shape centerpiece over a background (transparent). Rotate loops: never the same loop twice in a row, and pick by mood (see each option). Set accent/accent2 to the brand colours and choose the tone: dark (deep brand background), accent (solid brand colour), light (paper). Change seed for another layout of the same loop.",
1193
+ "durationInFrames": 360,
1194
+ "layer": "full",
1195
+ "tags": [
1196
+ "loop",
1197
+ "background",
1198
+ "motion graphics",
1199
+ "shapes",
1200
+ "pattern",
1201
+ "brand",
1202
+ "seamless",
1203
+ "abstract"
1204
+ ],
1205
+ "props": {
1206
+ "loop": {
1207
+ "type": "select",
1208
+ "label": "Loop",
1209
+ "default": "gradient-blobs",
1210
+ "options": [
1211
+ {
1212
+ "value": "perspective-grid",
1213
+ "label": "Perspective Grid · Backgrounds"
1214
+ },
1215
+ {
1216
+ "value": "dot-wave",
1217
+ "label": "Dot Wave · Backgrounds"
1218
+ },
1219
+ {
1220
+ "value": "flow-lines",
1221
+ "label": "Flow Lines · Backgrounds"
1222
+ },
1223
+ {
1224
+ "value": "gradient-blobs",
1225
+ "label": "Gradient Blobs · Backgrounds"
1226
+ },
1227
+ {
1228
+ "value": "stripes-scroll",
1229
+ "label": "Stripe Scroll · Backgrounds"
1230
+ },
1231
+ {
1232
+ "value": "concentric-pulse",
1233
+ "label": "Concentric Pulse · Backgrounds"
1234
+ },
1235
+ {
1236
+ "value": "checker-twist",
1237
+ "label": "Checker Twist · Backgrounds"
1238
+ },
1239
+ {
1240
+ "value": "halftone-sweep",
1241
+ "label": "Halftone Sweep · Backgrounds"
1242
+ },
1243
+ {
1244
+ "value": "terrain-ridges",
1245
+ "label": "Terrain Ridges · Backgrounds"
1246
+ },
1247
+ {
1248
+ "value": "starfield-warp",
1249
+ "label": "Starfield Warp · Backgrounds"
1250
+ },
1251
+ {
1252
+ "value": "bokeh-drift",
1253
+ "label": "Bokeh Drift · Backgrounds"
1254
+ },
1255
+ {
1256
+ "value": "iso-cubes",
1257
+ "label": "Iso Cubes · Backgrounds"
1258
+ },
1259
+ {
1260
+ "value": "ribbon-weave",
1261
+ "label": "Ribbon Weave · Backgrounds"
1262
+ },
1263
+ {
1264
+ "value": "tile-mosaic",
1265
+ "label": "Tile Mosaic · Backgrounds"
1266
+ },
1267
+ {
1268
+ "value": "orbit-rings",
1269
+ "label": "Orbit Rings · Shapes"
1270
+ },
1271
+ {
1272
+ "value": "morph-blob",
1273
+ "label": "Morph Blob · Shapes"
1274
+ },
1275
+ {
1276
+ "value": "bouncing-ball",
1277
+ "label": "Bouncing Ball · Shapes"
1278
+ },
1279
+ {
1280
+ "value": "spinner-petals",
1281
+ "label": "Spinner Petals · Shapes"
1282
+ },
1283
+ {
1284
+ "value": "stacked-squares",
1285
+ "label": "Stacked Squares · Shapes"
1286
+ },
1287
+ {
1288
+ "value": "ripple-drop",
1289
+ "label": "Ripple Drop · Shapes"
1290
+ },
1291
+ {
1292
+ "value": "cube-spin",
1293
+ "label": "Cube Spin · Shapes"
1294
+ },
1295
+ {
1296
+ "value": "dna-helix",
1297
+ "label": "DNA Helix · Shapes"
1298
+ },
1299
+ {
1300
+ "value": "pie-burst",
1301
+ "label": "Pie Burst · Shapes"
1302
+ },
1303
+ {
1304
+ "value": "wave-bars",
1305
+ "label": "Wave Bars · Shapes"
1306
+ },
1307
+ {
1308
+ "value": "kaleidoscope",
1309
+ "label": "Kaleidoscope · Symmetry"
1310
+ },
1311
+ {
1312
+ "value": "mandala-bloom",
1313
+ "label": "Mandala Bloom · Symmetry"
1314
+ },
1315
+ {
1316
+ "value": "spirograph",
1317
+ "label": "Spirograph · Symmetry"
1318
+ },
1319
+ {
1320
+ "value": "mirror-tiles",
1321
+ "label": "Mirror Tiles · Symmetry"
1322
+ },
1323
+ {
1324
+ "value": "radial-burst",
1325
+ "label": "Radial Burst · Symmetry"
1326
+ },
1327
+ {
1328
+ "value": "shape-morph",
1329
+ "label": "Shape Morph · Morphing"
1330
+ },
1331
+ {
1332
+ "value": "morph-grid",
1333
+ "label": "Morph Grid · Morphing"
1334
+ },
1335
+ {
1336
+ "value": "shape-shuffle",
1337
+ "label": "Shape Shuffle · Morphing"
1338
+ },
1339
+ {
1340
+ "value": "metaballs",
1341
+ "label": "Metaballs · Morphing"
1342
+ },
1343
+ {
1344
+ "value": "snake-game",
1345
+ "label": "Snake · Games"
1346
+ },
1347
+ {
1348
+ "value": "falling-blocks",
1349
+ "label": "Falling Blocks · Games"
1350
+ },
1351
+ {
1352
+ "value": "pong",
1353
+ "label": "Pong · Games"
1354
+ },
1355
+ {
1356
+ "value": "life-gliders",
1357
+ "label": "Life Gliders · Games"
1358
+ },
1359
+ {
1360
+ "value": "newtons-cradle",
1361
+ "label": "Newton's Cradle · Physics"
1362
+ },
1363
+ {
1364
+ "value": "clock-gears",
1365
+ "label": "Clock Gears · Physics"
1366
+ },
1367
+ {
1368
+ "value": "liquid-fill",
1369
+ "label": "Liquid Fill · Physics"
1370
+ },
1371
+ {
1372
+ "value": "domino-wave",
1373
+ "label": "Domino Wave · Physics"
1374
+ },
1375
+ {
1376
+ "value": "vortex",
1377
+ "label": "Vortex · Generative"
1378
+ },
1379
+ {
1380
+ "value": "lissajous-trail",
1381
+ "label": "Lissajous Trail · Generative"
1382
+ },
1383
+ {
1384
+ "value": "bubble-pop",
1385
+ "label": "Bubble Pop · Generative"
1386
+ }
1387
+ ]
1388
+ },
1389
+ "tone": {
1390
+ "type": "select",
1391
+ "label": "Tone",
1392
+ "default": "dark",
1393
+ "options": [
1394
+ {
1395
+ "value": "dark",
1396
+ "label": "Dark (deep brand)"
1397
+ },
1398
+ {
1399
+ "value": "accent",
1400
+ "label": "Accent (brand colour)"
1401
+ },
1402
+ {
1403
+ "value": "light",
1404
+ "label": "Light (paper)"
1405
+ }
1406
+ ]
1407
+ },
1408
+ "accent": {
1409
+ "type": "color",
1410
+ "style": "accent",
1411
+ "label": "Brand colour",
1412
+ "default": "#7c5cff"
1413
+ },
1414
+ "accent2": {
1415
+ "type": "color",
1416
+ "label": "Second colour",
1417
+ "default": "#ff5ca8"
1418
+ },
1419
+ "speed": {
1420
+ "type": "number",
1421
+ "label": "Speed",
1422
+ "default": 1,
1423
+ "min": 0.25,
1424
+ "max": 3,
1425
+ "step": 0.25,
1426
+ "unit": "×",
1427
+ "help": "Any speed is seamless within the clip. To repeat the clip itself, make its length × speed a multiple of 12 s."
1428
+ },
1429
+ "seed": {
1430
+ "type": "number",
1431
+ "label": "Layout",
1432
+ "default": 0,
1433
+ "min": 0,
1434
+ "max": 99,
1435
+ "step": 1
1436
+ },
1437
+ "transparent": {
1438
+ "type": "boolean",
1439
+ "label": "Transparent",
1440
+ "default": false,
1441
+ "help": "No background: a shape over footage or another layer."
1442
+ },
1443
+ "blur": {
1444
+ "type": "number",
1445
+ "label": "Motion blur",
1446
+ "default": 4,
1447
+ "min": 1,
1448
+ "max": 12,
1449
+ "step": 1,
1450
+ "help": "Sub-frames per frame in the export (the preview shows 1)."
1451
+ },
1452
+ "fade": {
1453
+ "type": "boolean",
1454
+ "label": "Fade in/out",
1455
+ "default": true
1456
+ }
1457
+ },
1458
+ "examples": [
1459
+ {
1460
+ "name": "Brand mesh",
1461
+ "props": {}
1462
+ },
1463
+ {
1464
+ "name": "Synth grid",
1465
+ "props": {
1466
+ "loop": "perspective-grid",
1467
+ "accent": "#22d3ee",
1468
+ "accent2": "#f472b6"
1469
+ }
1470
+ },
1471
+ {
1472
+ "name": "Paper dots",
1473
+ "props": {
1474
+ "loop": "dot-wave",
1475
+ "tone": "light",
1476
+ "accent": "#f97316"
1477
+ }
1478
+ },
1479
+ {
1480
+ "name": "Orbit on brand",
1481
+ "props": {
1482
+ "loop": "orbit-rings",
1483
+ "tone": "accent",
1484
+ "accent": "#2563eb",
1485
+ "accent2": "#facc15"
1486
+ }
1487
+ },
1488
+ {
1489
+ "name": "Iso city",
1490
+ "props": {
1491
+ "loop": "iso-cubes",
1492
+ "accent": "#10b981",
1493
+ "accent2": "#f59e0b"
1494
+ }
1495
+ }
1496
+ ],
1497
+ "stillAt": 0.3
1498
+ },
1187
1499
  {
1188
1500
  "id": "spotlight-grid",
1189
1501
  "name": "Spotlight Grid",
@@ -5102,6 +5414,171 @@
5102
5414
  ],
5103
5415
  "stillAt": 0.85
5104
5416
  },
5417
+ {
5418
+ "id": "dot-trace-title",
5419
+ "name": "Dot Trace Title",
5420
+ "category": "Text & Titles",
5421
+ "description": "A headline that looks generated by an agent: a scan line traces the letters in dots, the dots swell into the glyphs, and the real type resolves out of a blur.",
5422
+ "useWhen": "AI products, agents, 'built by AI', launches of generative features, the moment a product creates something; also a techy title card for dev tools. Two or three short words per line. Mark the accent word with *stars*.",
5423
+ "durationInFrames": 90,
5424
+ "layer": "overlay",
5425
+ "stillAt": 0.75,
5426
+ "tags": [
5427
+ "ai",
5428
+ "generate",
5429
+ "dots",
5430
+ "scan",
5431
+ "title",
5432
+ "agent",
5433
+ "tech",
5434
+ "halftone"
5435
+ ],
5436
+ "props": {
5437
+ "lines": {
5438
+ "type": "lines",
5439
+ "label": "Headline",
5440
+ "default": [
5441
+ "Generated",
5442
+ "by *agents*"
5443
+ ],
5444
+ "max": 3,
5445
+ "help": "One line per row. *Starred* words (or a *starred phrase*) use the accent."
5446
+ },
5447
+ "font": {
5448
+ "type": "select",
5449
+ "style": "font",
5450
+ "label": "Font",
5451
+ "default": "display",
5452
+ "options": [
5453
+ {
5454
+ "value": "display",
5455
+ "label": "Bricolage"
5456
+ },
5457
+ {
5458
+ "value": "sans",
5459
+ "label": "Inter"
5460
+ },
5461
+ {
5462
+ "value": "grotesk",
5463
+ "label": "Space Grotesk"
5464
+ },
5465
+ {
5466
+ "value": "wide",
5467
+ "label": "Unbounded"
5468
+ },
5469
+ {
5470
+ "value": "serif",
5471
+ "label": "Instrument Serif"
5472
+ },
5473
+ {
5474
+ "value": "mono",
5475
+ "label": "Geist Mono"
5476
+ },
5477
+ {
5478
+ "value": "condensed",
5479
+ "label": "Anton"
5480
+ }
5481
+ ]
5482
+ },
5483
+ "weight": {
5484
+ "type": "select",
5485
+ "style": "weight",
5486
+ "label": "Weight",
5487
+ "default": "800",
5488
+ "options": [
5489
+ {
5490
+ "value": "500",
5491
+ "label": "Medium"
5492
+ },
5493
+ {
5494
+ "value": "700",
5495
+ "label": "Bold"
5496
+ },
5497
+ {
5498
+ "value": "800",
5499
+ "label": "Extra bold"
5500
+ }
5501
+ ]
5502
+ },
5503
+ "size": {
5504
+ "type": "number",
5505
+ "label": "Size",
5506
+ "default": 18,
5507
+ "min": 6,
5508
+ "max": 34,
5509
+ "step": 0.5,
5510
+ "unit": "% of frame",
5511
+ "help": "Type size: this share of the frame's short side, times 0.9 (18 is about 16% of the short side)."
5512
+ },
5513
+ "color": {
5514
+ "type": "color",
5515
+ "style": "text",
5516
+ "label": "Text",
5517
+ "default": "#ffffff"
5518
+ },
5519
+ "accent": {
5520
+ "type": "color",
5521
+ "style": "accent",
5522
+ "label": "Scan and accent",
5523
+ "default": "#7c5cff"
5524
+ },
5525
+ "background": {
5526
+ "type": "color",
5527
+ "label": "Background",
5528
+ "default": "transparent"
5529
+ },
5530
+ "dot": {
5531
+ "type": "number",
5532
+ "label": "Dot size",
5533
+ "default": 9,
5534
+ "min": 4,
5535
+ "max": 24,
5536
+ "step": 1,
5537
+ "unit": "px",
5538
+ "help": "Dot spacing in px at 1080p on the short side; it scales with the frame size."
5539
+ },
5540
+ "build": {
5541
+ "type": "number",
5542
+ "label": "Build time",
5543
+ "default": 1.8,
5544
+ "min": 0.6,
5545
+ "max": 5,
5546
+ "step": 0.1,
5547
+ "unit": "s"
5548
+ }
5549
+ },
5550
+ "examples": [
5551
+ {
5552
+ "name": "Generated",
5553
+ "props": {}
5554
+ },
5555
+ {
5556
+ "name": "On paper",
5557
+ "props": {
5558
+ "lines": [
5559
+ "Your site,",
5560
+ "*built*"
5561
+ ],
5562
+ "color": "#111111",
5563
+ "accent": "#f97316",
5564
+ "background": "#f5f3ee",
5565
+ "font": "grotesk"
5566
+ }
5567
+ },
5568
+ {
5569
+ "name": "Mono",
5570
+ "props": {
5571
+ "lines": [
5572
+ "npx agentcut"
5573
+ ],
5574
+ "font": "mono",
5575
+ "weight": "700",
5576
+ "accent": "#22d3ee",
5577
+ "size": 12
5578
+ }
5579
+ }
5580
+ ]
5581
+ },
5105
5582
  {
5106
5583
  "id": "editorial-quote",
5107
5584
  "name": "Editorial Quote",
@@ -19,6 +19,8 @@ import highlighter from "./highlighter/meta.json";
19
19
  import logoSting from "./logo-sting/meta.json";
20
20
  import marquee from "./marquee/meta.json";
21
21
  import aurora from "./aurora/meta.json";
22
+ import motionLoop from "./motion-loop/meta.json";
23
+ import dotTraceTitle from "./dot-trace-title/meta.json";
22
24
  import lavaLamp from "./lava-lamp/meta.json";
23
25
  import spotlightGrid from "./spotlight-grid/meta.json";
24
26
  import irisWipe from "./iris-wipe/meta.json";
@@ -70,6 +72,8 @@ export const COMPONENT_METAS: Record<string, ComponentMeta> = {
70
72
  "logo-sting": logoSting as unknown as ComponentMeta,
71
73
  "marquee": marquee as unknown as ComponentMeta,
72
74
  "aurora": aurora as unknown as ComponentMeta,
75
+ "motion-loop": motionLoop as unknown as ComponentMeta,
76
+ "dot-trace-title": dotTraceTitle as unknown as ComponentMeta,
73
77
  "lava-lamp": lavaLamp as unknown as ComponentMeta,
74
78
  "spotlight-grid": spotlightGrid as unknown as ComponentMeta,
75
79
  "iris-wipe": irisWipe as unknown as ComponentMeta,