Skip to content

Commit 994c34e

Browse files
committed
Make video example a little more complex for test purposes
1 parent 5fd5060 commit 994c34e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

examples/video.fl

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11

22
let SIZE=1920;1440
33

4-
let t=60*beat/tempo + (5 if OUTPUT else 0)
4+
let t=60*beat/tempo + (10 if OUTPUT else 0)
55

66
!window size=SIZE
77
!record filename=OUTPUT
8-
!shader
9-
!video filename="assets/badapple.m4v" position=-t loop=true interpolate=true
10-
!video filename="assets/badapple.m4v" size=640;480 position=t loop=true hidden=true id=:badapple
11-
!canvas antialias=false
12-
!blend ratio=0.25
13-
!pattern texture_id=:badapple scale=0.5 rotate=-1/8
14-
!color color=0;0;0;0
15-
!path
16-
!ellipse radius=min(SIZE)/2 point=SIZE/2
17-
!fill
8+
!vignette
9+
!transform scale=0.75 repeat=true;false
10+
!video filename="assets/badapple.m4v" position=-t loop=true interpolate=true
11+
!video filename="assets/badapple.m4v" size=640;480 position=t loop=true hidden=true id=:badapple
12+
!canvas antialias=false
13+
!blend ratio=0.25
14+
!pattern texture_id=:badapple scale=0.5 rotate=-1/8
15+
!color color=0;0;0;0
16+
!path
17+
!ellipse radius=min(SIZE)/2 point=SIZE/2
18+
!fill

examples/video.png

114 KB
Loading

0 commit comments

Comments
 (0)