Open carljustineoyales opened 4 years ago
Charset take an array of strings (chars) as input. The list of character will be assigned to a level of brightness. So using only one character makes everything the same.
In the direction bright → Dark.
Like so :
[...]
.map(aalib.render.html({
el: asciiArtElement,
width: 130,
height: 60,
charset: [
' ','*','`','.',' ','_','.','/','|','O','#','s','m'
]
})
)
[...]
I'm using vuejs in this code but by following the api that is listed it should work.
But when adding the charset property the output will be like this
Did i miss a step or something in the documentation?