Fast, high-quality on-GPU text transforms in Pathfinder 2 :)pic.twitter.com/s46M1TzaWK
-
Show this thread
-
-
-
Replying to @pcwalton
Isn’t Pathfinder written in Rust? Is it compiled to wasm?
1 reply 0 retweets 1 like -
Replying to @SimonSapin @pcwalton
This is kinda a frankenpathfinder, where pathfinder does rasterization and AA and stuff and sends over ... atlases I think? And the client does compositing
1 reply 0 retweets 1 like -
Uh, my bad. It sends over processed "meshes"; so it only sends one per font setting (zoom and rotate do not affect this). Then the client does the rest of the GPU work, which seems to mostly be a copy of what Pathfinder usually does.
1 reply 0 retweets 1 like -
class PathfinderMeshData in the typescript code. This is what a mesh looks like in the mesh debuggerpic.twitter.com/Gk1vPvE8gC
1 reply 0 retweets 1 like -
tldr instead of a rust program that sends stuff to its gpu it's a rust program that sends stuff to *your* gpu over the network. with lots of typescript on the client side to make a pretty demo site
1 reply 0 retweets 3 likes -
If I understand it correctly, which I might not be. Patrick can correct me if I'm wrong.
1 reply 0 retweets 0 likes
Yup, that’s accurate.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.