ShareShortcuts

Cool Patterns

It makes patterns with different intensities

oliveranimates7
„Cool Patterns“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit oliveranimates7 die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
2K
Gesichert
0
Aktionen
30
Kategorie
API
Version
1.0
Sprache
EN

It makes patterns with different intensities

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 6. Sep 2026

First release

Was er macht

30 Aktionen
  1. Comment
    This list is for the intensity
  2. List
  3. Get Item from List
  4. If
  5. Repeat
  6. Random Number
  7. Random Number
  8. Random Color
    com.sindresorhus.Actions
  9. Create Color Image
    com.sindresorhus.Actions
  10. Combine Images
  11. Quick Look
  12. If
  13. If
  14. Repeat
  15. Random Color
    com.sindresorhus.Actions
  16. Random Color
    com.sindresorhus.Actions
  17. Create Gradient Color Image
    com.sindresorhus.Actions
  18. Combine Images
  19. Quick Look
  20. If
  21. If
  22. Repeat
  23. Random Color
    com.sindresorhus.Actions
  24. Random Color
    com.sindresorhus.Actions
  25. Create Gradient Color Image
    com.sindresorhus.Actions
  26. Random Text
    com.sindresorhus.Actions
  27. Overlay Text
  28. Combine Images
  29. Quick Look
  30. If

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#define color teal
#define glyph lightningBolt

/*
This list is for the intensity

*/
const List = list("1", "2", "3")
const ItemFromList = getLastItem(List)

const RepeatResults = if ItemFromList == "1" {
	const RepeatResults1 = repeat _ for 4 {
		const RandomNumber1 = randomNumber(1, 512)
		const RandomNumber = randomNumber(1, 512)
		rawAction("com.sindresorhus.Actions.RandomColorIntent", {
			"AppIntentDescriptor": ""
		})
		rawAction("com.sindresorhus.Actions.CreateColorImageIntent", {
			"AppIntentDescriptor": "",
			"color": "{}",
			"height": "RandomNumber",
			"width": "RandomNumber1"
		})
	}
	rawAction("is.workflow.actions.image.combine", {
		"WFImageCombineMode": "In a Grid",
		"WFInput": "RepeatResults"
	})
	quicklook(CombinedImage)
} else {
	const RepeatResults2 = if ItemFromList == "2" {
		repeat _ for 4 {
			rawAction("com.sindresorhus.Actions.RandomColorIntent", {
				"AppIntentDescriptor": ""
			})
			rawAction("com.sindresorhus.Actions.RandomColorIntent", {
				"AppIntentDescriptor": ""
			})
			rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
				"AppIntentDescriptor": "",
				"direction": "Ask",
				"endColor": "{}",
				"height": "128",
				"startColor": "{}",
				"width": "128"
			})
		}
		rawAction("is.workflow.actions.image.combine", {
			"WFImageCombineMode": "In a Grid",
			"WFInput": "RepeatResults1"
		})
		quicklook(CombinedImage1)
	} else {
		if ItemFromList == "3" {
			repeat _ for 4 {
				rawAction("com.sindresorhus.Actions.RandomColorIntent", {
					"AppIntentDescriptor": ""
				})
				rawAction("com.sindresorhus.Actions.RandomColorIntent", {
					"AppIntentDescriptor": ""
				})
				rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
					"AppIntentDescriptor": "",
					"endColor": "{}",
					"height": "128",
					"startColor": "{}",
					"width": "128"
				})
				rawAction("com.sindresorhus.Actions.RandomTextIntent", {
					"AppIntentDescriptor": ""
				})
				rawAction("is.workflow.actions.overlaytext", {
					"WFImage": "GradientColorImage",
					"WFText": "{}"
				})
			}
			rawAction("is.workflow.actions.image.combine", {
				"WFImageCombineMode": "In a Grid",
				"WFInput": "RepeatResults2"
			})
			quicklook(CombinedImage2)
		} else {
		}
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von oliveranimates7

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung