Seamless Pattern Generator
It does what it says, a simple way to transform your designs into seamless patterns
cdmoroScan with your iPhone to install
Preview
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
What's New
Version 1.0
First release
What it does
9 actions-
Get Details of Images
-
Calculate
-
Get Details of Images
-
Calculate
-
List
-
Repeat with Each
-
Crop Image
-
Combine Images
-
Show Result
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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()
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by cdmoro
You Might Also Like
Advertisement