Seamless Pattern Generator
It does what it says, a simple way to transform your designs into seamless patterns
cdmoroОтсканируй на iPhone, чтобы установить
Просмотр
It does what it says, a simple way to transform your designs into seamless patterns. Select an image, and then you can add some elements here and there or touch ups and your pattern is ready! First image: your design Second image: output
Что нового
Версия 1.0
First release
Что делает
Действий: 9-
Get Details of Images
-
Calculate
-
Get Details of Images
-
Calculate
-
List
-
Repeat with Each
-
Crop Image
-
Combine Images
-
Show Result
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/images'
#define color purple
#define glyph twoxTwoRectangles
const Width = getImageDetail(ShortcutInput, "Width")
const TileWidth = Width / 2
const Height = getImageDetail(ShortcutInput, "Height")
const TileHeight = Height / 2
const List = list("Bottom Right", "Bottom Left", "Top Right", "Top Left")
const RepeatResults = for _ in List {
cropImage(ShortcutInput, TileWidth, TileHeight, @RepeatItem)
}
rawAction("is.workflow.actions.image.combine", {
"WFImageCombineMode": "In a Grid",
"WFImageCombineSpacing": "0",
"WFInput": "RepeatResults"
})
show()
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от cdmoro
Вам также может понравиться
Реклама