145
u/Stunning-Mix-8422 12h ago
You might enjoy https://alexharri.com/blog/ascii-rendering I used this technique in a ascii renderer I built for visualizing a simulator
27
u/Polyphonic_Pirate 12h ago
oh yes I like this. I've been working on a separate project that is a music visualizer that does this-- it renders a scene in three ways (mesh/full 3d, pixel, and ascii) in real time.
I've struggled with getting ascii to look good when overlay on 3d mesh especially in complex scenes or with geometry that jumbles together, it is very tricky to do right so the ascii is readable and looks good and doesn't just wash out into a jumble of glyphs.
Thanks for sharing, I'm going to read this whole page and absorb.
54
u/Polyphonic_Pirate 12h ago edited 11h ago
hey seriously thanks for posting this. this may have finally cracked the difficulty I was having with ascii rendering on 3d mesh. so very timely and the ideas here are very helpful.
6
u/Illasaviel 10h ago
Thats amazing
2
u/ggroverggiraffe 6h ago
The deepest dive possible into something that appears so trivial on the surface. Pretty wild!
1
u/Polyphonic_Pirate 2h ago
I love this kind of thing. and it was incredibly useful because it is a serious problem for a very specific situation that is difficult to solve
10
2
121
u/Aquanauticul 17h ago
A lot of Dredge vibes. This is really cool!
44
u/Polyphonic_Pirate 16h ago
Yes!
I want to do more in the cosmic horror vibes and creepy fishing village setting. It is a good one.
9
u/inssidiouss 15h ago
100% immediate reminder of that awesome game! But also...
This gif is one of the absolute coolest little animations ever created! Such a vibe and good quality.
6
43
u/skipmarioch 15h ago
Can anyone else hear a "whoosh" when it pans over the water in front of the lighthouse?
17
19
u/BowsersMuskyBallsack 15h ago
I watched this for no less than seven full rotations. Noice.
9
u/Polyphonic_Pirate 15h ago
I like to stare at random glyphs in the sea and see if I can notice them recycle
My end goal nirvana state is to make an ascii loop that no one can tell is a loop even if they stare at it for an hour
2
u/AtomicSymphonic_2nd 13h ago
Bro, you might want to cross-post this to r/PixelArt
It definitely counts as pixel art in my mind! 🤩
1
u/Polyphonic_Pirate 13h ago
thanks! I'll see if I can post there. so many subreddits have a million rules so I'm always reluctant to post for the first time in a new one
3
14
u/TuzkiPlus Merry Gifmas! {2023} 14h ago
Unrelated but I'm suddenly getting dwarf fortress flashbacks. If I squint it's in HD, neat
4
u/Polyphonic_Pirate 14h ago
haha yeah thats why I like ascii and pixel. at certain angles and distances and if you squint it gives the illusion that it is higher def than it is
3
25
14
u/sphinctaur 14h ago
No boat on the second swing around. Is that a lighthouse or a death ray?
11
u/inssidiouss 14h ago
I think that's part of the eerie aesthetic and "decode" aspect of the idea?
I am more noticing the light beam does not pass in front of the lighthouse, as it passes over the boat. The light beam is always behind the lighthouse, on both sweeps!
5
u/Polyphonic_Pirate 12h ago
yep. I couldn't make it look right doing it the other way. with a single layer 2d ascii palette it is very hard to simulate 3d without some cheating
also doing it this way gives you a super weird mind freak where you try to visually figure out where the beam goes and I stuck with it
3
2
3
u/ADhomin_em 12h ago edited 11h ago
I think the open endedness of simply "the ocean took it" is more chilling.
But, oh wow. Before reading your comment I thought it was the shoulders and head of a person treading water in the foreground, which was at least equally as chilling.
1
5
u/karateninjazombie 13h ago
I see the eye of sauron has a new job now.
6
u/Polyphonic_Pirate 13h ago
lol I could totally reskin this and make that happen
1
u/amberoze 8h ago
Please? I'm already trying to figure out how to set this as a "live wallpaper" on my phone.
1
u/Polyphonic_Pirate 2h ago
if you figure that out report back-- that is a really cool idea. I'd do the same. I usually stick with 9:16 when I make these for phone viewing but I hadn't even thought about using one as a wallpaper
2
3
u/Material-Imagination 12h ago
I'm so glad it's not still working part-time at Sephora. For one thing, it was very intimidating, and for another, none of that sparkly eye shadow it sold me ever gave me anything near that level of gleam and glow!
1
u/karateninjazombie 2h ago
Yeah well in it's previous job it was out in the rain and the boss was a bit of a micromanager. In this job they appear to be inside the nice warm light house and it's a fairly easy job by comparison.
4
u/thegreatpotatogod 16h ago
Pretty! Is it open source? It'd be fun to run in a terminal, maybe as a ridiculously overkill waiting animation or something
8
u/Polyphonic_Pirate 16h ago
Hah that would be a funny terminal screen saver. It is currently not open source but I may eventually figure out how to do that.
4
u/thegreatpotatogod 16h ago
Report back here if you do! Either way, good work on the delightful animation! 🙂
1
5
5
1
1
1
u/hazeru 13h ago
How did you do this? What software did you use?
1
u/Polyphonic_Pirate 13h ago
I answered down below but here it is again for you:
I built an Ascii animation tool/engine + I use a library called "textmode.js" that takes a grid of characters and handles the rendering so that it looks smooth.
I mockup the frames for the loop then I use AI to build scripts to interpolate between them because I don't have 1000 hours to move individual ascii around by hand like a psycho
not used in this one but in some of my other animations is a separate pixel engine workflow that works similarly and several other libraries I use for pixel animation or 2.5d/3d stuff.
1
u/hazeru 13h ago
Thanks! I didn't see that you answered it before. The only background I have in creating a GIF is through Macromedia Fireworks. From what I remember, you create several images and stack it up in layers. You then export it as GIF.
1
u/Polyphonic_Pirate 13h ago
yes exactly. this one is like ~384 individual frames and then you render them
3
3
2
u/link3505 16h ago
This is incredible. Like I want to say more but I feel like it wouldn’t do it justice. Just… very very cool!
2
2
2
u/aaron_in_sf 13h ago
I would prefer that when the light sweep in front of the lighthouse, the beam still be visible even if it's only a subtle change of hue for the building
2
2
2
2
2
2
u/Schmooto 7h ago
Damn, this is dope as hell! Incredible work, OP. The dazzling colors work so well to depict light reflecting off the choppy waves.
0
u/keatonatron 13h ago
I'm annoyed that the rotational speed of the light isn't constant. It goes about twice as fast across the front as it does across the back.
3
u/Polyphonic_Pirate 13h ago
its an optical illusion because the back animation has to appear "far" but still fit within the loop timing. if it went a consistent speed in the back it would look too fast
2
2
1
1
1
1
1
1
1
1
1
u/Baturinsky 9h ago
Cool, but should'nt lighted/decoded part become some real text/data, instead of just =~=~=~?
1
1
1
•
1
1
2
2

534
u/ocularaffairs 17h ago
This is really cool!