File: Unchained - Beat Demo 10.milk

package info (click to toggle)
libprojectm 1.2.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 6,264 kB
  • ctags: 11,793
  • sloc: ansic: 24,587; cpp: 18,410; makefile: 60; sh: 18
file content (91 lines) | stat: -rw-r--r-- 3,098 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[preset00]
fRating=3
fGammaAdj=2
fDecay=0.981
fVideoEchoZoom=1.00644
fVideoEchoAlpha=0.5
nVideoEchoOrientation=3
nWaveMode=5
bAdditiveWaves=1
bWaveDots=0
bModWaveAlphaByVolume=0
bMaximizeWaveColor=0
bTexWrap=0
bDarkenCenter=0
bMotionVectorsOn=0
bRedBlueStereo=0
nMotionVectorsX=12
nMotionVectorsY=9
bBrighten=0
bDarken=1
bSolarize=0
bInvert=0
fWaveAlpha=1.868299
fWaveScale=2.781641
fWaveSmoothing=0.54
fWaveParam=0.2
fModWaveAlphaStart=0.95
fModWaveAlphaEnd=0.75
fWarpAnimSpeed=1
fWarpScale=1
fZoomExponent=1.008151
fShader=0.2
zoom=0.9998
rot=0
cx=0.47
cy=0.5
dx=0.005
dy=0
warp=0.01
sx=1
sy=1
wave_r=0.5
wave_g=0.5
wave_b=0.5
wave_x=0.5
wave_y=0.5
ob_size=0
ob_r=0.5
ob_g=0.5
ob_b=0.5
ob_a=0
ib_size=0
ib_r=0.5
ib_g=0.5
ib_b=0.5
ib_a=0
per_frame_1=warp=0;
per_frame_2=chaos=.9+.1*sin(pulse-beat);
per_frame_3=entropy=if(bnot(entropy),2,if(equal(pulse,-20)*above(beat,0),1+rand(5),entropy));
per_frame_4=bass_thresh = above(bass_att,bass_thresh)*2 + (1-above(bass_att,bass_thresh))*((bass_thresh-1.3)*chaos+1.3);
per_frame_5=bass_changed=abs(bass_changed-equal(bass_thresh,2));
per_frame_6=treb_thresh=above(treb_att,treb_thresh)*2 + (1-above(treb_att,treb_thresh))*((treb_thresh-1.3)*chaos+1.3);
per_frame_7=treb_changed=abs(treb_changed-equal(treb_thresh,2));
per_frame_8=mid_thresh=above(mid_att,mid_thresh)*2 + (1-above(mid_att,mid_thresh))*((mid_thresh-1.3)*chaos+1.3);
per_frame_9=mid_changed=abs(mid_changed-equal(mid_thresh,2));
per_frame_10=pulse=if(above(abs(pulse),20),-20,pulse+(mid+bass+treb)*.025);
per_frame_11=beat=if(above(abs(beat),20),-20,beat+.1*chaos*bor(bor(bass_changed,treb_changed),mid_changed));
per_frame_12=q3=sin(pulse);
per_frame_13=q2=sin(pulse+beat);
per_frame_14=q4=sin(beat);
per_frame_15=q5=entropy;
per_frame_16=q1=(1+1*above(q2,0))*(1+2*above(q3,0))*(1+4*mid_changed*above(q3,0))*(1+6*above(q4,0))*(1+10*bass_changed*above(q4,0))*(1+12*above(q5,3))*(1+16*treb_changed*above(q2,0));
per_frame_17=wave_r=.5+.2*bnot(q1%2)-.2*bnot(q1%3)+.3*q3*bnot(q1%13);
per_frame_18=wave_g=.5+.2*bnot(q1%5)-.2*bnot(q1%13)+.3*q4*bnot(q1%7);
per_frame_19=wave_b=if(bnot(q1%6),.8+.2*q4,.5+.5*q2);
per_frame_20=ob_r=ob_r+.2*q2+.3*bnot(q1%13)*q3;
per_frame_21=ob_b=ob_b-.1*bnot(q1%105)-.4*q2;
per_frame_22=ob_g=ob_g+.5*sin(pulse*.4*entropy);
per_frame_23=ob_a=.07+.05*q3;
per_frame_24=ob_size=.01*entropy*bnot(q1%6);
per_frame_25=ib_r=ib_r+.2*q1-.3*bnot(q1%3)*q4;
per_frame_26=ib_b=ib_b-.2*bnot(q1%17)-.3*q2+.2*bnot(q1%11);
per_frame_27=ib_g=ib_g+.5*sin(pulse*.35*entropy);
per_frame_28=ib_a=.07+.05*q3*q4;
per_frame_29=ib_size=.005+.005*q3;
per_frame_30=zoom_fade=if(bnot(q1%2),zoom_fade-(zoom_fade-.97)/2,zoom_fade-bnot(q1%5)*.02*q4+bnot(q1%2)*.02*q3-bnot(q1%11)*.04*q2);
per_frame_31=zoom=zoom_fade;
per_frame_32=rot_fade=if(bnot(q1%7),rot_fade-(rot_fade-.1*q3)/2-.03*bnot(q1%13),rot_fade-.02*bnot(q1%11)+.02*bnot(q1%3)+.03*bnot(q1%35));
per_frame_33=rot=rot_fade;
per_frame_34=cx=cx+.1*bnot(q1%39)+.07*bnot(q1%13)*q3-.2*bnot(q1%55)*q4;
per_frame_35=wave_x=wave_x+.1*q3+.2*q4*bnot(q1%2);