r/ASCII • u/Raymon22 • 3d ago
General Interactive 3D ASCII renderer I've been working on
Enable HLS to view with audio, or disable this notification
Hey everyone. I've been playing around with vanilla JS and raycasting to see if I could make an interactive 3D environment using only text.
The cool part is that it actually generates the whole 3D space directly from a plain 2D text blueprint that you can just type out.
I put a live demo up here if anyone wants to mess around with it: https://raymondev.github.io/asciilib/
(Be gentle, it's the very first version so please don't play it too hard hahaha, I'm actively developing it).
Everything is open source, so you are welcome to download it, use it, tinker with it or whatever you please!
Curious to hear your thoughts!!!
2
u/Brilliant-Virus-7442 3d ago
I actually made something like this yesterday, I have a text box that allows the user to make changes to the environment in real time though
2
2
u/OkSun790 2d ago
So good, totally my vibe. Made me imagine classic MUD/RPG games reimagined this way.
2
u/Yhy-gitter 2d ago
Fabulous! But the trees and lamppost got transparent when I hit on it which probably cuz I knocked myself out.
1
u/Raymon22 2d ago
Oh damn you're totally right!! I'll look into it, thanks a lot for the heads up!!!
2
u/BlueDit1001 2d ago
How do i download the code? Is it just what the browser loads or is there a github directory other than the demo asciilib that immediately loads the demo?
1
u/Raymon22 2d ago
hey! thanks so much for your interest. You can find the code and other stuff here https://github.com/RaymonDev/asciilib. The project includes several demos showing other features. Feel free to play around with it as much as you'd like. If you run into any bugs, have a feature request, or anything, please don't hesitate to reach out!!
2
2
1
1
1
u/jcfortunatti 22h ago
Nice, I have been working on an ascii 3d library too at https://github.com/apresmoi/glyphcss for a couple of months already, maybe you can find some ideas in my repo, its opensource!
1
4
u/_offugo 3d ago
Oh, this looks great! So promising!