{
let instance = LexiconMonoSeq(container,{parallelRendering:5});
instance.registerType(
"g1",
{
" ":"#ffffff",
".":"#22ee00",
":":"#0022ee",
"'":"#aa00aa",
"+":"#ee2200",
"#":"#ee22ee",
"`":"#00ee22",
";":"#22cc22",
",":"11dd11",
"@":"#aabbcc"
},
"rgba(0,0,0,0.9)"
);
instance.painters.forEach(function(d,i){
d.duration = 100 + Math.random()*100;
d.ease = this[Math.random() * 2 | 0];
d.nodeLimit = ~~(10 + Math.random() * 30);
},[instance.constructor.prototype.ease,instance.constructor.prototype.easeElastic]);
instance.displayPadding = 0.1;
function morph(){
instance.update(
JSON.parse(window.atob(shapes[shapes.length * Math.random() | 0])),
{labels:false}
);
setTimeout(morph,6000);
}
morph();
return instance;
}