[JWplugins] JW Lua/Halloween: How to scare your document
Jari Williamsson
jari.williamsson at mailbox.swipnet.se
Thu Oct 24 14:28:07 CEST 2013
On 2013-10-24 09:59, Vaughan Schlepp wrote:
> I'd also really like to know how you did it!
It's just a loop that paints the contents at the end of each run, the
loop looks like below. Since Finale nowadays buffers the screen contents
before displaying it, the illusion is an animation. It basically work
the same way as animations in game software.
for i = 1, loopcount do
MovePageTexts(pagetexts)
MoveNoteheads()
ChangeScaryStaffLines(staffsystems)
MoveMeasureNumbers(mnumregions)
MoveTimeSignature()
MoveClef()
MoveExpressions()
MoveHairpins()
ZoomText()
finenv.UI():RedrawDocument()
end
Best regards,
Jari Williamsson
More information about the JWplugins
mailing list