Writing a 3d renderer in Typst because

Опубликовано: 27 Апрель 2026
на канале: zacoons
14,358
1k

⁨‪@sylvanfranklin‬ Helix is better

Huge thanks to https://scratchapixel.com/ which is an excellent resource for learning about stuff like this. This video wouldn't have been possible without scratchapixel. Also Typst is pretty cool. You should check it out: https://typst.app/

Source code: https://codeberg.org/zacoons/typst3d/

Website: https://zacoons.com/

On Odysee: https://odysee.com/@zacoons/typst3d

Timestamps:
0:00 - what is typst
0:20 - investigation
2:31 - 2d triangle
3:19 - 3d triangle
4:20 - image instead of half block chars
4:35 - tex coords
4:58 - bmp decoding
5:20 - depth buffer
5:42 - bad cube
6:08 - obj importing
6:29 - finale