- Author:
- devfuture
- Twitter:
- @
- GitHub:
- Facebook:
- Google+:
- +
- Reddit:
- /r/
- Pouet:
- Website:
- i-smarty.com
- Compo:
- classic
- Demo link:
- https://js1k.com/2010-first/demo/84
- Shortlink:
- https://js1k.com/84
- Blog post:
- please update here!
- Bytes:
- 572
- Chars:
- 572
- Submission
doc=document
body=doc.body
date=new Date()
if(c=doc.getElementById('c'))
{body.removeChild(c)}
d=body.appendChild(doc.createElement('div'))
th={fontSize:'20px',fontWeight:'bold',width:'500px',height:'300px',lineHeight:'25px',cursor:'default',webkitTransform:'rotate(-90deg)',MozTransform:'rotate(-90deg)',OTransform:'rotate(-90deg)'}
for(k in th){d.style[k]=th[k]}
function play()
{d.innerHTML=''
p=''
for(var i=-9;i<10;i++)
{for(var j=0;j<i*i*(Math.random()*(date.getTime()/100000000000));j++){p+='|'}
d.innerHTML+=p+'<br>'
p=''}}
setInterval("play()",100)
- Description
- Just music visualization. Equalizer.
- Base64 encoded
ZG9jPWRvY3VtZW50DQpib2R5PWRvYy5ib2R5DQpkYXRlPW5ldyBEYXRlKCkNCmlmKGM9ZG9jLmdldEVsZW1lbnRCeUlkKCdjJykpDQp7Ym9keS5yZW1vdmVDaGlsZChjKX0NCmQ9Ym9keS5hcHBlbmRDaGlsZChkb2MuY3JlYXRlRWxlbWVudCgnZGl2JykpDQp0aD17Zm9udFNpemU6JzIwcHgnLGZvbnRXZWlnaHQ6J2JvbGQnLHdpZHRoOic1MDBweCcsaGVpZ2h0OiczMDBweCcsbGluZUhlaWdodDonMjVweCcsY3Vyc29yOidkZWZhdWx0Jyx3ZWJraXRUcmFuc2Zvcm06J3JvdGF0ZSgtOTBkZWcpJyxNb3pUcmFuc2Zvcm06J3JvdGF0ZSgtOTBkZWcpJyxPVHJhbnNmb3JtOidyb3RhdGUoLTkwZGVnKSd9DQpmb3IoayBpbiB0aCl7ZC5zdHlsZVtrXT10aFtrXX0NCmZ1bmN0aW9uIHBsYXkoKQ0Ke2QuaW5uZXJIVE1MPScnDQpwPScnDQpmb3IodmFyIGk9LTk7aTwxMDtpKyspDQp7Zm9yKHZhciBqPTA7ajxpKmkqKE1hdGgucmFuZG9tKCkqKGRhdGUuZ2V0VGltZSgpLzEwMDAwMDAwMDAwMCkpO2orKyl7cCs9J3wnfQ0KZC5pbm5lckhUTUwrPXArJzxicj4nDQpwPScnfX0NCnNldEludGVydmFsKCJwbGF5KCkiLDEwMCk=
- Original source
// init
doc = document
body = doc.body
date = new Date()
if(c = doc.getElementById('c'))
{
body.removeChild(c)
}
d = body.appendChild(doc.createElement('div'))
th = {
fontSize: '20px',
fontWeight: 'bold',
width: '500px',
height: '300px',
lineHeight: '25px',
cursor: 'default',
webkitTransform: 'rotate(-90deg)',
MozTransform: 'rotate(-90deg)',
OTransform: 'rotate(-90deg)'
}
// styling
for(k in th) { d.style[k] = th[k] }
function play ()
{
// clearing
d.innerHTML = ''
p = ''
// working
for(var i=-9; i<10; i++)
{
for(var j=0; j<i*i*(Math.random()*(date.getTime()/100000000000)); j++) { p += '|' }
d.innerHTML += p+'<br>'
p = ''
}
}
setInterval("play()", 100)