Scanne avec ton iPhone pour installer
Pixel art of any length and color! Randomizer included!
Nouveautés
Version 1.3
Not really sure what happened or what I fixed, but it’s better.
Ce qu’il fait
33 actions-
Calculate
-
Ask for InputWhat will be the length of your paint? No maximum, I think
-
Calculate
-
Set VariableRepeat#
-
Repeat
-
List
-
If
-
List
-
Get Item from List
-
Add to Variable
-
If
-
Choose from List
-
If
-
Add to Variable
-
If
-
Calculate
-
Set VariableRandomiser
-
If
-
List
-
Get Item from List
-
Add to Variable
-
If
-
Combine Text
-
Show Alert
-
Choose from MenuDo you want to share or save your painting?
-
Choose from MenuShare
-
Share
-
Choose from MenuSave
-
Show NotificationTake a screenshot!
-
Show Alert
-
Choose from MenuExit
-
Choose from MenuDo it again!!
-
Run ShortcutPaint
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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()
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de xalaeth
Ça pourrait aussi te plaire
Publicité