NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Animated ASCII Art for Web Pages (ascii.rest)
boguscoder 5 hours ago [-]
This looks aesthetically pleasing but this is not ASCII Art it seems, where’s ascii? All those differently sized dots are not ascii chars, are they? Perhaps this is unicode-art?
elevaet 4 hours ago [-]
There are lots in there with proper ASCII check out https://ascii.rest/julia-set/ for example
moralestapia 3 hours ago [-]
Your point is valid, I just want to add that deriving ASCII versions of them should be trivial as ASCII already has dots of different pitch, etc.
ghurtado 3 hours ago [-]
The point is that what you've described is no longer a useful definition of "ASCII art". That's now "art with dots". The fact that it's "technically" ASCII is as irrelevant as it is unimpressive.

"ASCII art", defined honestly, means "limited set ASCII art".

mynameisvlad 3 hours ago [-]
Please, go right ahead and make your own trueascii.rest and show it to the class.
ghurtado 2 hours ago [-]
nomel 1 hours ago [-]
This isn't ascii art either, since nearly all of the information is in the color. This is, what we used to call, ANSI art [1].

[1] https://en.wikipedia.org/wiki/ANSI_art

ghurtado 46 minutes ago [-]
Well, it's technically PETSCII art, but the model can be trained on any bitmap charset. So you can make ATARIART or SPECCYART or whatever.

It's not correct to say that most of the information is in the color, though.

I can't remember if it's explained in the readme or not, but what makes this different from other converters is that it matches 1bit 8x8 blocks from the source image to the best matching character, increasing the perceived resolution of the output image.

It's a dumb idea I wanted to implement to amuse myself, and it's not better or worse than any similar tools, but AFAIK it uses a novel approach: fast by using a custom trained NN and uniquely looking output, similar to what a human artist might create by hand.

ktm5j 1 hours ago [-]
I love how prepared for this you were.
nomel 2 hours ago [-]
You're asking for the impossible!
gavmor 4 hours ago [-]
Gorgeous, impressive, well done—

But it strikes me as an affectation of technical austerity, i.e. you’re borrowing the credibility of a constrained medium without embracing its constraints.

Again, it's very pretty but... it's a bit like reconfiguring your Tesla to look more like a Citroën 2CV.

graypegg 4 hours ago [-]
Ayyy that's a much more articulate way to put what I was also thinking.

"Being constructed of text characters" is a very loose definition of ASCII art. Not to say it's not visually interesting, but just that it's on the far ends of the histogram of what people think of when they hear "ASCII art".

Personally, I think the fact this is relying on colour for contrast makes this feel more like a shader that quantizes the input into little dots that just happen to be 1 of 3 characters, than ASCII Art. It's a vague border between that and an ASCII shader, and then ASCII art, but there's definitely some measureable distance between those peaks.

wuliwong 3 hours ago [-]
What do you think they should have called it? Any suggestion that is an unfamiliar term would mean that almost nobody would have clicked on the link and therefore it would not have risen to the top of HN and therefore none of us would even know this exists. I think I think I can accept a loose definition of ASCII art for actually being able to see this page.

(=ᵔᗜᵔ=)

graypegg 3 hours ago [-]
Nahhhh you don't need a new term. It's just like... on the fringes of what the term means.

I'd call it an "ASCII-Art inspired shader", but some % of people would look at it and immediately call it "ASCII Art" with no confusion. Some other % of people are also going to scoff at me saying it's "ASCII-Art inspired" at all.

Should mention, I have no issue with this little project! I'm just agreeing with the parent comment that this is just hinting at the limitations of ASCII art without actually working with them, in our opinion. Thinking about art being an important step in appreciating art, and all of that.

ghurtado 3 hours ago [-]
So your point is that it's cool to misrepresent what things actually are in order to promote them, because if you were honest about what it actually is, nobody would be interested?
frabia 2 hours ago [-]
Agree, though that’s the current trend of UI design. As you expressed eloquently, the purpose is exactly that: to try to project some values previously attributed by these visuals (eg slow craft, effort) to today’s products.
ghurtado 3 hours ago [-]
> affectation of technical austerity,

How does one learn to write like this? Damn.

3 hours ago [-]
reaperducer 2 hours ago [-]
How does one learn to write like this?

Read books. Actual books. The kind made from dead trees.

The more you read, the better you write. That's why our teachers drilled the importance of reading into us at such an early age.

robbomacrae 5 hours ago [-]
Thats awesome. I did something similar (much smaller scale) for Claude Code/Pi to show how much it's working https://github.com/robdmac/flow

But this ASCII Art reminds me of my original desire to have something for each server I SSH into to help me keep a mental map of where I am. I'm not SSH'ing into servers anymore but if I was, I'd totally be trying to remake these scenes on the terminal!

conesus 4 hours ago [-]
Flow is gorgeous and fits this ascii art theme beautifully. I've installed it and have lots of changes I'd like to make. Are you open to PRs or should I maintain my own fork without expectation of upstreaming anything?

Examples of changes I'd like to see:

    1. I want a decay on the flame, so on every state change, the flame slowly works its way back down to a base rate, say at 2 minutes. That would imply that a strong fire is a recently changed state, while a decayed flame is a stale state that hasn't changed in a while.
    2. Automatic choosing of a different animation on every open. I run half a dozen to a dozen agents on a single terminal window (full screened on a 27" monitor) and I already built a way to distinguish sessions from other other with my pre-plugin psuedoterminal crabigator and I'd like to do the same for these animations. Basically a way to distinguish sessions from other other.
    3. More so than just changing animations, I'd like to have a random palette chosen per-animation, so there's multiple flames, but there's the purple-esque flames, the blue-esque flames, the red ones, the orange ones, the yellow ones, and so on.
    4. I'd like a way to integrate the plugin into crabigator so its takes a single section instead of being full width.
Regardless, this is a beautiful mod, reminds me of the type of MUD hacking in the early-to-mid 90s that I used to love as a child, and I'm going to be stealing/integrating this into my workflows immediately.

BTW, I used to have different ASCII art images on each of my servers. Here's a sampling:

https://github.com/samuelclay/NewsBlur/blob/main/ansible/rol... https://github.com/samuelclay/NewsBlur/blob/main/ansible/rol... https://github.com/samuelclay/NewsBlur/blob/main/ansible/rol...

robbomacrae 1 hours ago [-]
Thank you! Love that you did the server art!

I'm absolutely open to PR's. I tried to make it easy to add your own scenes. It's also MIT so feel free to take it and run with it..

1. Yep that makes sense. I haven't really tuned the phase progression much and it def needs a lot of work. For the rocket themes for now they are progressive only until they end but id like to give them the possibility of a bumpy ride so to speak.

2. Yep definitely. Going back to the original server idea.. I'd say it would be even necessary to be able to have a config to make one session have a specific (or random) scene.

3. Yes! I was just thinking about color palettes. ie company or flag colors.

4. https://github.com/samuelclay/crabigator https://drinkcrabigator.com to save others looking it up like I did. Looks great go for it!

I've got some different features in progression so feel free to throw these up as PR's. Otherwise I might get to the config or color palette one day.

Thanks!

burmask 3 hours ago [-]
I kept scrolling down and my amazement grew as I could see all fun the op had making this library. Split-flap [https://ascii.rest/split-flap/] is awesome. And the nature ones [https://ascii.rest/fern/] got me thinking I need a digital frame to display them on. Would be some cool wall art. This ASCII sets a relaxed mood - except for that vibrating spinners page @ZeWaka :). Thank you for your contribution op!
BugsJustFindMe 4 hours ago [-]
I see nothing being animated because my system is set to prefer reduced motion. That's a cool accommodation, but I wish at least the demo page made that more obvious.

Also, the art scenes section is not ASCII.

bas3line 3 hours ago [-]
Should be now fixed!
BugsJustFindMe 2 hours ago [-]
I see you added a button (thanks!), but that doesn't solve the information problem where the person won't know why it isn't working and that they need to click the button. I suggest a simple highlighted message right above or below the image. Your "holds the first frame for anyone who prefers reduced motion" blurb is _buried_, and in my case I didn't even know that I had that enabled.
bredren 5 hours ago [-]
Neat. Some of my earliest online contributions were to local dial-up BBSs. I spent entire days making animated ascii sequences in the theme of the board.
cousin_it 2 hours ago [-]
This looks cool! I wonder if the same feeling can be achieved without a fixed grid though. Some kind of pointilist or halftone rendering, but with free positioning of points.
thih9 4 hours ago [-]
“Scenes” look like some roundabout attempt at dithering - not what I expected.

The rest is also very maximalist and ornamental. I like them as animations but wouldn’t like them as part of UI or TUI.

arikwald 3 hours ago [-]
Beautiful! that's the true meaning of converting digits into art through custom algorithms. I reviewed the code and it's quite impressive. What I'm curious about is whether you had a predefined "bitmap-like" file which already contained all the values and then once loaded you applied the specific modification/animation algorithm to generate this unique effect. Reminds me the fascinating game graphics we had during the 80s on computers back then :). Yes back then I was fascinated with this kind of graphics, still am :)
kirth_gersen 5 hours ago [-]
beautiful. i don't see the pieces as animated, however. perhaps I am missing something?
crisnoble 5 hours ago [-]
> plays it while it is on screen, and holds the first frame for anyone who prefers reduced motion.
herpdyderp 4 hours ago [-]
Wish I could force it to play!
Sardtok 5 hours ago [-]
Click on one to go to a page and see only that animation. The framerate is super low on my phone on the front page.
bas3line 5 hours ago [-]
Thanks, Let me know if you face any issues!
mapshog 3 hours ago [-]
Is it mobile only? I'm on a mac, it doesn't work in chrome / safari / firefox - no js errors, no apparent 404s or missing resources, all the pages load, the ascii art is first black and white then colors appear quickly but no animation. It's a shame because it looks beautiful on mobile.
bas3line 3 hours ago [-]
Hi, sorry for this :) I am talking a look at it right now ^^
smusamashah 3 hours ago [-]
This reminds of another awesome actually ASCII animation library https://play.ertdfgcvb.xyz/
ZeWaka 3 hours ago [-]
Your spinners page is vibrating extremely angrily: https://ascii.rest/spinners, also some other components like the progress bar - whenever width changes.
marinhero 4 hours ago [-]
I was mesmerized by the animation in https://omp.sh/ yesterday but this takes it to the next level. What makes something like this be prevalent now if ASCII has been around for so long? is it just the trend?
moritzwarhier 4 hours ago [-]
this is not ASCII, it looks like Unicode, but it's not even that, it's scripting and canvas rendering.

Text art itself is s prevalent because it borrows the appearance of careful crafting while it's generated by a program. Also, CLIs and text are more popular than GUIs these days, with many people.

Chat interfaces are almost like CLI! Markdown is getting more popular than binary Office text files!

Vibe coding with AI now commodifies the remaining manual steps: obtaining nice raster images, and feeding them into a text-art generator.

Or creating a script that renders them as dots on a canvas (what's done here).

ramblurr 4 hours ago [-]
It's definitely a trend. But it's also arguably not ASCII art. But maybe I'm just moving the goal posts.
gfat 5 hours ago [-]
Beautiful work. I did a similar effect for docs using a page turning animation. Might reach for this in the future.
5-0 2 hours ago [-]
For new/young people who might wonder why old geezers sound all gatekeepy, this is what "ASCII art" used to mean in the before times: https://asciiarena.se
cush 1 hours ago [-]
That dithering is on point
bas3line 58 minutes ago [-]
Thank you!
davidcollantes 3 hours ago [-]
It would be awesome to be able to create these. If author is around, would you consider a creation tool as well?
bas3line 3 hours ago [-]
Yes, I will take a look at this Thanks for the recommendation :D
cromka 5 hours ago [-]
Cool, but the rows are shuffled here for about a half of those animations
tsukurimashou 4 hours ago [-]
are you using firefox mobile?
cromka 3 hours ago [-]
Brave on Android.
lordkrandel 5 hours ago [-]
wonderful
bas3line 5 hours ago [-]
Thank you!
sosodev 3 hours ago [-]
Not ASCII and a lot of art looks off and has broken animations.

I’m not one to say that all AI art is slop, but there’s so little effort here. Why exactly are so many praising this?

shevy-java 5 hours ago [-]
Watching Star Wars in ASCII is fun.
mmwon 4 hours ago [-]
[dead]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 21:18:51 GMT+0000 (Coordinated Universal Time) with Vercel.