Hacker GitHub

← All repos

protectwise/troika

View on GitHub ↗ ★ 1,990 JavaScript

A JavaScript framework for interactive 3D and 2D visualizations

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2021-03-15 · latest 2025-11-22

Mentions per year 3 mentions · busiest year 2025 (2)
20082026
  1. …font data to SDFs in glsl, so it's fast. No idea if it supports variable fonts these days though. https://github.com/protectwise/troika/tree/main/packages/tro...
  2. …is done is by parsing the font and generating the SDF fields on the fly (usually using Troika - https://github.com/protectwise/troika/blob/main/packages/tro... ). It slows down the time to the first render, but it's only a matter of…
    comment by onion2k · 2025-06-13 · in Rendering Crispy Text on the GPU
  3. There's a great WebGL library for doing that on the web using any .ttf, .otf, or .woff font - https://github.com/protectwise/troika/tree/master/packages/t...
    comment by onion2k · 2021-03-15 · in 2D Graphics on Modern GPU (2019)