3 comments

[ 18.8 ms ] story [ 235 ms ] thread
Hi, this is an old proof-of-concept project of mine that I've been meaning to post for ages. I haven't touched the repo in years, but it contains shaders and Javascript support code that allow for Google Maps-style browsing of enormous volumes of text (on the scale of an entire Linux kernel codebase) even on relatively low-end machines - Chromebooks with integrated GPUs should work just fine.

If you're interested in GPU-accelerated text rendering for web-based IDEs, this codebase might contain some interesting ideas. Feel free to swipe whatever code you like and build something interesting with it.

-Austin

This is awesome.

Is this based on glyph textures or real-time vector graphics? if it is the former, how to handle zoom-in/out?

Glyph textures. Doesn't look good zoomed out, but it works.