1 AVS preset per day
Code
Show WebVS code
Markup:
YAML
clearFrame: false
components:
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- bilinear: false
code: x = .5;
group: Trans
output: 50/50
sourceMapped: false
type: Movement
wrap: false
- bilinear: false
code: x = -.5;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 118
inBuffer: 0
inBufferInvert: false
input: ADJUSTABLE
outAdjustBlend: 66
outBuffer: 0
outBufferInvert: false
output: MULTIPLY
type: EffectList
- bilinear: true
blendMode: Replace
code:
init: |-
xs = 0;
ys = 0;
onBeat: |-
xs = rand(5)-2;
ys = rand(5)-2;
perFrame: |-
x = xs;
y = ys;
group: Trans
type: DynamicShift
- absolute: false
bias: -1
edgeMode: EXTEND
enabled: true
group: Trans
kernel:
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0,
-4, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
height: 7
width: 7
scale: 1
twoPass: false
type: ConvolutionFilter
- bilinear: false
builtinEffect: Blocky Partial Out
coordinates: CARTESIAN
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components: []
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 89
inBuffer: 0
inBufferInvert: false
input: ADJUSTABLE
outAdjustBlend: 89
outBuffer: 0
outBufferInvert: false
output: ADJUSTABLE
type: EffectList
- bilinear: false
code: |-
x = x*.98;
y = y*.98+.02;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- adjustBlend: 195
blend: XOR
enabled: true
group: Misc
lineSize: 1
type: SetRenderMode
- code:
init: |-
n = 2;
onBeat: r = rand(2);
perFrame: |-
f = (f+1)%4;
a = -above(rand(10), 6)*20;
in1 = if(equal(f, a), getspec(0.1, 0.2, 0), in1); a = a+1;
in2 = if(equal(f, a), getspec(0.1, 0.2, 0), in2); a = a+1;
in3 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in3); a = a+1;
in4 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in4); a = a+1;
perPoint: |-
c = bnot(c);
x1 = 1-in1; y1 = 1-sin(in1*8)*.4;
x2 = -1+in2; y2 = 1-sin(in2*8)*.4;
x3 = -1+in3; y3 = -1+in3;
if(c, exec2(assign(x2, 1-in4), assign(y2, -1+in4)), 0);
red1 = 1;
group: Misc
type: Triangle
- code:
init: |-
n = 2;
s = .6;
onBeat: r = rand(2);
perFrame: |-
f = (f+1)%4;
a = -above(rand(10), 2)*20;
in1 = if(equal(f, a), getspec(0.1, 0.2, 0), in1); a = a+1;
in2 = if(equal(f, a), getspec(0.1, 0.2, 0), in2); a = a+1;
in3 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in3); a = a+1;
in4 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in4); a = a+1;
perPoint: |-
c = bnot(c);
x1 = s-in1; y1 = s-sin(in1*8)*.4;
x2 = -s+in2; y2 = s-sin(in2*8)*.4;
x3 = -s+in3; y3 = -s+in3;
if(c, exec2(assign(x2, s-in4), assign(y2, -s+in4)), 0);
red1 = 1;
group: Misc
type: Triangle
date: '2019-02-04T23:20:16.968Z'
name: '20190204'
{
"name": "20190204",
"date": "2019-02-04T23:20:16.968Z",
"clearFrame": false,
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "ADJUSTABLE",
"output": "MULTIPLY",
"inAdjustBlend": 118,
"outAdjustBlend": 66,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "50/50",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "x = .5;"
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "x = -.5;"
}
]
},
{
"type": "DynamicShift",
"group": "Trans",
"code": {
"init": "xs = 0;\r\nys = 0;",
"perFrame": "x = xs;\r\ny = ys;",
"onBeat": "xs = rand(5)-2;\r\nys = rand(5)-2;"
},
"blendMode": "Replace",
"bilinear": true
},
{
"type": "ConvolutionFilter",
"group": "Trans",
"enabled": true,
"edgeMode": "EXTEND",
"absolute": false,
"twoPass": false,
"kernel": {
"width": 7,
"height": 7,
"data": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
0,
-4,
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"bias": -1,
"scale": 1
},
{
"type": "Movement",
"group": "Trans",
"builtinEffect": "Blocky Partial Out",
"output": "Replace",
"sourceMapped": false,
"coordinates": "CARTESIAN",
"bilinear": false,
"wrap": false
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "ADJUSTABLE",
"output": "ADJUSTABLE",
"inAdjustBlend": 89,
"outAdjustBlend": 89,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": []
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "x = x*.98;\r\ny = y*.98+.02;"
},
{
"type": "SetRenderMode",
"group": "Misc",
"blend": "XOR",
"adjustBlend": 195,
"lineSize": 1,
"enabled": true
},
{
"type": "Triangle",
"group": "Misc",
"code": {
"init": "n = 2;\r\n",
"perFrame": "f = (f+1)%4;\r\na = -above(rand(10), 6)*20;\r\nin1 = if(equal(f, a), getspec(0.1, 0.2, 0), in1); a = a+1;\r\nin2 = if(equal(f, a), getspec(0.1, 0.2, 0), in2); a = a+1;\r\nin3 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in3); a = a+1;\r\nin4 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in4); a = a+1;",
"onBeat": "r = rand(2);",
"perPoint": "c = bnot(c);\r\nx1 = 1-in1; y1 = 1-sin(in1*8)*.4;\r\nx2 = -1+in2; y2 = 1-sin(in2*8)*.4;\r\nx3 = -1+in3; y3 = -1+in3;\r\nif(c, exec2(assign(x2, 1-in4), assign(y2, -1+in4)), 0);\r\nred1 = 1;\r\n"
}
},
{
"type": "Triangle",
"group": "Misc",
"code": {
"init": "n = 2;\r\ns = .6;",
"perFrame": "f = (f+1)%4;\r\na = -above(rand(10), 2)*20;\r\nin1 = if(equal(f, a), getspec(0.1, 0.2, 0), in1); a = a+1;\r\nin2 = if(equal(f, a), getspec(0.1, 0.2, 0), in2); a = a+1;\r\nin3 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in3); a = a+1;\r\nin4 = if(equal(f, a), getspec(0.1, 0.2, 0)*1.2, in4); a = a+1;",
"onBeat": "r = rand(2);",
"perPoint": "c = bnot(c);\r\nx1 = s-in1; y1 = s-sin(in1*8)*.4;\r\nx2 = -s+in2; y2 = s-sin(in2*8)*.4;\r\nx3 = -s+in3; y3 = -s+in3;\r\nif(c, exec2(assign(x2, s-in4), assign(y2, -s+in4)), 0);\r\nred1 = 1;\r\n"
}
}
]
}
Code
Show WebVS code
Markup:
YAML
clearFrame: true
components:
- code: ''
enabled: true
group: Misc
logging: true
readCommentCodes: true
translateFirstLevel: false
type: AVSTransAutomation
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n = 0;
t = gettime(0);
shapem = -1;
reg05 = 0;
onBeat: |-
if(band(above(rand(10), 7), above(t-shapet, 2)),
shapem = -shapem;
shapet = t;
,0);
vu = max(vu, getspec(.1, .2, 0));
da3 = 10;
perFrame: |-
speed = gettime(0)-t; t = gettime(0); reg00 = reg00 - (reg00-speed)*.99;
reg99 = h/w;
// translation
// *a*: frequency, *f*: amplitude
xa1 = .1; xf1 = .2; ya1 = .3; yf1 = .3;
xa2 = .5; xf2 = .2; ya2 = .2; yf2 = .534;
xm1 = xm1 + speed * xa1; ym1 = ym1 + speed * ya1;
xm2 = xm2 + speed * xa2; ym2 = ym2 + speed * ya2;
x = sin(xm1)*xf1 + sin(xm2)*xf2;
y = sin(ym1)*yf1 + sin(ym2)*yf2;
// rotation/zoom
ra1 = .5; rf1 = .2; da1 = .123; df1 = .2;
ra2 = .2; rf2 = 1.4; da2 = .1; df2 = .8;
ra3 = .4; rf3 = .4; da3 = da3-(da3-.135)*pow(.9, speed*60); df3 = .4;
rm1 = rm1 + speed * ra1; dm1 = dm1 + speed * da1;
rm2 = rm2 + speed * ra2; dm2 = dm2 + speed * da2;
rm3 = rm3 + speed * ra3; dm3 = dm3 + speed * da3;
r = sin(rm1)*rf1 + sin(rm2)*rf2 + sin(rm3)*rf3;
d0 = sin(dm1)*df1 + dm1 + sin(dm2)*df2 + dm2 + sin(dm3)*df3 + dm3;
// pattern zoom
pza1 = 1.5342; pzf1 = .1;
pza2 = .734; pzf2 = .2;
pzm1 = pzm1 + speed * pza1;
pzm2 = pzm2 + speed * pza2;
pz = .7 + sin(pzm1)*pzf1 + sin(pzm2)*pzf2;
dstart = .1;
dmax = 2;
last_d1 = d1;
d1 = abs(d0) - floor(abs(d0)/dmax) * dmax + dstart;
d1 = sqr(d1);
if(band(above(last_d1, 1), below(d1, .3)),
switch = bnot(switch),
0);
reg01 = switch;
reg10 = x; reg11 = y; reg12 = r; reg13 = d1; reg14 = pz;
reg05 = max(0, min(1, reg05+speed*shapem));
vu = if(above(getspec(.1, .2, 0), vu*2), getspec(.1, .2, 0), max(0, vu - speed*2));
reg06 = vu;
perPoint: ''
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
- clearFrame: true
code:
enabled: false
init: ''
perFrame: ''
components:
- code:
init: |-
pi_half = $PI/2;
onBeat: ''
perFrame: |-
speed = reg00;
asp = reg99;
px = .04;
fake_aa = floor(reg06*10);
nn = floor(reg05 * 30 + 4);
n = (fake_aa+1)*nn;
invnpi = 2*$PI/nn;
x = reg10; y = reg11; r = reg12; d = reg13;
bg_col = 0;
fg_col = min(1, d*10-1);
c0 = 0;
c1 = fake_aa+1;
perPoint: |-
c1 = if(c0, c1, c1-1);
c0 = (c0+1)%nn;
d1 = d + px*c1;
red1 = green1 = blue1 = (bg_col - fg_col) * (c1/(fake_aa+1)) + fg_col;
/* // square with 2 triangles
x1 = x + cos(r)*d1; y1 = y + sin(r)*d1;
x2a = x + cos(r+pi_half)*d1; y2a = y + sin(r+pi_half)*d1;
x2b = x + cos(r-pi_half)*d1; y2b = y + sin(r-pi_half)*d1;
x3 = x + cos(r+$PI)*d1; y3 = y + sin(r+$PI)*d1;
x2 = if(c0, x2a, x2b); y2 = if(c0, y2a, y2b);
*/
// polygon with triangle fan
x1 = x; y1 = y;
x2 = x + cos(r+c0*invnpi) * d1; y2 = y + sin(r+c0*invnpi) * d1;
x3 = x + cos(r+(c0+1)*invnpi) * d1; y3 = y + sin(r+(c0+1)*invnpi) * d1;
x1 = x1*asp; x2 = x2*asp; x3 = x3*asp;
group: Misc
type: Triangle
- action: SAVE
bufferId: 228
group: Misc
type: BufferSave
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: IGNORE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- blendMode: REPLACE
color: '#ffffff'
enabled: true
group: Render
onlyFirst: false
type: ClearScreen
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n1 = 20; visible = n1/4;
nv = n1/visible;
n = n1 * 2 + 2;
inv255 = 1/255;
onBeat: ''
perFrame: |-
step = 1/visible;
stepf = .5;
m = if(above(m, 1), m - nv, m+reg00*.2);
c0 = 1;
c1 = 0;
a = 1;
//// https://www.colourlovers.com/palette/1981521/The_Key
// light vanilla
megabuf(a) = 255; megabuf(1000+a) = 233; megabuf(2000+a) = 175; a = a+1;
megabuf(a) = 249; megabuf(1000+a) = 214; megabuf(2000+a) = 172; a = a+1;
megabuf(a) = 254; megabuf(1000+a) = 166; megabuf(2000+a) = 162; a = a+1;
megabuf(a) = 152; megabuf(1000+a) = 136; megabuf(2000+a) = 100; a = a+1;
megabuf(a) = 141; megabuf(1000+a) = 204; megabuf(2000+a) = 173; a = a+1;
// light ocean green
//// https://www.colourlovers.com/palette/4624572/Crunchy
// dark blueish green
megabuf(a) = 71; megabuf(1000+a) = 82; megabuf(2000+a) = 76; a = a+1;
megabuf(a) = 111; megabuf(1000+a) = 160; megabuf(2000+a) = 106; a = a+1;
megabuf(a) = 239; megabuf(1000+a) = 185; megabuf(2000+a) = 74; a = a+1;
megabuf(a) = 232; megabuf(1000+a) = 129; megabuf(2000+a) = 77; a = a+1;
megabuf(a) = 206; megabuf(1000+a) = 168; megabuf(2000+a) = 99; a = a+1;
// cookie brown
//// https://www.colourlovers.com/palette/1015109/All_Eyes_On_You
// aubergine
megabuf(a) = 92; megabuf(1000+a) = 50; megabuf(2000+a) = 62; a = a+1;
megabuf(a) = 168; megabuf(1000+a) = 39; megabuf(2000+a) = 67; a = a+1;
megabuf(a) = 225; megabuf(1000+a) = 94; megabuf(2000+a) = 50; a = a+1;
megabuf(a) = 192; megabuf(1000+a) = 210; megabuf(2000+a) = 62; a = a+1;
megabuf(a) = 229; megabuf(1000+a) = 240; megabuf(2000+a) = 76; a = a+1;
// light yellowish green
//// https://www.colourlovers.com/palette/804674/mai
// petrol
megabuf(a) = 51; megabuf(1000+a) = 145; megabuf(2000+a) = 148; a = a+1;
megabuf(a) = 246; megabuf(1000+a) = 216; megabuf(2000+a) = 107; a = a+1;
megabuf(a) = 251; megabuf(1000+a) = 107; megabuf(2000+a) = 65; a = a+1;
megabuf(a) = 241; megabuf(1000+a) = 12; megabuf(2000+a) = 73; a = a+1;
megabuf(a) = 167; megabuf(1000+a) = 2; megabuf(2000+a) = 103; a = a+1;
// reddish purple
perPoint: |-
c0 = bnot(c0);
c1 = if(c0, c1+1, c1);
y1 = c1*step + m;
y1 = if(above(y1, 1), y1 - nv, y1);
y1 = y1 + c0 * step*stepf;
y = (y1 * 2 - 1)*(1+step*2);
skip = c0;
red = megabuf(c1)*inv255;
green = megabuf(c1+1000)*inv255;
blue = megabuf(c1+2000)*inv255;
colors:
- '#ffffff'
drawMode: LINES
group: Render
type: SuperScope
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- bilinear: true
code: |-
asp = 1; //sh/sw;
y = abs(y*asp)-1+abs(x);
//y = 1-(sqrt(sqr(x*asp)+sqr(y))+1);
x = 0;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: true
- clearFrame: false
code:
enabled: true
init: ''
perFrame: ''
components:
- bilinear: true
code: |-
asp = 1; //sw/sh;
if(below(abs(y*asp)+abs(x), 1),
x = x*.71; y = y*.71;
y = sqrt(sqr(x*asp)+sqr(y));
x = y;
,0);
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: ADJUSTABLE
type: EffectList
- action: SAVE
bufferId: 56
group: Misc
type: BufferSave
- bFilter: true
blend: false
buffer: 56
code:
init: ''
onBeat: ''
perFrame: |-
xp = reg10; yp = reg11; rp = reg12; dp = (reg13 + 2)*.55*reg14;
asp = 1/reg99;
perPoint: |-
r1 = atan2(x*asp-xp, y-yp)+rp;
d1 = sqrt(sqr(x*asp-xp) + sqr(y-yp))/dp;
x = cos(r1)*d1;
y = sin(r1)*d1;
coord: CARTESIAN
gridH: 1
gridW: 1
group: Trans
type: DynamicMovement
wrap: true
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- alphaOnly: true
bFilter: true
blend: false
buffer: 43
code:
init: ''
onBeat: ''
perFrame: |-
xp = reg10; yp = reg11; rp = reg12; dp = reg13*.25*reg14;
asp = 1/reg99;
perPoint: |-
r1 = atan2(x*asp-xp, y-yp)+rp;
d1 = sqrt(sqr(x*asp-xp) + sqr(y-yp))/dp;
x = cos(r1)*d1;
y = sin(r1)*d1;
coord: CARTESIAN
gridH: 1
gridW: 1
group: Trans
type: DynamicMovement
wrap: true
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: BUFFER
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n=150;
bright = .6;
r1 = 0.26*bright;
g1 = 0.45*bright;
b1 = 0.60*bright;
onBeat: ''
perFrame: ''
perPoint: |-
y = i*2-1;
c = sqr(i);
red = c*r1;
green = c*g1;
blue = c*b1;
colors:
- '#ffffff'
drawMode: LINES
group: Render
type: SuperScope
- bilinear: false
code: |-
y = y*.7-x*.3;
x = 0;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 1
enabled: false
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: SUB_DEST_SRC
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n=150;
bright = .6;
r1 = (1-0.26)*bright;
g1 = (1-0.45)*bright;
b1 = (1-0.60)*bright;
onBeat: ''
perFrame: ''
perPoint: |-
y = i*2-1;
c = sqr(i);
red = c*r1;
green = c*g1;
blue = c*b1;
colors:
- '#ffffff'
drawMode: LINES
group: Render
type: SuperScope
- bilinear: false
code: |-
y = -y*.7+x*.3;
x = 0;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: ADDITIVE
type: EffectList
date: '2019-01-23T13:00:24.017Z'
name: '20190122'
{
"name": "20190122",
"date": "2019-01-23T13:00:24.017Z",
"clearFrame": true,
"components": [
{
"type": "AVSTransAutomation",
"group": "Misc",
"enabled": true,
"logging": true,
"translateFirstLevel": false,
"readCommentCodes": true,
"code": ""
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 0;\r\nt = gettime(0);\r\nshapem = -1;\r\nreg05 = 0;\r\n",
"perFrame": "speed = gettime(0)-t; t = gettime(0); reg00 = reg00 - (reg00-speed)*.99;\r\nreg99 = h/w;\r\n\r\n// translation\r\n// *a*: frequency, *f*: amplitude\r\nxa1 = .1; xf1 = .2; ya1 = .3; yf1 = .3;\r\nxa2 = .5; xf2 = .2; ya2 = .2; yf2 = .534;\r\nxm1 = xm1 + speed * xa1; ym1 = ym1 + speed * ya1;\r\nxm2 = xm2 + speed * xa2; ym2 = ym2 + speed * ya2;\r\nx = sin(xm1)*xf1 + sin(xm2)*xf2;\r\ny = sin(ym1)*yf1 + sin(ym2)*yf2;\r\n\r\n// rotation/zoom\r\nra1 = .5; rf1 = .2; da1 = .123; df1 = .2;\r\nra2 = .2; rf2 = 1.4; da2 = .1; df2 = .8;\r\nra3 = .4; rf3 = .4; da3 = da3-(da3-.135)*pow(.9, speed*60); df3 = .4;\r\nrm1 = rm1 + speed * ra1; dm1 = dm1 + speed * da1;\r\nrm2 = rm2 + speed * ra2; dm2 = dm2 + speed * da2;\r\nrm3 = rm3 + speed * ra3; dm3 = dm3 + speed * da3;\r\nr = sin(rm1)*rf1 + sin(rm2)*rf2 + sin(rm3)*rf3;\r\nd0 = sin(dm1)*df1 + dm1 + sin(dm2)*df2 + dm2 + sin(dm3)*df3 + dm3;\r\n\r\n// pattern zoom\r\npza1 = 1.5342; pzf1 = .1;\r\npza2 = .734; pzf2 = .2;\r\npzm1 = pzm1 + speed * pza1;\r\npzm2 = pzm2 + speed * pza2;\r\npz = .7 + sin(pzm1)*pzf1 + sin(pzm2)*pzf2;\r\n\r\n\r\ndstart = .1;\r\ndmax = 2;\r\nlast_d1 = d1;\r\nd1 = abs(d0) - floor(abs(d0)/dmax) * dmax + dstart;\r\nd1 = sqr(d1);\r\nif(band(above(last_d1, 1), below(d1, .3)),\r\n switch = bnot(switch),\r\n0);\r\n\r\nreg01 = switch;\r\nreg10 = x; reg11 = y; reg12 = r; reg13 = d1; reg14 = pz;\r\n\r\nreg05 = max(0, min(1, reg05+speed*shapem));\r\n\r\nvu = if(above(getspec(.1, .2, 0), vu*2), getspec(.1, .2, 0), max(0, vu - speed*2));\r\nreg06 = vu;\r\n",
"onBeat": "if(band(above(rand(10), 7), above(t-shapet, 2)),\r\n shapem = -shapem;\r\n shapet = t;\r\n,0);\r\nvu = max(vu, getspec(.1, .2, 0));\r\nda3 = 10;",
"perPoint": ""
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": true,
"input": "IGNORE",
"output": "IGNORE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Triangle",
"group": "Misc",
"code": {
"init": "pi_half = $PI/2;\r\n",
"perFrame": "speed = reg00;\r\nasp = reg99;\r\npx = .04;\r\n\r\nfake_aa = floor(reg06*10);\r\nnn = floor(reg05 * 30 + 4);\r\nn = (fake_aa+1)*nn;\r\ninvnpi = 2*$PI/nn;\r\n\r\nx = reg10; y = reg11; r = reg12; d = reg13;\r\nbg_col = 0;\r\nfg_col = min(1, d*10-1);\r\n\r\nc0 = 0;\r\nc1 = fake_aa+1;\r\n",
"onBeat": "",
"perPoint": "c1 = if(c0, c1, c1-1);\r\nc0 = (c0+1)%nn;\r\n\r\nd1 = d + px*c1;\r\nred1 = green1 = blue1 = (bg_col - fg_col) * (c1/(fake_aa+1)) + fg_col;\r\n\r\n/* // square with 2 triangles\r\nx1 = x + cos(r)*d1; y1 = y + sin(r)*d1;\r\nx2a = x + cos(r+pi_half)*d1; y2a = y + sin(r+pi_half)*d1;\r\nx2b = x + cos(r-pi_half)*d1; y2b = y + sin(r-pi_half)*d1;\r\nx3 = x + cos(r+$PI)*d1; y3 = y + sin(r+$PI)*d1;\r\nx2 = if(c0, x2a, x2b); y2 = if(c0, y2a, y2b);\r\n*/\r\n\r\n// polygon with triangle fan\r\nx1 = x; y1 = y;\r\nx2 = x + cos(r+c0*invnpi) * d1; y2 = y + sin(r+c0*invnpi) * d1;\r\nx3 = x + cos(r+(c0+1)*invnpi) * d1; y3 = y + sin(r+(c0+1)*invnpi) * d1;\r\n\r\nx1 = x1*asp; x2 = x2*asp; x3 = x3*asp;\r\n"
}
},
{
"type": "BufferSave",
"group": "Misc",
"action": "SAVE",
"bufferId": 228
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "ClearScreen",
"group": "Render",
"enabled": true,
"color": "#ffffff",
"blendMode": "REPLACE",
"onlyFirst": false
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n1 = 20; visible = n1/4;\r\nnv = n1/visible;\r\nn = n1 * 2 + 2;\r\ninv255 = 1/255;\r\n",
"perFrame": "step = 1/visible;\r\nstepf = .5;\r\nm = if(above(m, 1), m - nv, m+reg00*.2);\r\nc0 = 1;\r\nc1 = 0;\r\n\r\na = 1;\r\n//// https://www.colourlovers.com/palette/1981521/The_Key\r\n// light vanilla\r\nmegabuf(a) = 255; megabuf(1000+a) = 233; megabuf(2000+a) = 175; a = a+1;\r\nmegabuf(a) = 249; megabuf(1000+a) = 214; megabuf(2000+a) = 172; a = a+1;\r\nmegabuf(a) = 254; megabuf(1000+a) = 166; megabuf(2000+a) = 162; a = a+1;\r\nmegabuf(a) = 152; megabuf(1000+a) = 136; megabuf(2000+a) = 100; a = a+1;\r\nmegabuf(a) = 141; megabuf(1000+a) = 204; megabuf(2000+a) = 173; a = a+1;\r\n// light ocean green\r\n\r\n//// https://www.colourlovers.com/palette/4624572/Crunchy\r\n// dark blueish green\r\nmegabuf(a) = 71; megabuf(1000+a) = 82; megabuf(2000+a) = 76; a = a+1;\r\nmegabuf(a) = 111; megabuf(1000+a) = 160; megabuf(2000+a) = 106; a = a+1;\r\nmegabuf(a) = 239; megabuf(1000+a) = 185; megabuf(2000+a) = 74; a = a+1;\r\nmegabuf(a) = 232; megabuf(1000+a) = 129; megabuf(2000+a) = 77; a = a+1;\r\nmegabuf(a) = 206; megabuf(1000+a) = 168; megabuf(2000+a) = 99; a = a+1;\r\n// cookie brown\r\n\r\n//// https://www.colourlovers.com/palette/1015109/All_Eyes_On_You\r\n// aubergine\r\nmegabuf(a) = 92; megabuf(1000+a) = 50; megabuf(2000+a) = 62; a = a+1;\r\nmegabuf(a) = 168; megabuf(1000+a) = 39; megabuf(2000+a) = 67; a = a+1;\r\nmegabuf(a) = 225; megabuf(1000+a) = 94; megabuf(2000+a) = 50; a = a+1;\r\nmegabuf(a) = 192; megabuf(1000+a) = 210; megabuf(2000+a) = 62; a = a+1;\r\nmegabuf(a) = 229; megabuf(1000+a) = 240; megabuf(2000+a) = 76; a = a+1;\r\n// light yellowish green\r\n\r\n//// https://www.colourlovers.com/palette/804674/mai\r\n// petrol \r\nmegabuf(a) = 51; megabuf(1000+a) = 145; megabuf(2000+a) = 148; a = a+1;\r\nmegabuf(a) = 246; megabuf(1000+a) = 216; megabuf(2000+a) = 107; a = a+1;\r\nmegabuf(a) = 251; megabuf(1000+a) = 107; megabuf(2000+a) = 65; a = a+1;\r\nmegabuf(a) = 241; megabuf(1000+a) = 12; megabuf(2000+a) = 73; a = a+1;\r\nmegabuf(a) = 167; megabuf(1000+a) = 2; megabuf(2000+a) = 103; a = a+1;\r\n// reddish purple\r\n",
"onBeat": "",
"perPoint": "c0 = bnot(c0);\r\nc1 = if(c0, c1+1, c1);\r\ny1 = c1*step + m;\r\ny1 = if(above(y1, 1), y1 - nv, y1);\r\ny1 = y1 + c0 * step*stepf;\r\ny = (y1 * 2 - 1)*(1+step*2);\r\nskip = c0;\r\n\r\nred = megabuf(c1)*inv255;\r\ngreen = megabuf(c1+1000)*inv255;\r\nblue = megabuf(c1+2000)*inv255;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "LINES"
}
]
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": true,
"code": "asp = 1; //sh/sw;\r\ny = abs(y*asp)-1+abs(x);\r\n//y = 1-(sqrt(sqr(x*asp)+sqr(y))+1);\r\nx = 0;"
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "REPLACE",
"output": "ADJUSTABLE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": true,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": false,
"code": "asp = 1; //sw/sh;\r\nif(below(abs(y*asp)+abs(x), 1),\r\n x = x*.71; y = y*.71;\r\n y = sqrt(sqr(x*asp)+sqr(y));\r\n x = y;\r\n,0);\r\n"
}
]
},
{
"type": "BufferSave",
"group": "Misc",
"action": "SAVE",
"bufferId": 56
},
{
"type": "DynamicMovement",
"group": "Trans",
"code": {
"init": "",
"perFrame": "xp = reg10; yp = reg11; rp = reg12; dp = (reg13 + 2)*.55*reg14;\r\nasp = 1/reg99;\r\n",
"onBeat": "",
"perPoint": "r1 = atan2(x*asp-xp, y-yp)+rp;\r\nd1 = sqrt(sqr(x*asp-xp) + sqr(y-yp))/dp;\r\nx = cos(r1)*d1;\r\ny = sin(r1)*d1;\r\n"
},
"bFilter": true,
"coord": "CARTESIAN",
"gridW": 1,
"gridH": 1,
"blend": false,
"wrap": true,
"buffer": 56
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "BUFFER",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "DynamicMovement",
"group": "Trans",
"code": {
"init": "",
"perFrame": "xp = reg10; yp = reg11; rp = reg12; dp = reg13*.25*reg14;\r\nasp = 1/reg99;\r\n",
"onBeat": "",
"perPoint": "r1 = atan2(x*asp-xp, y-yp)+rp;\r\nd1 = sqrt(sqr(x*asp-xp) + sqr(y-yp))/dp;\r\nx = cos(r1)*d1;\r\ny = sin(r1)*d1;\r\n"
},
"bFilter": true,
"coord": "CARTESIAN",
"gridW": 1,
"gridH": 1,
"blend": false,
"wrap": true,
"buffer": 43,
"alphaOnly": true
}
]
},
{
"type": "EffectList",
"enabled": false,
"clearFrame": false,
"input": "IGNORE",
"output": "SUB_DEST_SRC",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n=150;\r\nbright = .6;\r\nr1 = 0.26*bright;\r\ng1 = 0.45*bright;\r\nb1 = 0.60*bright;\r\n",
"perFrame": "",
"onBeat": "",
"perPoint": "y = i*2-1;\r\nc = sqr(i);\r\nred = c*r1;\r\ngreen = c*g1;\r\nblue = c*b1;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "LINES"
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "y = y*.7-x*.3;\r\nx = 0;\r\n"
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "ADDITIVE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n=150;\r\nbright = .6;\r\nr1 = (1-0.26)*bright;\r\ng1 = (1-0.45)*bright;\r\nb1 = (1-0.60)*bright;\r\n",
"perFrame": "",
"onBeat": "",
"perPoint": "y = i*2-1;\r\nc = sqr(i);\r\nred = c*r1;\r\ngreen = c*g1;\r\nblue = c*b1;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "LINES"
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "y = -y*.7+x*.3;\r\nx = 0;\r\n"
}
]
}
]
}
Info
640x640
Entertainment For The Braindead - Relapse
~4h
2019-01-18
re-uses code from effekthasch's discostu
Code
Show WebVS code
Markup:
YAML
clearFrame: false
components:
- code: '#define bezier6(i,ai,p1,p2,p3,p4,p5,p6) p1*pow(ai,5)+p2*5*pow(ai,4)*(i)+p3*10*pow(ai,3)*sqr(i)+p4*10*sqr(ai)*pow(i,3)+p5*5*(ai)*pow(i,4)+p6*pow(i,5)'
enabled: true
group: Misc
logging: false
readCommentCodes: false
translateFirstLevel: false
type: AVSTransAutomation
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
corvol=0.1;
speed = gettime(0)-t; t = gettime(0);
onBeat: ' '
perFrame: |+
speed = gettime(0)-t; t = gettime(0); // framerate independend thing
corvol=corvol*0.995+getspec(0.5,1,0)*0.005;
cor1=0.1/(corvol+0.0001);
cor=sqrt(cor1);
vol1=vol1*0.95+getspec(0.5,1,0)*0.05*cor; //correction needs to be here AND two lines below
vol2=vol2*0.9+getspec(0.1,0.1,0)*0.1*cor;
par1=1-vol1;pur1=vol1*0.5*cor; //will be used in bezier commander
par2=1-vol2;pur2=vol2*15; //same
par3=0.9-vol2;pur3=vol2*cor+0.1; //still same
add=cor*0.005; //adds some real-spectrum to the spectrum
spdfak=10*cor; //factor gmegabuf is multiplied with
reg00=h/w;
reg01=0.3*speed; //individual speed
reg02=0.15; //randomness
reg03=0.1; //brightness
reg04=speed*vol2*cor*5; //normal speed of beziers
reg05=0.7; //individual speed interpolation
reg06=cor; //just for text
reg07=5; // final zoom
reg21=1;
in1a=0;in1b=0;in2=0;n2=0.8/reg21;start=0.0;
blur=n2*0.2; blurfa=0.001;
megabuf(in1a) =
megabuf(in1a)*0.8
+getspec(sqr(in1a*n2)+start,sqr(in1a*n2)*blurfa+blur,0)*(0.2+add);
megabuf(in1b+100) =
megabuf(in1b+100)*0.92
+getspec(sqr(in1b*n2)+start,sqr(in1b*n2)*blurfa+blur,0)*0.08;
gmegabuf(in2) =
max(megabuf(in2)-megabuf(in2+100),0)*spdfak;
xrd1=xrd1*par1+getosc(rand(101)*0.01,0,0)*pur1;
xrd2=xrd2*par1+getosc(rand(101)*0.01,0,0)*pur1;
xrd3=xrd3*par1+getosc(rand(101)*0.01,0,0)*pur1;
xrd4=xrd4*par1+getosc(rand(101)*0.01,0,0)*pur1;
xavg=(xrd1+xrd2+xrd3+xrd4)*0.1;
reg70=reg70*par2+(xrd1-xavg)*pur2;
reg71=reg71*par2+(xrd2-xavg)*pur2;
reg72=reg72*par2+(xrd3-xavg)*pur2;
reg73=reg73*par2+(xrd4-xavg)*pur2;
perPoint: ''
colors:
- '#ffffff'
drawMode: LINES
group: Render
type: SuperScope
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- code:
init: ''
onBeat: ''
perFrame: f = above(rand(100), 0);
perPoint: |-
red = red * f;
blue = blue * f;
green = green * f;
group: Trans
recomputeEveryFrame: true
type: ColorModifier
- adjustBlend: 80
blend: ADJUSTABLE
enabled: true
group: Misc
lineSize: 1
type: SetRenderMode
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: n = 2;
onBeat: ''
perFrame: |-
lsf = h/20;
osc = abs(getosc(0,0,0));
spec = getspec(osc*.5, 0.1, 0);
ls = lsf * (1/(osc*5+1));
red = (.1+(.3-osc+sin(rm)*.2))*spec;
//red = red - floor(red);
blue = 0.9*sin(osc*$PI+bm)*.3*spec;
green = (.6-abs(sin(osc*$PI-gm))*2)*spec;
//rm = rm+reg01*8.3;
//bm = bm+reg01*2;
//gm = gm+reg01*1;
darken = 0.6;
if(above(rand(10), 7),
red=red*darken; blue=blue*darken; green=green*darken,
0);
brighten = 3;
red=red*brighten; blue=blue*brighten; green=green*brighten;
perPoint: |-
x = i*2-1;
linesize = ls;
drawmode = 1;
y = 2/(osc*5+1)-1;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: n = 2;
onBeat: ''
perFrame: |-
lsf = h/20;
osc = abs(getosc(0,0,0));
ls = lsf * (1/(osc*5+1));
darken = 0.6;
if(above(rand(10), 7),
red=red*darken; blue=blue*darken; green=green*darken,
0);
perPoint: |-
x = i*2-1;
linesize = ls;
drawmode = 1;
y = 2/(osc*5+1)-1;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
- action: SAVE
adjustBlend: 11
blendMode: REPLACE
bufferId: 36
group: Misc
type: BufferSave
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: IGNORE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components: []
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: true
input: BUFFER
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- bilinear: false
code: |-
f = (sw*.06);
y = y*f;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- bilinear: true
code: |-
f = 1/(sw*.06);
y = y*f;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: true
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 81
outBuffer: 0
outBufferInvert: false
output: ADDITIVE
type: EffectList
- bFilter: true
blend: false
buffer: 56
code:
init: |-
yscale = 0.55;
dwave = .5;
ywave = .2;
onBeat: ''
perFrame: |-
spd1 = spd1*reg05+gmegabuf(reg20)*reg01; //individual speed
spd2 = gmegabuf(reg20)*reg02; //randomness
spd3 = gmegabuf(reg20)*reg03; //brightness
reg20 = reg20+1; ntrpl = gmegabuf(reg20)*0.025+0.001;
xs = 1;
m = m + reg01*3; //spd1+ reg04;
new = above(m,1);
if(new,
m = m-1;
xp1 = xp11;
xp2 = xp12;
xp3 = xp13;
xp4 = xp14;
xp5 = xp15;
xp6 = xp16;
xp11 = xp16;
xp12 = xp16+(xp16-xp15);
xp13 = reg70+getosc(rand(101)*0.01,0,0)*spd2;
xp14 = reg71+getosc(rand(101)*0.01,0,0)*spd2;
xp15 = reg72+getosc(rand(101)*0.01,0,0)*spd2;
xp16 = reg73+getosc(rand(101)*0.01,0,0)*spd2;
,bla);
perPoint: |-
x1 = x*.5+.5;
s = x1*xs+m;
s = s-.1;
if(above(x1,1-m),
yo = bezier6(s-1,1-(s-1),xp11,xp12,xp13,xp14,xp15,xp16);,
yo = bezier6(s,(1-s),xp1,xp2,xp3,xp4,xp5,xp6););
y = y*yscale*(1-yo*dwave)+((1-yscale)+(x-1)*.15+yo*ywave)/reg00;
coord: CARTESIAN
gridH: 1
gridW: 64
group: Trans
type: DynamicMovement
wrap: false
- factor: 1
group: Trans
type: FastBrightness
- adjustBlend: 0
blend: SUB_DEST_SRC
enabled: true
group: Misc
lineSize: 1
type: SetRenderMode
date: '2019-01-18T19:13:21.340Z'
name: '20190118'
{
"name": "20190118",
"date": "2019-01-18T19:13:21.340Z",
"clearFrame": false,
"components": [
{
"type": "AVSTransAutomation",
"group": "Misc",
"enabled": true,
"logging": false,
"translateFirstLevel": false,
"readCommentCodes": false,
"code": "#define bezier6(i,ai,p1,p2,p3,p4,p5,p6) p1*pow(ai,5)+p2*5*pow(ai,4)*(i)+p3*10*pow(ai,3)*sqr(i)+p4*10*sqr(ai)*pow(i,3)+p5*5*(ai)*pow(i,4)+p6*pow(i,5)"
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "corvol=0.1;\r\nspeed = gettime(0)-t; t = gettime(0); ",
"perFrame": "speed = gettime(0)-t; t = gettime(0); // framerate independend thing\r\n\r\ncorvol=corvol*0.995+getspec(0.5,1,0)*0.005;\r\ncor1=0.1/(corvol+0.0001);\r\ncor=sqrt(cor1);\r\n\r\nvol1=vol1*0.95+getspec(0.5,1,0)*0.05*cor; //correction needs to be here AND two lines below\r\nvol2=vol2*0.9+getspec(0.1,0.1,0)*0.1*cor;\r\n\r\npar1=1-vol1;pur1=vol1*0.5*cor; //will be used in bezier commander\r\npar2=1-vol2;pur2=vol2*15; //same\r\npar3=0.9-vol2;pur3=vol2*cor+0.1; //still same\r\n\r\nadd=cor*0.005; //adds some real-spectrum to the spectrum\r\n\r\nspdfak=10*cor; //factor gmegabuf is multiplied with\r\n\r\nreg00=h/w;\r\nreg01=0.3*speed; //individual speed\r\nreg02=0.15; //randomness\r\nreg03=0.1; //brightness\r\nreg04=speed*vol2*cor*5; //normal speed of beziers\r\nreg05=0.7; //individual speed interpolation\r\nreg06=cor; //just for text\r\nreg07=5; // final zoom\r\nreg21=1;\r\n\r\n\r\nin1a=0;in1b=0;in2=0;n2=0.8/reg21;start=0.0; \r\nblur=n2*0.2; blurfa=0.001;\r\n\r\nmegabuf(in1a) =\r\nmegabuf(in1a)*0.8\r\n+getspec(sqr(in1a*n2)+start,sqr(in1a*n2)*blurfa+blur,0)*(0.2+add);\r\n\r\nmegabuf(in1b+100) =\r\nmegabuf(in1b+100)*0.92\r\n+getspec(sqr(in1b*n2)+start,sqr(in1b*n2)*blurfa+blur,0)*0.08;\r\n\r\ngmegabuf(in2) =\r\nmax(megabuf(in2)-megabuf(in2+100),0)*spdfak;\r\n\r\nxrd1=xrd1*par1+getosc(rand(101)*0.01,0,0)*pur1;\r\nxrd2=xrd2*par1+getosc(rand(101)*0.01,0,0)*pur1;\r\nxrd3=xrd3*par1+getosc(rand(101)*0.01,0,0)*pur1;\r\nxrd4=xrd4*par1+getosc(rand(101)*0.01,0,0)*pur1;\r\n\r\nxavg=(xrd1+xrd2+xrd3+xrd4)*0.1; \r\nreg70=reg70*par2+(xrd1-xavg)*pur2;\r\nreg71=reg71*par2+(xrd2-xavg)*pur2;\r\nreg72=reg72*par2+(xrd3-xavg)*pur2;\r\nreg73=reg73*par2+(xrd4-xavg)*pur2;\r\n\r\n\r\n",
"onBeat": " ",
"perPoint": ""
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "LINES"
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "ColorModifier",
"group": "Trans",
"recomputeEveryFrame": true,
"code": {
"init": "",
"perFrame": "f = above(rand(100), 0);",
"onBeat": "",
"perPoint": "red = red * f;\r\nblue = blue * f;\r\ngreen = green * f;"
}
},
{
"type": "SetRenderMode",
"group": "Misc",
"blend": "ADJUSTABLE",
"adjustBlend": 80,
"lineSize": 1,
"enabled": true
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;",
"perFrame": "lsf = h/20;\r\nosc = abs(getosc(0,0,0));\r\nspec = getspec(osc*.5, 0.1, 0);\r\nls = lsf * (1/(osc*5+1));\r\nred = (.1+(.3-osc+sin(rm)*.2))*spec;\r\n//red = red - floor(red);\r\nblue = 0.9*sin(osc*$PI+bm)*.3*spec;\r\ngreen = (.6-abs(sin(osc*$PI-gm))*2)*spec;\r\n\r\n//rm = rm+reg01*8.3;\r\n//bm = bm+reg01*2;\r\n//gm = gm+reg01*1;\r\n\r\ndarken = 0.6;\r\n\r\nif(above(rand(10), 7),\r\n red=red*darken; blue=blue*darken; green=green*darken,\r\n0);\r\n\r\nbrighten = 3;\r\nred=red*brighten; blue=blue*brighten; green=green*brighten;",
"onBeat": "",
"perPoint": "x = i*2-1;\r\nlinesize = ls;\r\ndrawmode = 1;\r\ny = 2/(osc*5+1)-1;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "IGNORE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;",
"perFrame": "lsf = h/20;\r\nosc = abs(getosc(0,0,0));\r\nls = lsf * (1/(osc*5+1));\r\n\r\ndarken = 0.6;\r\n\r\nif(above(rand(10), 7),\r\n red=red*darken; blue=blue*darken; green=green*darken,\r\n0);\r\n",
"onBeat": "",
"perPoint": "x = i*2-1;\r\nlinesize = ls;\r\ndrawmode = 1;\r\ny = 2/(osc*5+1)-1;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
},
{
"type": "BufferSave",
"group": "Misc",
"action": "SAVE",
"bufferId": 36,
"blendMode": "REPLACE",
"adjustBlend": 11
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "BUFFER",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": true,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": []
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "REPLACE",
"output": "ADDITIVE",
"inAdjustBlend": 128,
"outAdjustBlend": 81,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "f = (sw*.06);\r\ny = y*f;\r\n"
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": true,
"code": "f = 1/(sw*.06);\r\ny = y*f;\r\n"
}
]
},
{
"type": "DynamicMovement",
"group": "Trans",
"code": {
"init": "yscale = 0.55;\r\ndwave = .5;\r\nywave = .2;",
"perFrame": "spd1 = spd1*reg05+gmegabuf(reg20)*reg01; //individual speed\r\nspd2 = gmegabuf(reg20)*reg02; //randomness\r\nspd3 = gmegabuf(reg20)*reg03; //brightness\r\nreg20 = reg20+1; ntrpl = gmegabuf(reg20)*0.025+0.001;\r\n\r\nxs = 1;\r\nm = m + reg01*3; //spd1+ reg04;\r\nnew = above(m,1);\r\nif(new,\r\nm = m-1;\r\nxp1 = xp11;\r\nxp2 = xp12;\r\nxp3 = xp13;\r\nxp4 = xp14;\r\nxp5 = xp15;\r\nxp6 = xp16;\r\n\r\nxp11 = xp16;\r\nxp12 = xp16+(xp16-xp15);\r\nxp13 = reg70+getosc(rand(101)*0.01,0,0)*spd2;\r\nxp14 = reg71+getosc(rand(101)*0.01,0,0)*spd2;\r\nxp15 = reg72+getosc(rand(101)*0.01,0,0)*spd2;\r\nxp16 = reg73+getosc(rand(101)*0.01,0,0)*spd2;\r\n,bla);\r\n",
"onBeat": "",
"perPoint": "x1 = x*.5+.5;\r\ns = x1*xs+m;\r\ns = s-.1;\r\nif(above(x1,1-m),\r\nyo = bezier6(s-1,1-(s-1),xp11,xp12,xp13,xp14,xp15,xp16);,\r\nyo = bezier6(s,(1-s),xp1,xp2,xp3,xp4,xp5,xp6););\r\n\r\ny = y*yscale*(1-yo*dwave)+((1-yscale)+(x-1)*.15+yo*ywave)/reg00;\r\n"
},
"bFilter": true,
"coord": "CARTESIAN",
"gridW": 64,
"gridH": 1,
"blend": false,
"wrap": false,
"buffer": 56
},
{
"type": "FastBrightness",
"group": "Trans",
"factor": 1
},
{
"type": "SetRenderMode",
"group": "Misc",
"blend": "SUB_DEST_SRC",
"adjustBlend": 0,
"lineSize": 1,
"enabled": true
}
]
}
Code
Show WebVS code
Markup:
YAML
clearFrame: false
components:
- clearFrame: true
code:
enabled: false
init: ''
perFrame: ''
components:
- adjustBlend: 0
bilinear: false
blendMode: REPLACE
group: Misc
image: avsres_texer_square_gaussblur_240x240x16.bmp
onBeatAdjustBlend: 0
onBeatBilinear: false
onBeatOutput: REPLACE
type: PictureII
- bilinear: false
blendMode: Replace
code:
init: ''
onBeat: ''
perFrame: |-
f = 400;
x = getosc(0,0,0)*f;
y = getosc(1,0,0)*f;
group: Trans
type: DynamicShift
- action: SAVE
bufferId: 32
group: Misc
type: BufferSave
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: IGNORE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- bilinear: false
code: |-
y = y*.05+.5;
x = -x;
group: Trans
output: 50/50
sourceMapped: false
type: Movement
wrap: false
- bilinear: false
code: y = -.5;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- blendMode: REPLACE
color: '#ff8c40'
enabled: true
group: Trans
invert: false
type: UniqueTone
- code:
init: ''
onBeat: ''
perFrame: ''
perPoint: |-
red = red*(.99-above(red,.45));
blue = red; green = red;
group: Trans
recomputeEveryFrame: true
type: ColorModifier
- alphaOnly: false
bFilter: true
blend: false
buffer: 15
code:
init: t = gettime(0); a = 1; aa = 1;
onBeat: aa = if(above(rand(10),6),aa+rand(4)*2-1,aa)
perFrame: |-
//globals
asp1 = min(1,h/w); reg10 = asp1;
asp2 = min(1,w/h); reg11 = asp2;
notpause = bnot(equal(gettime(-1),lastpt));
lastpt = gettime(-1);
prespeed = (gettime(0)-t)*notpause;
speed = speed*.9+prespeed*.1;
reg00 = speed;
t = gettime(0);
//locals
a = a-(a-aa)*pow(speed,.25);
perPoint: |-
r = r+.25*$PI*a;
coord: POLAR
gridH: 1
gridW: 1
group: Trans
type: DynamicMovement
wrap: false
- action: SAVE
adjustBlend: 0
blendMode: FIFTY_FIFTY
bufferId: 15
group: Misc
type: BufferSave
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 153
inBuffer: 0
inBufferInvert: false
input: SUB_SRC_DEST
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- code:
init: ''
onBeat: |-
r = rand(256) / 255;
g = rand(256) / 255;
b = rand(256) / 255;
perFrame: |-
f = 0.8;
bw = 0.2;
r2 = r+getosc(0,bw,0)*f;
g2 = r+getosc(.5,bw,0)*f;
b2 = r+getosc(1,bw,0)*f;
perPoint: |-
red = r2;
green = g2;
blue = b2;
group: Trans
recomputeEveryFrame: true
type: ColorModifier
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: EVERY_OTHER_PIXEL
type: EffectList
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 177
inBuffer: 0
inBufferInvert: false
input: ADDITIVE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- bilinear: false
code: |-
f = (50/sh);
y = y*f;
x = x*f;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- absolute: false
bias: 0
edgeMode: EXTEND
enabled: true
group: Trans
kernel:
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0,
-4, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
height: 7
width: 7
scale: 1
twoPass: false
type: ConvolutionFilter
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- bilinear: true
blendMode: REPLACE
code:
init: u=1;t=0
onBeat: f = 50;
perFrame: f = f*pow(0.9, reg00*100);
perPoint: d = d - sin(d*f)*.01 * d;
group: Trans
type: DynamicDistanceModifier
- blur: LIGHT
group: Trans
round: UP
type: Blur
- action: RESTORE
adjustBlend: 4
blendMode: FIFTY_FIFTY
bufferId: 35
group: Misc
type: BufferSave
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 11
inBuffer: 0
inBufferInvert: false
input: BUFFER
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
date: '2019-01-15T18:09:24.191Z'
name: '20190115'
{
"name": "20190115",
"date": "2019-01-15T18:09:24.191Z",
"clearFrame": false,
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": true,
"input": "IGNORE",
"output": "IGNORE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "PictureII",
"group": "Misc",
"image": "avsres_texer_square_gaussblur_240x240x16.bmp",
"blendMode": "REPLACE",
"onBeatOutput": "REPLACE",
"bilinear": false,
"onBeatBilinear": false,
"adjustBlend": 0,
"onBeatAdjustBlend": 0
},
{
"type": "DynamicShift",
"group": "Trans",
"code": {
"init": "",
"perFrame": "f = 400;\r\nx = getosc(0,0,0)*f;\r\ny = getosc(1,0,0)*f;\r\n",
"onBeat": ""
},
"blendMode": "Replace",
"bilinear": false
},
{
"type": "BufferSave",
"group": "Misc",
"action": "SAVE",
"bufferId": 32
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "SUB_SRC_DEST",
"output": "REPLACE",
"inAdjustBlend": 153,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "50/50",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "y = y*.05+.5;\r\nx = -x;"
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "y = -.5;"
},
{
"type": "UniqueTone",
"group": "Trans",
"enabled": true,
"color": "#ff8c40",
"blendMode": "REPLACE",
"invert": false
},
{
"type": "ColorModifier",
"group": "Trans",
"recomputeEveryFrame": true,
"code": {
"init": "",
"perFrame": "",
"onBeat": "",
"perPoint": "red = red*(.99-above(red,.45));\r\nblue = red; green = red;\r\n"
}
},
{
"type": "DynamicMovement",
"group": "Trans",
"code": {
"init": "t = gettime(0); a = 1; aa = 1;",
"perFrame": " //globals\r\nasp1 = min(1,h/w); reg10 = asp1;\r\nasp2 = min(1,w/h); reg11 = asp2;\r\n\r\nnotpause = bnot(equal(gettime(-1),lastpt));\r\nlastpt = gettime(-1);\r\nprespeed = (gettime(0)-t)*notpause;\r\nspeed = speed*.9+prespeed*.1;\r\nreg00 = speed;\r\nt = gettime(0);\r\n\r\n //locals\r\na = a-(a-aa)*pow(speed,.25);\r\n",
"onBeat": "aa = if(above(rand(10),6),aa+rand(4)*2-1,aa)",
"perPoint": "r = r+.25*$PI*a;\r\n"
},
"bFilter": true,
"coord": "POLAR",
"gridW": 1,
"gridH": 1,
"blend": false,
"wrap": false,
"buffer": 15,
"alphaOnly": false
},
{
"type": "BufferSave",
"group": "Misc",
"action": "SAVE",
"bufferId": 15,
"blendMode": "FIFTY_FIFTY",
"adjustBlend": 0
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "ADDITIVE",
"output": "REPLACE",
"inAdjustBlend": 177,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "EVERY_OTHER_PIXEL",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "ColorModifier",
"group": "Trans",
"recomputeEveryFrame": true,
"code": {
"init": "",
"perFrame": "f = 0.8;\r\nbw = 0.2;\r\nr2 = r+getosc(0,bw,0)*f;\r\ng2 = r+getosc(.5,bw,0)*f;\r\nb2 = r+getosc(1,bw,0)*f;\r\n",
"onBeat": "r = rand(256) / 255;\r\ng = rand(256) / 255;\r\nb = rand(256) / 255;\r\n",
"perPoint": "red = r2;\r\ngreen = g2;\r\nblue = b2;\r\n"
}
}
]
}
]
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": false,
"wrap": false,
"code": "f = (50/sh);\r\ny = y*f;\r\nx = x*f;\r\n"
},
{
"type": "ConvolutionFilter",
"group": "Trans",
"enabled": true,
"edgeMode": "EXTEND",
"absolute": false,
"twoPass": false,
"kernel": {
"width": 7,
"height": 7,
"data": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
0,
1,
0,
0,
0,
0,
0,
-4,
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"bias": 0,
"scale": 1
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "BUFFER",
"output": "REPLACE",
"inAdjustBlend": 11,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "DynamicDistanceModifier",
"group": "Trans",
"code": {
"init": "u=1;t=0",
"perFrame": "f = f*pow(0.9, reg00*100);",
"onBeat": "f = 50;",
"perPoint": "d = d - sin(d*f)*.01 * d;"
},
"blendMode": "REPLACE",
"bilinear": true
},
{
"type": "Blur",
"group": "Trans",
"blur": "LIGHT",
"round": "UP"
},
{
"type": "BufferSave",
"group": "Misc",
"action": "RESTORE",
"bufferId": 35,
"blendMode": "FIFTY_FIFTY",
"adjustBlend": 4
}
]
}
]
}
Code
Show WebVS code
Markup:
YAML
clearFrame: false
components:
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- clearFrame: false
code:
enabled: true
init: ':'
perFrame: |-
eg01 = 1;
min_t = 0.5;
max_fc = 400;
t0 = gettime(0);
components:
- blur: MEDIUM
group: Trans
round: DOWN
type: Blur
- blur: LIGHT
group: Trans
round: DOWN
type: Blur
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: true
init: ''
perFrame: ''
components:
- blur: MEDIUM
group: Trans
round: UP
type: Blur
- blur: LIGHT
group: Trans
round: UP
type: Blur
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: n = 1;
components:
- bilinear: false
code: |-
r = r+$PI/4/4;
d = d*.95;
coordinates: POLAR
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 20
enabled: false
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: true
init: "\a"
perFrame: ' = 1;'
components:
- bilinear: false
code: |-
r = r-$PI/4/4;
d = d*.95;
coordinates: POLAR
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 20
enabled: false
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n = 2;
s = 1;
c = rand(w);
onBeat: ''
perFrame: |-
iw = 2/(w+1);
c = (c+1)%(w+1);
if(c, 0, exec2(
assign(y, rand(30)/20-.75),
assign(s, rand(2)*2-1)
));
perPoint: |-
x = s*(-1+iw*c + iw*i);
red = (1-i)*sqrt(v*1.3); blue = red; green = red;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n = 2;
s = 1;
c = rand(w);
onBeat: ''
perFrame: |-
iw = 2/(w+1);
c = (c+1)%(w+1);
if(c, 0, exec2(
assign(y, rand(30)/20-.75),
assign(s, rand(2)*2-1)
));
perPoint: |-
x = s*(-1+iw*c + iw*i);
red = (1-i)*sqrt(v*1.3); blue = red; green = red;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n = 2;
s = 1;
c = rand(w);
onBeat: ''
perFrame: |-
iw = 2/(w+1);
ih = 2/(h+1) * .5;
c = (c+1)%(w+1);
if(c, 0, exec2(
assign(y0, rand(30)/20-.75),
assign(s, rand(2)*2-1)
));
perPoint: |-
x = s*(-1+iw*c + iw*i);
y = y0 - sign(y0)*(c*ih);
red = (1-i)*sqrt(v*1.3); blue = red; green = red;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n = 2;
s = 1;
c = rand(w);
onBeat: ''
perFrame: |-
iw = 2/(w+1);
ih = 2/(h+1) * .5;
c = (c+1)%(w+1);
if(c, 0, exec2(
assign(y0, rand(30)/20-.75),
assign(s, rand(2)*2-1)
));
perPoint: |-
x = s*(-1+iw*c + iw*i);
y = y0 - sign(y0)*(c*ih);
red = (1-i)*sqrt(v*1.3); blue = red; green = red;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: |-
n = 2;
s = 1;
c = rand(w);
onBeat: ''
perFrame: |-
iw = 2/(w+1);
ih = 2/(h+1) * .5;
c = (c+1)%(w+1);
if(c, 0, exec2(
assign(y0, rand(30)/20-.75),
assign(s, rand(2)*2-1)
));
perPoint: |-
x = s*(-1+iw*c + iw*i);
y = y0 - sign(y0)*(c*ih);
red = (1-i)*sqrt(v*1.3); blue = red; green = red;
colors:
- '#ffffff'
drawMode: DOTS
group: Render
type: SuperScope
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- adjustBlend: 0
blendMode: REPLACE
cycleSpeed: 8
dontSkipFastBeats: false
group: Trans
key: RED
mapCycleMode: SINGLE
maps:
- colors:
- color: '#000000'
position: 36
- color: '#1c1621'
position: 37
- color: '#1c1621'
position: 56
- color: '#000000'
position: 57
- color: '#000000'
position: 67
- color: '#82653e'
position: 67
- color: '#82653e'
position: 91
- color: '#ffffff'
position: 92
- color: '#f7da0f'
position: 100
- color: '#ffffff'
position: 105
- color: '#000000'
position: 106
- color: '#000000'
position: 119
- color: '#62a3c1'
position: 134
- color: '#ffffff'
position: 135
- color: '#ffffff'
position: 145
- color: '#000000'
position: 159
- color: '#ff0000'
position: 167
- color: '#ff0046'
position: 178
- color: '#ffffff'
position: 184
- color: '#000000'
position: 202
enabled: true
fileName: ''
id: 47709944
index: 0
type: ColorMap
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- color: '#000000'
group: Trans
speed: 3
type: FadeOut
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 24
inBuffer: 0
inBufferInvert: false
input: ADJUSTABLE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: ADDITIVE
type: EffectList
date: '2019-01-15T14:36:41.032Z'
name: '20190113'
{
"name": "20190113",
"date": "2019-01-15T14:36:41.032Z",
"clearFrame": false,
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "REPLACE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": true,
"init": ":",
"perFrame": "eg01 = 1;\r\nmin_t = 0.5;\r\nmax_fc = 400;\r\nt0 = gettime(0);"
},
"components": [
{
"type": "Blur",
"group": "Trans",
"blur": "MEDIUM",
"round": "DOWN"
},
{
"type": "Blur",
"group": "Trans",
"blur": "LIGHT",
"round": "DOWN"
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "REPLACE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": true,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Blur",
"group": "Trans",
"blur": "MEDIUM",
"round": "UP"
},
{
"type": "Blur",
"group": "Trans",
"blur": "LIGHT",
"round": "UP"
}
]
},
{
"type": "EffectList",
"enabled": false,
"clearFrame": false,
"input": "REPLACE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 20,
"code": {
"enabled": false,
"init": "",
"perFrame": "n = 1;"
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"coordinates": "POLAR",
"bilinear": false,
"wrap": false,
"code": "r = r+$PI/4/4;\r\nd = d*.95;"
}
]
},
{
"type": "EffectList",
"enabled": false,
"clearFrame": false,
"input": "REPLACE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 20,
"code": {
"enabled": true,
"init": "\u0007",
"perFrame": " = 1;"
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"coordinates": "POLAR",
"bilinear": false,
"wrap": false,
"code": "r = r-$PI/4/4;\r\nd = d*.95;\r\n"
}
]
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;\r\ns = 1;\r\nc = rand(w);",
"perFrame": "iw = 2/(w+1);\r\nc = (c+1)%(w+1);\r\n\r\nif(c, 0, exec2(\r\n\tassign(y, rand(30)/20-.75),\r\n\tassign(s, rand(2)*2-1)\r\n));\r\n",
"onBeat": "",
"perPoint": "x = s*(-1+iw*c + iw*i);\r\nred = (1-i)*sqrt(v*1.3); blue = red; green = red;"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;\r\ns = 1;\r\nc = rand(w);",
"perFrame": "iw = 2/(w+1);\r\nc = (c+1)%(w+1);\r\n\r\nif(c, 0, exec2(\r\n\tassign(y, rand(30)/20-.75),\r\n\tassign(s, rand(2)*2-1)\r\n));\r\n",
"onBeat": "",
"perPoint": "x = s*(-1+iw*c + iw*i);\r\nred = (1-i)*sqrt(v*1.3); blue = red; green = red;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;\r\ns = 1;\r\nc = rand(w);",
"perFrame": "iw = 2/(w+1);\r\nih = 2/(h+1) * .5;\r\nc = (c+1)%(w+1);\r\n\r\nif(c, 0, exec2(\r\n\tassign(y0, rand(30)/20-.75),\r\n\tassign(s, rand(2)*2-1)\r\n));\r\n",
"onBeat": "",
"perPoint": "x = s*(-1+iw*c + iw*i);\r\ny = y0 - sign(y0)*(c*ih);\r\nred = (1-i)*sqrt(v*1.3); blue = red; green = red;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;\r\ns = 1;\r\nc = rand(w);",
"perFrame": "iw = 2/(w+1);\r\nih = 2/(h+1) * .5;\r\nc = (c+1)%(w+1);\r\n\r\nif(c, 0, exec2(\r\n\tassign(y0, rand(30)/20-.75),\r\n\tassign(s, rand(2)*2-1)\r\n));\r\n",
"onBeat": "",
"perPoint": "x = s*(-1+iw*c + iw*i);\r\ny = y0 - sign(y0)*(c*ih);\r\nred = (1-i)*sqrt(v*1.3); blue = red; green = red;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "n = 2;\r\ns = 1;\r\nc = rand(w);",
"perFrame": "iw = 2/(w+1);\r\nih = 2/(h+1) * .5;\r\nc = (c+1)%(w+1);\r\n\r\nif(c, 0, exec2(\r\n\tassign(y0, rand(30)/20-.75),\r\n\tassign(s, rand(2)*2-1)\r\n));\r\n",
"onBeat": "",
"perPoint": "x = s*(-1+iw*c + iw*i);\r\ny = y0 - sign(y0)*(c*ih);\r\nred = (1-i)*sqrt(v*1.3); blue = red; green = red;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#ffffff"
],
"drawMode": "DOTS"
}
]
},
{
"type": "ColorMap",
"group": "Trans",
"key": "RED",
"blendMode": "REPLACE",
"mapCycleMode": "SINGLE",
"adjustBlend": 0,
"dontSkipFastBeats": false,
"cycleSpeed": 8,
"maps": [
{
"index": 0,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 36
},
{
"color": "#1c1621",
"position": 37
},
{
"color": "#1c1621",
"position": 56
},
{
"color": "#000000",
"position": 57
},
{
"color": "#000000",
"position": 67
},
{
"color": "#82653e",
"position": 67
},
{
"color": "#82653e",
"position": 91
},
{
"color": "#ffffff",
"position": 92
},
{
"color": "#f7da0f",
"position": 100
},
{
"color": "#ffffff",
"position": 105
},
{
"color": "#000000",
"position": 106
},
{
"color": "#000000",
"position": 119
},
{
"color": "#62a3c1",
"position": 134
},
{
"color": "#ffffff",
"position": 135
},
{
"color": "#ffffff",
"position": 145
},
{
"color": "#000000",
"position": 159
},
{
"color": "#ff0000",
"position": 167
},
{
"color": "#ff0046",
"position": 178
},
{
"color": "#ffffff",
"position": 184
},
{
"color": "#000000",
"position": 202
}
],
"id": 47709944,
"fileName": ""
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "ADJUSTABLE",
"output": "ADDITIVE",
"inAdjustBlend": 24,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "FadeOut",
"group": "Trans",
"speed": 3,
"color": "#000000"
}
]
}
]
}
Code
Show WebVS code
Markup:
YAML
clearFrame: false
components:
- code: |-
#define mb(a) megabuf(a)
#define gmb(a) gmegabuf(a)
enabled: true
group: Misc
logging: false
readCommentCodes: true
translateFirstLevel: false
type: AVSTransAutomation
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components: []
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: XOR
outAdjustBlend: 26
outBuffer: 0
outBufferInvert: false
output: MAXIMUM
type: EffectList
- code:
init: |-
n1 = 7;
n = n1;
ttpi = (2/3)*$PI;
ftpi = (4/3)*$PI;
onBeat: |-
if(below(col, 0.3),
n1 = rand(5) + 5;
n = n1;
xp = (rand(40)/20)-1;
yp = (rand(40)/20)-1;
d = sqrt(sqr(xp) + sqr(yp));
dd = max(0.2, if(rand(3), cos(d)*(d+.6), pow(d*2, 1.4)));
r = rand(200)/100 * $PI;
in = 0;
loop(n1,
megabuf(in) = (rand(10)+20)/50;
in = in+1;
);
col = 1;
hue = (rand(300)+120)/180 * $PI;
,0);
perFrame: |-
speed = gettime(0)-t; t = gettime(0);
asp = h/w;
in = 0;
loop(n1,
megabuf(in) = megabuf(in)*pow(rand(10)/500+.989, speed*200);
megabuf(in+1000) = sqrt(rand(100)/1000) * megabuf(in);
in = in+1;
);
col = col * pow(.99,speed*150);
black = above(rand(5), 0);
c = -1;
perPoint: |-
c = c+1;
c2 = (c+1)%n1;
x1 = xp;
y1 = yp;
d1 = (megabuf(c) - megabuf(c+1000)) * dd;
d2 = (megabuf(c2) - megabuf(c2+1000)) * dd;
x2 = xp + cos(c*$PI*2/n1+r) * d1 * asp;
y2 = yp + sin(c*$PI*2/n1+r) * d1;
x3 = xp + cos((c+1)*$PI*2/n1+r) * d2 * asp;
y3 = yp + sin((c+1)*$PI*2/n1+r) * d2;
color = (1-col)*black;
red1 = cos(hue)*color;
green1 = cos(hue-ttpi)*color;
blue1 = cos(hue-ftpi)*color;
group: Misc
type: Triangle
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- clearFrame: false
code:
enabled: true
init: ''
perFrame: ''
components:
- bilinear: true
code: d = d*.99
coordinates: POLAR
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 15
inBuffer: 0
inBufferInvert: false
input: ADJUSTABLE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: SUB_SRC_DEST
type: EffectList
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: XOR
type: EffectList
- blur: MEDIUM
group: Trans
round: DOWN
type: Blur
- adjustBlend: 173
blendMode: ADJUSTABLE
cycleSpeed: 8
dontSkipFastBeats: false
group: Trans
key: CHANNEL_SUM_HALF
mapCycleMode: SINGLE
maps:
- colors:
- color: '#000000'
position: 0
- color: '#840000'
position: 79
- color: '#ff3e9e'
position: 167
- color: '#ffffff'
position: 255
enabled: true
fileName: ''
id: 42554928
index: 0
type: ColorMap
- code:
init: ''
onBeat: ''
perFrame: ''
perPoint: |-
red = red*1.4;
blue = red; green = red;
group: Trans
recomputeEveryFrame: true
type: ColorModifier
date: '2019-01-10T11:23:36.353Z'
name: '20190109'
{
"name": "20190109",
"date": "2019-01-10T11:23:36.353Z",
"clearFrame": false,
"components": [
{
"type": "AVSTransAutomation",
"group": "Misc",
"enabled": true,
"logging": false,
"translateFirstLevel": false,
"readCommentCodes": true,
"code": "#define mb(a) megabuf(a)\r\n#define gmb(a) gmegabuf(a)\r\n"
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "REPLACE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "XOR",
"output": "MAXIMUM",
"inAdjustBlend": 128,
"outAdjustBlend": 26,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": []
},
{
"type": "Triangle",
"group": "Misc",
"code": {
"init": "n1 = 7;\r\nn = n1;\r\nttpi = (2/3)*$PI;\r\nftpi = (4/3)*$PI;",
"perFrame": "speed = gettime(0)-t; t = gettime(0);\r\n\r\nasp = h/w;\r\nin = 0;\r\nloop(n1,\r\n megabuf(in) = megabuf(in)*pow(rand(10)/500+.989, speed*200);\r\n megabuf(in+1000) = sqrt(rand(100)/1000) * megabuf(in);\r\n in = in+1;\r\n);\r\ncol = col * pow(.99,speed*150);\r\nblack = above(rand(5), 0);\r\nc = -1;",
"onBeat": "if(below(col, 0.3),\r\n n1 = rand(5) + 5;\r\n n = n1;\r\n xp = (rand(40)/20)-1;\r\n yp = (rand(40)/20)-1;\r\n d = sqrt(sqr(xp) + sqr(yp));\r\n dd = max(0.2, if(rand(3), cos(d)*(d+.6), pow(d*2, 1.4)));\r\n r = rand(200)/100 * $PI;\r\n in = 0;\r\n loop(n1,\r\n megabuf(in) = (rand(10)+20)/50;\r\n in = in+1;\r\n );\r\n col = 1;\r\n hue = (rand(300)+120)/180 * $PI;\r\n,0);",
"perPoint": "c = c+1;\r\nc2 = (c+1)%n1;\r\nx1 = xp;\r\ny1 = yp;\r\nd1 = (megabuf(c) - megabuf(c+1000)) * dd;\r\nd2 = (megabuf(c2) - megabuf(c2+1000)) * dd;\r\nx2 = xp + cos(c*$PI*2/n1+r) * d1 * asp;\r\ny2 = yp + sin(c*$PI*2/n1+r) * d1;\r\nx3 = xp + cos((c+1)*$PI*2/n1+r) * d2 * asp;\r\ny3 = yp + sin((c+1)*$PI*2/n1+r) * d2;\r\n\r\ncolor = (1-col)*black;\r\nred1 = cos(hue)*color;\r\ngreen1 = cos(hue-ttpi)*color;\r\nblue1 = cos(hue-ftpi)*color;\r\n"
}
}
]
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "REPLACE",
"output": "XOR",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "ADJUSTABLE",
"output": "SUB_SRC_DEST",
"inAdjustBlend": 15,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": true,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"coordinates": "POLAR",
"bilinear": true,
"wrap": false,
"code": "d = d*.99"
}
]
}
]
},
{
"type": "Blur",
"group": "Trans",
"blur": "MEDIUM",
"round": "DOWN"
},
{
"type": "ColorMap",
"group": "Trans",
"key": "CHANNEL_SUM_HALF",
"blendMode": "ADJUSTABLE",
"mapCycleMode": "SINGLE",
"adjustBlend": 173,
"dontSkipFastBeats": false,
"cycleSpeed": 8,
"maps": [
{
"index": 0,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 0
},
{
"color": "#840000",
"position": 79
},
{
"color": "#ff3e9e",
"position": 167
},
{
"color": "#ffffff",
"position": 255
}
],
"id": 42554928,
"fileName": ""
}
]
},
{
"type": "ColorModifier",
"group": "Trans",
"recomputeEveryFrame": true,
"code": {
"init": "",
"perFrame": "",
"onBeat": "",
"perPoint": "red = red*1.4;\r\nblue = red; green = red;"
}
}
]
}
Code
Show WebVS code
Markup:
YAML
clearFrame: true
components:
- blendMode: REPLACE
color: '#ffffff'
enabled: true
group: Render
onlyFirst: false
type: ClearScreen
- code: |-
#define mb(a) megabuf(a);
#define gmb(a) gmegabuf(a);
#
enabled: true
group: Misc
logging: false
readCommentCodes: true
translateFirstLevel: true
type: AVSTransAutomation
- audioChannel: CENTER
audioSource: WAVEFORM
code:
init: ''
onBeat: |-
tt = .0001;
perFrame: |-
speed = gettime(0)-t; t = gettime(0); reg00 = speed;
speed1 = pow(.85,speed*32);
speed2 = speed*4;
if(above(tt,.5), tt = 0;, tt = tt+speed);
n = (w+1)*.2;
iw = 4/n;
in = 0;
xadd = 0;
prex = -1;
lastadd = 0;
loop(n/2,
if(bor(b, equal(tt, 0)),
megabuf(in) = getosc(in/(n/2),0,0);,
megabuf(in+10000) = megabuf(in+10000) - (megabuf(in+10000) - megabuf(in)) * (1-speed1)
);
xadd = max(iw, (megabuf(in+10000)*20+5)/(w/4));
prex = prex+xadd+lastadd;
megabuf(in+20000) = prex;
lastadd = xadd;
in = in + 1;
);
in = -1;
x = -1-(iw/2);
xoff = max(0, prex-1)/2;
perPoint: |-
c = bnot(c);
in = in + c;
o = megabuf(in+10000);
x = if(c, megabuf(in+20000)-xoff, x);
z = (-o*.5+.5)*2;
iz = .5/(z+.5);
y = if(c, -1, iz-.5);
skip = c;
drawmode = 1;
linesize = (o*20+5)*2.5;
blue = pow(1-iz, 3);
green = blue*.8;
red = blue*.7;
colors:
- '#000000'
drawMode: LINES
group: Render
type: SuperScope
date: '2019-01-08T01:35:39.085Z'
name: '20190107'
{
"name": "20190107",
"date": "2019-01-08T01:35:39.085Z",
"clearFrame": true,
"components": [
{
"type": "ClearScreen",
"group": "Render",
"enabled": true,
"color": "#ffffff",
"blendMode": "REPLACE",
"onlyFirst": false
},
{
"type": "AVSTransAutomation",
"group": "Misc",
"enabled": true,
"logging": false,
"translateFirstLevel": true,
"readCommentCodes": true,
"code": "#define mb(a) megabuf(a);\r\n#define gmb(a) gmegabuf(a);\r\n#"
},
{
"type": "SuperScope",
"group": "Render",
"code": {
"init": "",
"perFrame": "speed = gettime(0)-t; t = gettime(0); reg00 = speed;\r\nspeed1 = pow(.85,speed*32);\r\nspeed2 = speed*4;\r\n\r\nif(above(tt,.5), tt = 0;, tt = tt+speed);\r\n\r\nn = (w+1)*.2;\r\niw = 4/n;\r\nin = 0;\r\nxadd = 0;\r\nprex = -1;\r\nlastadd = 0;\r\nloop(n/2,\r\n\tif(bor(b, equal(tt, 0)),\r\n\t\tmegabuf(in) = getosc(in/(n/2),0,0);,\r\n\t\tmegabuf(in+10000) = megabuf(in+10000) - (megabuf(in+10000) - megabuf(in)) * (1-speed1)\r\n\t);\r\n\txadd = max(iw, (megabuf(in+10000)*20+5)/(w/4));\r\n\tprex = prex+xadd+lastadd;\r\n\tmegabuf(in+20000) = prex;\r\n\tlastadd = xadd;\r\n\tin = in + 1;\r\n);\r\nin = -1;\r\nx = -1-(iw/2);\r\nxoff = max(0, prex-1)/2;\r\n",
"onBeat": "tt = .0001;\r\n",
"perPoint": "c = bnot(c);\r\nin = in + c;\r\no = megabuf(in+10000);\r\nx = if(c, megabuf(in+20000)-xoff, x);\r\nz = (-o*.5+.5)*2;\r\niz = .5/(z+.5);\r\ny = if(c, -1, iz-.5);\r\nskip = c;\r\ndrawmode = 1;\r\nlinesize = (o*20+5)*2.5;\r\nblue = pow(1-iz, 3);\r\ngreen = blue*.8;\r\nred = blue*.7;\r\n"
},
"audioChannel": "CENTER",
"audioSource": "WAVEFORM",
"colors": [
"#000000"
],
"drawMode": "LINES"
}
]
}
Info
640x640
own
~3h
2019-01-06
Code
Show WebVS code
Markup:
YAML
clearFrame: true
components:
- clearFrame: false
code:
enabled: true
init: ''
perFrame: ''
components:
- absolute: false
bias: 0
edgeMode: EXTEND
enabled: true
group: Trans
kernel:
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0,
0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0]
height: 7
width: 7
scale: 8
twoPass: false
type: ConvolutionFilter
- blendMode: Additive
color: '#ffffff'
distance: 16
enabled: true
group: Render
onBeatParticleSize: 21
onBeatSizeChange: true
particleSize: 15
type: MovingParticle
- blendMode: FIFTY_FIFTY
color: '#9fd7ec'
distance: 16
enabled: true
group: Render
onBeatParticleSize: 44
onBeatSizeChange: true
particleSize: 14
type: MovingParticle
- blendMode: Additive
color: '#ffffff'
distance: 16
enabled: true
group: Render
onBeatParticleSize: 21
onBeatSizeChange: true
particleSize: 14
type: MovingParticle
- blendMode: FIFTY_FIFTY
color: '#98f1c7'
distance: 16
enabled: true
group: Render
onBeatParticleSize: 30
onBeatSizeChange: true
particleSize: 13
type: MovingParticle
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- adjustBlend: 0
blendMode: ADDITIVE
cycleSpeed: 8
dontSkipFastBeats: false
group: Trans
key: CHANNEL_AVERAGE
mapCycleMode: ONBEAT_RANDOM
maps:
- colors:
- color: '#000000'
position: 0
- color: '#932500'
position: 255
enabled: true
fileName: ''
id: 6286248
index: 0
- colors:
- color: '#000000'
position: 0
- color: '#364147'
position: 255
enabled: true
fileName: ''
id: 6285608
index: 1
- colors:
- color: '#000000'
position: 0
- color: '#440411'
position: 255
enabled: true
fileName: ''
id: 6286408
index: 2
type: ColorMap
- bilinear: true
code: |-
w = 50;
speed = 2;
shift = above((x*sw-y*sh)%w, w*.5)*2-1;
x = x+(speed/sw)*shift;
y = y+(speed/sh)*shift;
group: Trans
output: 50/50
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: true
enableOnBeatFor: 100
enabled: false
inAdjustBlend: 255
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: EVERY_OTHER_PIXEL
type: EffectList
- color: '#000000'
group: Trans
speed: 14
type: FadeOut
- bilinear: true
code: |-
w = 50;
speed = 2;
shift = above((x*sw+y*sh)%w, w*.5)*2-1;
x = x+(speed/sw)*shift;
y = y-(speed/sh)*shift;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 0
inBuffer: 0
inBufferInvert: false
input: IGNORE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: REPLACE
type: EffectList
- bilinear: true
code: |-
x = x*.25-.0;
y = y*.25-.0;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- adjustBlend: 0
blendMode: REPLACE
cycleSpeed: 8
dontSkipFastBeats: false
group: Trans
key: MAX
mapCycleMode: SINGLE
maps:
- colors:
- color: '#000000'
position: 0
- color: '#ffffff'
position: 2
enabled: true
fileName: ''
id: 6286376
index: 0
type: ColorMap
- action: SAVE
bufferId: 136
group: Misc
type: BufferSave
- blur: LIGHT
group: Trans
round: UP
type: Blur
- adjustBlend: 0
blendMode: REPLACE
cycleSpeed: 8
dontSkipFastBeats: false
group: Trans
key: RED
mapCycleMode: SINGLE
maps:
- colors:
- color: '#000000'
position: 17
- color: '#787878'
position: 30
- color: '#7f7f7f'
position: 233
- color: '#000e15'
position: 251
enabled: true
fileName: ''
id: 6287272
index: 0
type: ColorMap
enableOnBeat: false
enableOnBeatFor: 1
enabled: true
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: false
output: ADDITIVE
type: EffectList
- bilinear: true
code: |-
w = 50;
speed = 2;
shift = above((x*sw-y*sh)%w, w*.5)*2-1;
x = x+(speed/sw)*shift;
y = y+(speed/sh)*shift;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- clearFrame: false
code:
enabled: false
init: ''
perFrame: ''
components:
- bilinear: true
code: |-
x = x*0.02 + 0.5;
y1 = y*sh;
y2 = -(y1-(y1%20));
y = (y2/sh)*.25;
group: Trans
output: Replace
sourceMapped: false
type: Movement
wrap: false
- absolute: false
bias: 0
edgeMode: EXTEND
enabled: true
group: Trans
kernel:
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0]
height: 7
width: 7
scale: 1
twoPass: false
type: ConvolutionFilter
- adjustBlend: 0
blendMode: REPLACE
cycleSpeed: 8
dontSkipFastBeats: false
group: Trans
key: CHANNEL_AVERAGE
mapCycleMode: SINGLE
maps:
- colors:
- color: '#000000'
position: 0
- color: '#608086'
position: 253
enabled: true
fileName: ''
id: 6286088
index: 0
type: ColorMap
enableOnBeat: false
enableOnBeatFor: 1
enabled: false
inAdjustBlend: 128
inBuffer: 0
inBufferInvert: false
input: REPLACE
outAdjustBlend: 128
outBuffer: 0
outBufferInvert: true
output: BUFFER
type: EffectList
date: '2019-01-06T21:29:32.020Z'
name: '20190106'
{
"name": "20190106",
"date": "2019-01-06T21:29:32.020Z",
"clearFrame": true,
"components": [
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "IGNORE",
"output": "REPLACE",
"inAdjustBlend": 0,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": true,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "ConvolutionFilter",
"group": "Trans",
"enabled": true,
"edgeMode": "EXTEND",
"absolute": false,
"twoPass": false,
"kernel": {
"width": 7,
"height": 7,
"data": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
1,
0,
1,
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1,
1,
0,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"bias": 0,
"scale": 8
},
{
"type": "MovingParticle",
"group": "Render",
"enabled": true,
"onBeatSizeChange": true,
"color": "#ffffff",
"distance": 16,
"particleSize": 15,
"onBeatParticleSize": 21,
"blendMode": "Additive"
},
{
"type": "MovingParticle",
"group": "Render",
"enabled": true,
"onBeatSizeChange": true,
"color": "#9fd7ec",
"distance": 16,
"particleSize": 14,
"onBeatParticleSize": 44,
"blendMode": "FIFTY_FIFTY"
},
{
"type": "MovingParticle",
"group": "Render",
"enabled": true,
"onBeatSizeChange": true,
"color": "#ffffff",
"distance": 16,
"particleSize": 14,
"onBeatParticleSize": 21,
"blendMode": "Additive"
},
{
"type": "MovingParticle",
"group": "Render",
"enabled": true,
"onBeatSizeChange": true,
"color": "#98f1c7",
"distance": 16,
"particleSize": 13,
"onBeatParticleSize": 30,
"blendMode": "FIFTY_FIFTY"
},
{
"type": "EffectList",
"enabled": false,
"clearFrame": false,
"input": "REPLACE",
"output": "EVERY_OTHER_PIXEL",
"inAdjustBlend": 255,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": true,
"enableOnBeatFor": 100,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "ColorMap",
"group": "Trans",
"key": "CHANNEL_AVERAGE",
"blendMode": "ADDITIVE",
"mapCycleMode": "ONBEAT_RANDOM",
"adjustBlend": 0,
"dontSkipFastBeats": false,
"cycleSpeed": 8,
"maps": [
{
"index": 0,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 0
},
{
"color": "#932500",
"position": 255
}
],
"id": 6286248,
"fileName": ""
},
{
"index": 1,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 0
},
{
"color": "#364147",
"position": 255
}
],
"id": 6285608,
"fileName": ""
},
{
"index": 2,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 0
},
{
"color": "#440411",
"position": 255
}
],
"id": 6286408,
"fileName": ""
}
]
},
{
"type": "Movement",
"group": "Trans",
"output": "50/50",
"sourceMapped": false,
"bilinear": true,
"wrap": false,
"code": "w = 50;\r\nspeed = 2;\r\nshift = above((x*sw-y*sh)%w, w*.5)*2-1;\r\nx = x+(speed/sw)*shift;\r\ny = y+(speed/sh)*shift;\r\n"
}
]
},
{
"type": "FadeOut",
"group": "Trans",
"speed": 14,
"color": "#000000"
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": false,
"code": "w = 50;\r\nspeed = 2;\r\nshift = above((x*sw+y*sh)%w, w*.5)*2-1;\r\nx = x+(speed/sw)*shift;\r\ny = y-(speed/sh)*shift;\r\n"
}
]
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": false,
"code": "x = x*.25-.0;\r\ny = y*.25-.0;"
},
{
"type": "EffectList",
"enabled": true,
"clearFrame": false,
"input": "REPLACE",
"output": "ADDITIVE",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": false,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "ColorMap",
"group": "Trans",
"key": "MAX",
"blendMode": "REPLACE",
"mapCycleMode": "SINGLE",
"adjustBlend": 0,
"dontSkipFastBeats": false,
"cycleSpeed": 8,
"maps": [
{
"index": 0,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 0
},
{
"color": "#ffffff",
"position": 2
}
],
"id": 6286376,
"fileName": ""
}
]
},
{
"type": "BufferSave",
"group": "Misc",
"action": "SAVE",
"bufferId": 136
},
{
"type": "Blur",
"group": "Trans",
"blur": "LIGHT",
"round": "UP"
},
{
"type": "ColorMap",
"group": "Trans",
"key": "RED",
"blendMode": "REPLACE",
"mapCycleMode": "SINGLE",
"adjustBlend": 0,
"dontSkipFastBeats": false,
"cycleSpeed": 8,
"maps": [
{
"index": 0,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 17
},
{
"color": "#787878",
"position": 30
},
{
"color": "#7f7f7f",
"position": 233
},
{
"color": "#000e15",
"position": 251
}
],
"id": 6287272,
"fileName": ""
}
]
}
]
},
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": false,
"code": "w = 50;\r\nspeed = 2;\r\nshift = above((x*sw-y*sh)%w, w*.5)*2-1;\r\nx = x+(speed/sw)*shift;\r\ny = y+(speed/sh)*shift;\r\n"
},
{
"type": "EffectList",
"enabled": false,
"clearFrame": false,
"input": "REPLACE",
"output": "BUFFER",
"inAdjustBlend": 128,
"outAdjustBlend": 128,
"inBuffer": 0,
"outBuffer": 0,
"inBufferInvert": false,
"outBufferInvert": true,
"enableOnBeat": false,
"enableOnBeatFor": 1,
"code": {
"enabled": false,
"init": "",
"perFrame": ""
},
"components": [
{
"type": "Movement",
"group": "Trans",
"output": "Replace",
"sourceMapped": false,
"bilinear": true,
"wrap": false,
"code": "x = x*0.02 + 0.5;\r\n\r\ny1 = y*sh;\r\ny2 = -(y1-(y1%20));\r\ny = (y2/sh)*.25;\r\n"
},
{
"type": "ConvolutionFilter",
"group": "Trans",
"enabled": true,
"edgeMode": "EXTEND",
"absolute": false,
"twoPass": false,
"kernel": {
"width": 7,
"height": 7,
"data": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
-1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"bias": 0,
"scale": 1
},
{
"type": "ColorMap",
"group": "Trans",
"key": "CHANNEL_AVERAGE",
"blendMode": "REPLACE",
"mapCycleMode": "SINGLE",
"adjustBlend": 0,
"dontSkipFastBeats": false,
"cycleSpeed": 8,
"maps": [
{
"index": 0,
"enabled": true,
"colors": [
{
"color": "#000000",
"position": 0
},
{
"color": "#608086",
"position": 253
}
],
"id": 6286088,
"fileName": ""
}
]
}
]
}
]
}