June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
1
Task/Animation/Maple/animation-1.maple
Normal file
1
Task/Animation/Maple/animation-1.maple
Normal file
|
|
@ -0,0 +1 @@
|
|||
ScrollText(GP("Text",value),"Forward",65);
|
||||
1
Task/Animation/Maple/animation-2.maple
Normal file
1
Task/Animation/Maple/animation-2.maple
Normal file
|
|
@ -0,0 +1 @@
|
|||
ScrollText(GP("Text",value),"Reverse",65);
|
||||
18
Task/Animation/Maple/animation-3.maple
Normal file
18
Task/Animation/Maple/animation-3.maple
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
macro(SP=DocumentTools:-SetProperty, GP=DocumentTools:-GetProperty);
|
||||
SP("Text",value,"Hello World! ");
|
||||
ScrollText := proc( msg, direction::identical("Forward","Reverse"),n::posint:=20 )
|
||||
local word, count;
|
||||
word:=msg;
|
||||
count:=0;
|
||||
|
||||
while count<n do
|
||||
if direction = "Reverse" then
|
||||
word:=cat(word[2..-1],word[1]):
|
||||
else
|
||||
word:=cat(word[-1],word[1..-2]):
|
||||
end if;
|
||||
SP("Text",value,word,refresh);
|
||||
Threads:-Sleep(0.1);
|
||||
count:=count+1:
|
||||
end do:
|
||||
end proc:
|
||||
Loading…
Add table
Add a link
Reference in a new issue