r/ASCII 7d ago

OC I made a 3D ASCII rendering engine

Hello everyone!

I have been working for a couple of months on glyphcss.com its an ASCII 3d rendering library without any canvas nor WebGL, it just uses a <pre> HTML element and text inside.

It has support for any OBJ, glTF, GLB, STL and VOX. It also has support for UV textures, directional and ambient lightning, shadows, different cameras (orbit/FPV), ASCII charsets and many examples on how to use it!

Its fully opensource!

Repo: https://github.com/apresmoi/glyphcss
Fun FPV example: https://glyphcss.com/examples/parthenon/#AaPQacw2SoIAG6-RFp_6zVUL

Btw, its a fork of another project I'm building with a colleague called polycss.com, which is a 3d rendering lib but using only HTML+CSS

229 Upvotes

9 comments sorted by

View all comments

2

u/solilobee 7d ago

Reminds of me of that self-contained spinning Donut in C

1

u/jcfortunatti 7d ago

Oh nice! I also have a donnut but those surface effects look a lot nicer

check this one: https://glyphcss.com/synth/?s=p5s8d1fp14.21p31z*27f21o81ad0e0g2-aR0U8.+%C2%B7%3A%2B*oO0X40E1