Use the mouse to control wind direction.

on startmovie
repeat with i = 20 to 48
puppetsprite i, true
set the locv of sprite i = random(2000) - 1000
set the loch of sprite i = random(2000) - 1000
end repeat
end

on snow
repeat with i = 20 to 48
set x = i/5
if x < 2 then set x = 2
set the locv of sprite i = the locv of sprite i + x
if the locv of sprite i > 600 then set the locv of sprite i = -1000
set x =((the mouseh-160))/(abs(1-i)*2)
set the loch of sprite i = the loch of sprite i + x
if the loch of sprite i > 1000 then set the loch of sprite i = -1000
if the loch of sprite i < -1000 then set the loch of sprite i = 1000
end repeat
end


on exitframe
snow
go to the frame
end