godot-ascii-shader icon indicating copy to clipboard operation
godot-ascii-shader copied to clipboard

Added character map with 16 chars

Open stuarta0 opened this issue 5 years ago • 6 comments
trafficstars

DejaVu Sans Mono with 16 characters to use as "highres" alternative to 8 character map :)

stuarta0 avatar Aug 13 '20 12:08 stuarta0

Oh very cool, thank you! How did you choose the ordering? I'm a bit unsure about the first few, maybe " .,:;" would be more fitting in terms of how dense they look? Haven't tried it out yet though.

kb173 avatar Aug 13 '20 22:08 kb173

I had a look around for the best metric for character density in ASCII art and decided that surely someone has already figured this stuff out. So I found a codeproject.com ASCII art generator that used this character set derived from another website that converts uploaded images to ASCII art.

I don't disagree with your observation, but at the same time it looked fine in my test scene so it's up to you :)

Here it is with the characters in the suggested order, both PNG and SVG if you have DejaVu Sans Mono: character_map_16.zip

stuarta0 avatar Aug 14 '20 12:08 stuarta0

And some more experiments (based on the unity examples): character_map_16_backgrounds.zip

16 characters: image

With 10% white solid background: image

With 0% through 80% gradient background: image

With 80% through 0% gradient background: image

stuarta0 avatar Aug 14 '20 12:08 stuarta0

I had a look around for the best metric for character density in ASCII art and decided that surely someone has already figured this stuff out. So I found a codeproject.com ASCII art generator that used this character set derived from another website that converts uploaded images to ASCII art.

I don't disagree with your observation, but at the same time it looked fine in my test scene so it's up to you :)

Here it is with the characters in the suggested order, both PNG and SVG if you have DejaVu Sans Mono: character_map_16.zip

I see, that makes sense! I do think the " .,:;" one works a bit better, could you (force-)push that one to the pull request?

And some more experiments (based on the unity examples): character_map_16_backgrounds.zip

Awesome, those look really good! Feel free to add another commit with all the maps in character_map_16_backgrounds.zip (or open a new pull request), I think it's valuable to have multiple options depending on the aesthetic the addon user is going for.

Thanks again! Didn't expect a pull request here, especially not so quickly :)

kb173 avatar Aug 14 '20 18:08 kb173

Alrighty I'll sort that out soon.

I saw you post the project somewhere and I was thinking it might fit a game jam coming up shortly so I was having a play around with aesthetics. No point sitting on the assets if others find them useful :)

stuarta0 avatar Aug 14 '20 20:08 stuarta0

Hi! Any news on this? Would love to merge it in once the commit is updated.

kb173 avatar Sep 01 '20 09:09 kb173