←back to thread

591 points consumer451 | 4 comments | | HN request time: 0.634s | source
1. zamadatix ◴[] No.42161296[source]
I absolutely love these firehose projects. So much fun. Makes me hope Bluesky gets 10x bigger soon :D.

If you add the following line just prior to the return in createTextTexture() the blurriness goes away:

  texture.anisotropy = renderer.capabilities.getMaxAnisotropy();
The perf could probably be largely solved with reusing texture objects as a pool instead of creating then destroying them as needed. I'm too lazy for that though :p.
replies(3): >>42161375 #>>42164005 #>>42192417 #
2. theoretically23 ◴[] No.42161375[source]
Thanks - implemented some texture pooling (via LLM). I think the blurriness may [accidentally] help with the retro aesthetic, but I'll try to get that the anisotropy in as an optional parameter.
3. Etheryte ◴[] No.42164005[source]
Yeah, managing your own memory is a good performance optimization a surprising amount of time when working with large data sets in Javascript. I've seen it used in 3D code, graph problems, etc, and so long as you keep it isolated, it's not too much of a hassle.
4. z3ncyberpunk ◴[] No.42192417[source]
Bigger is not always better if it just fills up with the same type of people who fled Twitter in the first place. No one wants/needs a second Reddit.