home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
subroutines
/
quiver.amos
/
quiver.amosSourceCode
Wrap
AMOS Source Code
|
1992-09-02
|
706b
|
57 lines
' *********************
' *** QUIVER EFFECT ***
' *********************
' *** This Routines Makes A Sort Of Quiver Effect On A Picture.
' *** Load Picture.
F$=Fsel$("","","LOAD IFF PICTURE")
If F$<>""
Load Iff F$,0
Else
Direct
End If
' *** Get Picture Details.
W=Screen Width
H=Screen Height
C=Screen Colour
M=Screen Mode
' *** Open Work Screen.
Screen Open 1,W,H,C,M
Curs Off
Flash Off
Cls 0
Get Palette 0
' *** Set Quiver Sizes.
XQU=0
YQU=1
' *** Do Quiver Effect.
For Y=0 To H-1
For X=0 To W-1
Screen 0
C=Point(X,Y)
Screen 1
Plot X+XQU,Y+YQU,C
XQU=-XQU
YQU=-YQU
Next X
Next Y
' *** Quit.
Direct