Comment by jansan

1 year ago

In the middle of the article you see a line "RUST Full code for character replacement". If you click on that, it will show you the Wasm code.

It looks like it uses Wasm to replace a sequence of dots with a glyph from the font, which shows a frame from the animation, similar to ligatures, but using Wasm. You could do the same with storing the svg paths for each animation frame in an array and then using Javascript iterate over and display these paths, but this uses Wasm, HarfBuzz and a font.

More importantly, seeing the other comments, it uses those and a keyboard.