Spinning rod animation/Text: Difference between revisions
Content added Content deleted
(Added Easylang) |
|||
Line 246: | Line 246: | ||
</pre> |
</pre> |
||
=={{header|EasyLang}}== |
|||
[https://easylang.dev/show/#cod=Lc09CgIxEAXgfk7xWCwUYcmuaOdJxEKyAwZMAkkQ8Qw2/tt5RY9gHtp8w4M3M3a0WmOJXJLdblJG83mfzqhcyJXcyJ08yJO8Gil6KNkdFQsjPu4VvcHMSAwozmsSAC4M9faYY4puAh+HDjsNsPUrC7zBUBu/zE2Ytp9LK/8gXw== Run it] |
|||
<syntaxhighlight> |
|||
c$[] = strchars "🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘" |
|||
textsize 60 |
|||
move 20 30 |
|||
on timer |
|||
ind = (ind + 1) mod1 len c$[] |
|||
text c$[ind] |
|||
timer 0.25 |
|||
. |
|||
timer 0 |
|||
</syntaxhighlight> |
|||
=={{header|Factor}}== |
=={{header|Factor}}== |