TIXY console
by fxi
HTML
<span>Look at your web console :)</span>
JavaScript
/**
* Minimal and not full featured tixy.land implementation with
* rendering in console. Yep, the console of your browser dev tools.
*/
let t = 0;
let a,f,s,x, y, i, g, r, b, c = console,m=Math;
f=()=>{
return (m.sin(t*1.2^y^x)>0.6)
}
a=()=>{
c.clear();
t+=2;
g = "";
for (y = 0; y < 16; y++) {
r = "";
for (x = 0; x < 16; x++) {
i = x * y;
r = r + (f() > 0 ? '🔴' : '⚪')
}
g = g + '\n' + r;
}
c.log(g);
setTimeout(a, 500);
};a();