ShareShortcuts

Paint

Pixel art of any length and color!

xalaeth
Fork “Paint”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so xalaeth gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
54K
Saved
2
Actions
33
Category
Fun
Version
1.3
Language
EN

Pixel art of any length and color! Randomizer included!

What's New

Version 1.3

Not really sure what happened or what I fixed, but it’s better.

Version History
1.3 Dec 15, 2020

Not really sure what happened or what I fixed, but it’s better.

1.2 Dec 13, 2020

Improved randomizer

1.1 Dec 13, 2020

Ignore me. I slipped up on the randomiser

1.0 Dec 13, 2020

First release

What it does

33 actions
  1. Calculate
  2. Ask for Input
    What will be the length of your paint? No maximum, I think
  3. Calculate
  4. Set Variable
    Repeat#
  5. Repeat
  6. List
  7. If
  8. List
  9. Get Item from List
  10. Add to Variable
  11. If
  12. Choose from List
  13. If
  14. Add to Variable
  15. If
  16. Calculate
  17. Set Variable
    Randomiser
  18. If
  19. List
  20. Get Item from List
  21. Add to Variable
  22. If
  23. Combine Text
  24. Show Alert
  25. Choose from Menu
    Do you want to share or save your painting?
  26. Choose from Menu
    Share
  27. Share
  28. Choose from Menu
    Save
  29. Show Notification
    Take a screenshot!
  30. Show Alert
  31. Choose from Menu
    Exit
  32. Choose from Menu
    Do it again!!
  33. Run Shortcut
    Paint

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/sharing'
#define color taupe
#define glyph picture

const ProvidedInput = prompt("What will be the length of your paint? No maximum, I think", "Number")
@Repeat = ProvidedInput * 19

repeat _ for @Repeat {
	const List1 = list("🟥", "🟧", "🟨", "🟩", "🟦", "🟪", "⬛️", "⬜️", "🟫", "🔳 Randomiser 🔳")
	if @Randomiser == 1 {
		const List = list("🟥", "🟧", "🟨", "🟩", "🟦", "🟪", "⬛️", "⬜️", "🟫")
		getListItems(List, 1, 9)
		@Painting
	} else {
		const ChosenItem = chooseFromList(List1)
		if ChosenItem != "🔳 Randomiser 🔳" {
			@Painting = ChosenItem
		} else {
			@Randomiser = 1 + 0
		}
	}
}

if @Randomiser == 1 {
	const List2 = list("🟥", "🟧", "🟨", "🟩", "🟦", "🟪", "⬛️", "⬜️", "🟫")
	getRandomItem(List2)
	@Painting
} else {
}
const CombinedText = joinText(@Painting, " ")
confirm(CombinedText)

menu "Do you want to share or save your painting?" {
item "Share":
	share(CombinedText)
item "Save":
	showNotification("Take a screenshot!")
	confirm(CombinedText)
item "Exit":
item "Do it again!!":
	runSelf()
}
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 xalaeth

See All

You Might Also Like

See All
Advertisement