←back to thread

439 points david927 | 2 comments | | HN request time: 0.429s | source

What are you working on? Any new ideas which you're thinking about?
Show context
piker ◴[] No.44417375[source]
Tritium: https://tritium.legal (web preview: https://tritium.legal/preview)

Tritium is the legal integrated drafting environment: an egui Rust project to bring the IDE to corporate lawyers.

replies(1): >>44421757 #
1. michalsustr ◴[] No.44421757[source]
Love the egui layout! Mind sharing which ui components you used? How did you find compiling for wasm compared to native?
replies(1): >>44443676 #
2. piker ◴[] No.44443676[source]
Just saw this - it's actually pretty custom. I use the text edit and label components extensively, but generally the bulk of the work is somewhat custom (i.e., the text layout). The font framework is super handy for getting going with a font atlas, etc.

Compiling to WASM was a breeze. Web preview is a toy though so I don't really struggle too much with the incompatibilities that bite.