ShareShortcuts

Paint

Pixel art of any length and color!

xalaeth
Bifurcar “Paint”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que xalaeth reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
54K
Guardado
2
Acciones
33
Categoría
Fun
Versión
1.3
Idioma
EN

Pixel art of any length and color! Randomizer included!

Novedades

Versión 1.3

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

Historial de versiones
1.3 15 de dic. de 2020

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

1.2 13 de dic. de 2020

Improved randomizer

1.1 13 de dic. de 2020

Ignore me. I slipped up on the randomiser

1.0 13 de dic. de 2020

First release

Qué hace

33 acciones
  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 las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de xalaeth

Ver todo

También te puede gustar

Ver todo
Publicidad