HackerTrans
トップ新着トレンドコメント過去質問紹介求人

alexharri

1,074 カルマ登録 4 年前
Website: https://alexharri.com GitHub: https://github.com/alexharri

投稿

TypeScript's unknown type and type variance

marijnhaverbeke.nl
2 ポイント·投稿者 alexharri·7 日前·0 コメント

I use LLMs as a staff engineer in 2026

seangoedecke.com
11 ポイント·投稿者 alexharri·2 か月前·1 コメント

ASCII characters are not pixels: a deep dive into ASCII rendering

alexharri.com
1,353 ポイント·投稿者 alexharri·6 か月前·149 コメント

Microfeatures I Love in Blogs and Personal Websites

danilafe.com
3 ポイント·投稿者 alexharri·6 か月前·0 コメント

Personal Information

tonsky.me
3 ポイント·投稿者 alexharri·6 か月前·0 コメント

Rich Friend, Poor Friend (2022)

jenn.site
3 ポイント·投稿者 alexharri·8 か月前·0 コメント

The Myth of Rational Design (2010)

zerobanana.com
3 ポイント·投稿者 alexharri·9 か月前·1 コメント

The Age of Greater Reykjavík

flother.is
2 ポイント·投稿者 alexharri·10 か月前·0 コメント

Social dynamics of Bluetooth speakers (2022)

dynomight.net
1 ポイント·投稿者 alexharri·10 か月前·0 コメント

コメント

alexharri
·6 か月前·議論
The ASCII moon tool is fun to play around with!

No plans to build a library right now, but who knows. Feel free to grab what you need from the website's code!

If I were to build a library, I'd probably convert the shaders from WebGL 2 to WebGL 1 for better browser compatibility. Would also need to figure out a good API for the library.

One thing that a library would need to deal with is that the shape vector depends on the font family, so the user of the library would need to precompute the shape vectors with the input font family. The sampling circles, internal and external, would likely need to be positioned differently for different font families. It's not obvious to me how a user of the library would go about that. There'd probably need to be some tool for that (I have a script to generate the shape vectors with a hardcoded link to a font in the website repository).
alexharri
·6 か月前·議論
I did actually try out various alphabets e.g. Cyrillic, Greek and symbols (e.g. box drawing symbols), but ended up removing them: https://github.com/alexharri/website/commit/d969ef839

Using only ASCII felt more in the "spirit" of the post and reduced scope (which is always good)
alexharri
·6 か月前·議論
Looks very cool! Thanks for sharing.

The resulting ASCII looks dithered, with sequences like e.g. :-:-:-:-:. I'd guess that it's an intentional effect since a flat surface would naturally repeat the same character, right? Where does the dithering come from?
alexharri
·6 か月前·議論
Just pushed a fix, should be live in a minute or two, thanks again!
alexharri
·6 か月前·議論
Good catch, thanks! I’ll push a fix once I’m home
alexharri
·6 か月前·議論
Yeah, this is good to point out. The primary constraint I was working around was "this needs to run at a smooth 60FPS on mobile devices" which limits the type and amount of work one can do on each frame.

I'd probably arrive at a very different solution if coming at this from a "you've got infinite compute resources, maximize quality" angle.
alexharri
·6 か月前·議論
Author here. There isn't a library around this yet, but the source code for the blog is open source (MIT licensed): https://github.com/alexharri/website

The code for this post is all in PR #15 if you want to take a look.
alexharri
·6 か月前·議論
Happy New Year from Reykjavík, Iceland!