ShareShortcuts

Paint

Pixel art of any length and color!

xalaeth
Fazer fork de “Paint”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que xalaeth receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
54K
Salvo
2
Ações
33
Categoria
Fun
Versão
1.3
Idioma
EN

Pixel art of any length and color! Randomizer included!

Novidades

Versão 1.3

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

Histórico de versões
1.3 15 de dez de 2020

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

1.2 13 de dez de 2020

Improved randomizer

1.1 13 de dez de 2020

Ignore me. I slipped up on the randomiser

1.0 13 de dez de 2020

First release

O que ele faz

33 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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("🟥", "🟧", "🟨", "🟩", "🟦", "🟪", "⬛️", "⬜️", "🟫")
	getListItems(List2, 0, 0)
	@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()
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de xalaeth

Ver tudo

Você também pode gostar

Ver tudo
Publicidade