- Author:
- z0va
- Twitter:
- @
- GitHub:
- Facebook:
- Google+:
- +
- Reddit:
- /r/
- Pouet:
- Website:
- weexord.org
- Compo:
- classic
- Demo link:
- https://js1k.com/2010-first/demo/159
- Shortlink:
- https://js1k.com/159
- Blog post:
- please update here!
- Bytes:
- 1022
- Chars:
- 1022
- Submission
z=document.body.children[0];tx={l:['S','U','B','L','I','M','I','N','A','L'],x:[0,32,67,100,129,143,183,196,235,271],y:[64,64,64,64,64,64,64,64,64,64],d:[0,1,0,1,0,1,0,1,0,1]};z.width='300';z.height='99';d=z.getContext('2d');d.font='50px Arial';function $(e){r=Math.round(0xffffff*Math.random());window[e]=[(r>>16),(r>>8&255),(r&255)]}setInterval(function(){var x=0,y=0,x2=Math.floor(Math.random()*20)+1,e=[],f=[];$('a');$('b');for(i=0;i<15;i++){for(j=0;j<3;j++){e[j]=Math.round(a[j]+i*(b[j]-a[j])/15);f[j]=Math.round(b[j]+i*(a[j]-b[j])/15)}d.fillStyle='rgb('+e[0]+','+e[1]+','+e[2]+')';d.fillRect(x,y,10,99);d.fillStyle='rgb('+f[0]+','+f[1]+','+f[2]+')';d.fillRect(x+x2,y,10,99);x+=20}d.fillStyle='rgba('+Math.round(a[0]+(b[0]-a[0])/7.5)+','+Math.round(a[1]+(b[1]-a[1])/7.5)+','+Math.round(a[2]+(b[2]-a[2])/7.5)+','+Math.random()+')';for(i=0;i<10;i++){if(tx['d'][i]===0)tx['y'][i]-=2;else tx['y'][i]+=2;if(tx['y'][i]==40)tx['d'][i]=1;else if(tx['y'][i]==96)tx['d'][i]=0;d.fillText(tx['l'][i],tx['x'][i],tx['y'][i])}},100);
- Description
- Subliminal demo.
- Base64 encoded
ej1kb2N1bWVudC5ib2R5LmNoaWxkcmVuWzBdO3R4PXtsOlsnUycsJ1UnLCdCJywnTCcsJ0knLCdNJywnSScsJ04nLCdBJywnTCddLHg6WzAsMzIsNjcsMTAwLDEyOSwxNDMsMTgzLDE5NiwyMzUsMjcxXSx5Ols2N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hbJ2QnXVtpXT0xO2Vsc2UgaWYodHhbJ3knXVtpXT09OTYpdHhbJ2QnXVtpXT0wO2QuZmlsbFRleHQodHhbJ2wnXVtpXSx0eFsneCddW2ldLHR4Wyd5J11baV0pfX0sMTAwKTs=
- Original source
z = document.body.children[0];
z.width = '300';
z.height = '99';
d = z.getContext('2d');
d.font = '50px Arial';
tx = {
l:['S','U','B','L','I','M','I','N','A','L'],
x:[0,32,67,100,129,143,183,196,235,271],
y:[64,64,64,64,64,64,64,64,64,64],
d:[0,1,0,1,0,1,0,1,0,1]
};
function $(e) {
r = Math.round(0xffffff*Math.random());
window[e] = [(r>>16),(r>>8&255),(r&255)];
}
setInterval(
function() {
var x = 0, y = 0, x2 = Math.floor(Math.random()*20)+1, e = [], f = [];
$('a');
$('b');
for (i=0;i<15;i++) {
for (j=0;j<3;j++){
e[j] = Math.round(a[j]+i*(b[j]-a[j])/15);
f[j] = Math.round(b[j]+i*(a[j]-b[j])/15);
}
d.fillStyle = 'rgb('+e[0]+','+e[1]+','+e[2]+')';
d.fillRect(x,y,10,99);
d.fillStyle = 'rgb('+f[0]+','+f[1]+','+f[2]+')';
d.fillRect(x+x2,y,10,99);
x += 20;
}
d.fillStyle =
'rgba('
+ Math.round(a[0]+(b[0]-a[0])/7.5)
+ ','
+ Math.round(a[1]+(b[1]-a[1])/7.5)
+ ','
+ Math.round(a[2]+(b[2]-a[2])/7.5)
+ ','
+Math.random()
+')'
;
for (i=0;i<10;i++) {
if (tx['d'][i] === 0) tx['y'][i] -= 2;
else tx['y'][i] += 2;
if (tx['y'][i] == 40) tx['d'][i] = 1;
else if (tx['y'][i] == 96) tx['d'][i] = 0;
d.fillText(tx['l'][i],tx['x'][i],tx['y'][i]);
}
}
,100
);