Отсканируй на iPhone, чтобы установить
It’s random, you can’t control the cube
Что нового
Версия 1.0
First release
Что делает
Действий: 20-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Create Color Imagecom.sindresorhus.Actions
-
List
-
Combine Images
-
Random Number
-
Overlay Text
-
Overlay Text
-
Overlay Text
-
Repeat
-
List
-
Overlay Text
-
Overlay Text
-
Overlay Text
-
Overlay Text
-
Overlay Text
-
List
-
Repeat
-
List
-
Make GIF
-
Quick Look
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color darkgray
#define glyph cube
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"endColor": "#646569",
"height": "256",
"startColor": "#898989",
"width": "256"
})
rawAction("com.sindresorhus.Actions.CreateColorImageIntent", {
"AppIntentDescriptor": "",
"color": "#343434",
"height": "256",
"width": "256"
})
const List = list(, )
rawAction("is.workflow.actions.image.combine", {
"WFImageCombineMode": "Vertically",
"WFInput": "List"
})
const RandomNumber = randomNumber(1, 15)
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.2720000147819519,
"WFText": "□",
"WFTextPosition": "Middle Left",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.24199999868869781,
"WFText": "□",
"WFTextColor": "",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.2580000162124634,
"WFText": "□",
"WFTextColor": "",
"WFTextPosition": "Middle Right",
"WFTextRotation": "0"
})
repeat _ for RandomNumber {
list(, , )
}
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.29600000381469727,
"WFText": "□",
"WFTextColor": "",
"WFTextPosition": "Middle Left",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.26675206422805786,
"WFText": "◇",
"WFTextColor": "",
"WFTextPosition": "Top Center",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.28200000524520874,
"WFText": "□",
"WFTextColor": "",
"WFTextPosition": "Top Center",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.20800000429153442,
"WFText": "◇",
"WFTextColor": "",
"WFTextPosition": "Top Right",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "CombinedImage",
"WFPercentageFontSize": 0.25,
"WFText": "□",
"WFTextColor": "",
"WFTextPosition": "Middle Right",
"WFTextRotation": "0"
})
list(, , , , )
repeat _ for 1 {
list(, , )
}
const GIF = makeGIF(RepeatResults)
quicklook(GIF)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от oliveranimates7
Вам также может понравиться
Реклама