|
@ -10,16 +10,20 @@ |
|
|
// ALT-Enter: run a block
|
|
|
// ALT-Enter: run a block
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+-+-+-+ +-+-+-+-+-+-+-+ +-+-+-+-+-+-+ |
|
|
+-+-+-+ +-+-+-+-+-+-+-+ |
|
|
|o|l|a| |p|e|q|u|e|n|o| |m|u|n|d|o|!| |
|
|
|o|l|a| |m|u|n|d|o|!| |
|
|
+-+-+-+ +-+-+-+-+-+-+-+ +-+-+-+-+-+-+ |
|
|
+-+-+-+ +-+-+-+-+-+-+-+ |
|
|
|
|
|
|
|
|
//search youtube — webcam live stream online
|
|
|
// . ☆ .*・*. ♪。・ BOA NOITE ゚・。。.: *・* 。 ☆
|
|
|
|
|
|
|
|
|
|
|
|
// ノ”good night everyone ♪ ☆ .・゚ ★
|
|
|
|
|
|
|
|
|
|
|
|
// open search youtube — webcam live stream online
|
|
|
|
|
|
|
|
|
function newHTMLskin () { |
|
|
function newHTMLskin () { |
|
|
var divs = document.querySelectorAll('div'), i; |
|
|
var divs = document.querySelectorAll('div'), i; |
|
|
for (i = 0; i < divs.length; ++i) { |
|
|
for (i = 0; i < divs.length; ++i) { |
|
|
divs[i].style.background = "linear-gradient(" + Math.floor(Math.random() * 1000) + "deg, Aquamarine, MistyRose, Blue, Plum, Red)"; |
|
|
divs[i].style.background = "linear-gradient(" + Math.floor(Math.random() * 1000) + "deg, Aquamarine, MistyRose, Blue, Plum)"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
newHTMLskin() |
|
|
newHTMLskin() |
|
@ -30,20 +34,20 @@ newHTMLskin() |
|
|
function newMove () { |
|
|
function newMove () { |
|
|
var divs = document.querySelectorAll('div'), i; |
|
|
var divs = document.querySelectorAll('div'), i; |
|
|
for (i = 0; i < divs.length; ++i) { |
|
|
for (i = 0; i < divs.length; ++i) { |
|
|
divs[i].style.width = Math.floor(Math.random() * 300) + "px"; |
|
|
divs[i].style.borderRadius = Math.floor(Math.random() * 100) + "px"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
newMove() |
|
|
newMove() |
|
|
|
|
|
// setInterval(newMove, 500)
|
|
|
// change borderRadius
|
|
|
// change borderRadius
|
|
|
|
|
|
|
|
|
function breathing() { |
|
|
function breathing() { |
|
|
var zooming = document.querySelectorAll('.badge-style-type-live-now'), i; |
|
|
var zooming = document.querySelectorAll('.badge'), i; |
|
|
currentScale = 1; |
|
|
currentScale = 1; |
|
|
currenttime = setInterval(function() { |
|
|
currenttime = setInterval(function() { |
|
|
for (i = 0; i < zooming.length; ++i) { |
|
|
for (i = 0; i < zooming.length; ++i) { |
|
|
zooming[i].style.transform="scale(" + currentScale + ")"; |
|
|
zooming[i].style.transform="scale(" + currentScale + ")"; |
|
|
zooming[i].style.background="blue"; |
|
|
zooming[i].style.background="#fb78ff"; |
|
|
currentScale = Math.random() * 10; |
|
|
currentScale = Math.random() * 10; |
|
|
} |
|
|
} |
|
|
}, 800); |
|
|
}, 800); |
|
@ -98,43 +102,59 @@ function noBreathing() { |
|
|
// dance.push('https://www.youtube.com/embed/BCQnrwkTY?controls=0&showinfo=0&rel=0&autoplay=1&loop=1');
|
|
|
// dance.push('https://www.youtube.com/embed/BCQnrwkTY?controls=0&showinfo=0&rel=0&autoplay=1&loop=1');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// screenshare & mask rgb
|
|
|
|
|
|
s0.initScreen() |
|
|
s0.initScreen() |
|
|
a.setBins(2); |
|
|
a.setBins(2); |
|
|
a.show(); |
|
|
a.show(); |
|
|
src(s0) |
|
|
src(s0) |
|
|
// .layer(osc(1,1,6).mask(shape(3)))
|
|
|
// SHAPES
|
|
|
// .scrollX(0, ({time}) => Math.sin(time*0.02)*0.05 )
|
|
|
// shape(3) // triangle
|
|
|
// FLUID
|
|
|
// .scale(() => Math.sin(time)*5)
|
|
|
// .modulateKaleid(osc(12,0.05,0),1)
|
|
|
// .repeat(() => Math.sin(time)*3)
|
|
|
// .luma (0.94)
|
|
|
// MASK
|
|
|
//.rotate(4, 0.1,0)
|
|
|
// .scrollX(0, ({time}) => Math.sin(time*0.05)*0.05 )
|
|
|
|
|
|
// .layer(osc(30,0.1,2).mask(shape(3)))
|
|
|
|
|
|
// LINES
|
|
|
|
|
|
// shape(4,0.4).repeat(2,500) // trans squares
|
|
|
|
|
|
// .scroll(0, ({time}) => Math.sin(time*0.02)*0.05 )
|
|
|
|
|
|
// .scale(1, ({time}) => Math.sin(time*0.02)*0.05 )
|
|
|
|
|
|
// CUBIC block
|
|
|
|
|
|
// .luma (0.9)
|
|
|
|
|
|
// .rotate(6, 2,2)
|
|
|
|
|
|
// .scrollX(0, ({time}) => Math.sin(time*0.002)*0.5 )
|
|
|
|
|
|
// .scale(1)
|
|
|
// FLUID noise
|
|
|
// FLUID noise
|
|
|
//.modulate(noise(6),.22)
|
|
|
// .modulate(noise(86),8)
|
|
|
// .modulateScrollY(osc(2).modulate(osc().rotate(),.11))
|
|
|
// .scale(20)
|
|
|
// .scale(.2)
|
|
|
// .scrollX(0, ({time}) => Math.sin(time*0.02)*0.05 )
|
|
|
|
|
|
// SMOOTH
|
|
|
|
|
|
// .modulateScrollY(osc(8).modulate(osc().rotate(),.61))
|
|
|
|
|
|
// .scale(0.8)
|
|
|
// wavy screens
|
|
|
// wavy screens
|
|
|
// .modulateRepeat(osc(2),1, 2, 4, 3)
|
|
|
// .modulateRepeat(osc(2),1, 2, 2, 3)
|
|
|
// .blend(s0)
|
|
|
// .blend(s0)
|
|
|
// screen kaleid
|
|
|
// KALEID
|
|
|
// .modulateKaleid(voronoi(() => Math.sin(time)*1,1,1),() => Math.sin(time)*1)
|
|
|
// .modulateKaleid(voronoi(() => Math.sin(time)*1,1,1),() => Math.sin(time)*1)
|
|
|
|
|
|
// .modulateKaleid(osc(0.2,3,0),6)
|
|
|
// .scale(() => Math.sin(time)*2)
|
|
|
// .scale(() => Math.sin(time)*2)
|
|
|
|
|
|
// SMOOTH SPOTLIGHT
|
|
|
// voronoi(1,-1,10)
|
|
|
// voronoi(1,-1,10)
|
|
|
// .add(osc(1,0,1)).kaleid(50)
|
|
|
// .add(osc(1,0,1)).kaleid(50)
|
|
|
//.scale(20,10,2)
|
|
|
// INTENSE
|
|
|
// intensify
|
|
|
|
|
|
// .repeat(() => a.fft[0]*2)
|
|
|
// .repeat(() => a.fft[0]*2)
|
|
|
// .scale(()=> a.fft[1]*1)
|
|
|
// .scale(()=> a.fft[1]*1)
|
|
|
// crazyKALEID
|
|
|
// NEW PATTERN
|
|
|
// .scale(0.5).rotate(1,1).kaleid(50)
|
|
|
// .scale(1, ({time}) => Math.sin(time*0.02)*0.05 )
|
|
|
// FLUID blobs
|
|
|
// FLUID blobs
|
|
|
// .mask( noise(0.2,0.5).colorama(2).luma(0.25).thresh(0.5))
|
|
|
// .mask( noise(0.2,0.5).colorama(2).luma(0.25).thresh(0.5))
|
|
|
// ending — increase voronoi
|
|
|
// ENDING — increase voronoi
|
|
|
// .mask(
|
|
|
// .mask(
|
|
|
// voronoi(3, 6).modulateScale(osc(10), .5).thresh(.7)
|
|
|
// voronoi(2, 2).modulateScale(osc(1), 2).thresh(0.1)
|
|
|
// )
|
|
|
// )
|
|
|
// simple line
|
|
|
// LINE
|
|
|
// shape(2,0.01).modulate(solid(1).add(osc()))
|
|
|
// shape(2,0.002).modulate(solid(1).add(osc()))
|
|
|
|
|
|
// .scale(3, ({time}) => Math.sin(time*0.02)*0.5 )
|
|
|
.out() |
|
|
.out() |
|
|
|
|
|
|
|
|
// .☆.*・*.♪。・゚・。.☆.* ノ”good night♪ ☆.。.:*・゚ ☆ ҉ ◢▅◣Ξ◥▅◤Ξ◢▅◣Ξ◥▅◤ ҉ ★ ミ☆☆ keep on dancing!☆☆彡
|
|
|
// ҉ ◢▅◣Ξ◥▅◤Ξ◢▅◣Ξ◥▅◤ ҉ ミ☆☆ keep on dancing!☆☆彡
|
|
|
|
|
|
|
|
|
|
|
|
// - - - - - - - - THE END - - - - - - - - - - //
|
|
|