mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-18 21:36:38 +00:00
11 lines
155 B
JavaScript
11 lines
155 B
JavaScript
|
var dither = {
|
||
|
aa: '▓▒░ ',
|
||
|
a: '▓',
|
||
|
b: '▒',
|
||
|
c: '░',
|
||
|
d: ' ',
|
||
|
p: function(n){
|
||
|
return dither.aa[Math.floor(Math.abs(n) % 4)]
|
||
|
}
|
||
|
}
|