function toBinary(string){
var ascii = string.split('').map(function(i){
return(i.charCodeAt(0).toString('2'))
});
return(ascii.join(''))
};
var hello_world = toBinary('Hello World');
var i = 0;
setInterval(function(){
if(hello_world[i%hello_world.length]=='1'){
document.body.style.background = 'black'
document.body.style.color = 'white'
}else{
document.body.style.background = 'white'
document.body.style.color = 'black'
}
i = i+1;
},200);