Live data from Hacker News

TTE: Terminal Text Effects

chrisbuilds.github.io

91–100 of 279 posts

Re: TTE: Terminal Text Effects

#95

This is awesome. I'm like 99% sure I saw some of these effects in some of my late-80's CRPG type games :) It looks like the color gradient is per-pixel, not per-character. Would anyone have any idea how the package does that?

Barring a zoomed screenshot that shows otherwise, I'm quite certain it's per-character. Operating in true color mode is what makes the color transitions smooth enough to make the optical illusion work.

Re: TTE: Terminal Text Effects

#97
post #76

Looks amazing! Does anyone know why the "ColorShift" style doesn't animate as shown? When I run this each row cycles through colors from top to bottom, but there is no left to right / right to left color change at all. That's the only style not rendering correctly among 10 different ones I tried. I tried with iTerm2 and Terminal app.

That demo isn't actually the default config. Here's how you can recreate it.

ll | tte colorshift --travel --travel-direction radial --loop

Re: TTE: Terminal Text Effects

#99
post #80

Earlier quoted context omitted.

I can tell I'm too old now because I expected the Matrix projection to be in the first four examples and it's not even on the page.

I was hoping for the "no more secrets" effect. https://www.youtube.com/watch?v=F5bAa6gFvLs

The decrypt effect is a faithful recreation of that exact scene at the 45 second mark. Just different colors, which can be set.

Here it is with adjusted colors:

ls -latr | tte decrypt --ciphertext-colors 808080 --final-gradient-stops 1e90ff

Re: TTE: Terminal Text Effects

#100

I integrated this[1] with my MOTD on ssh login.. :) With random effect each time. 1: https://keeb.dev/static/login.mp4

Cool use case! How do you make it choose a random effect?

I wrote a simple shell script which does it for me
Post reply on HN