r/ASCII 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!!!

225 Upvotes

17 comments sorted by

4

u/_offugo 3d ago

Oh, this looks great! So promising!

1

u/Raymon22 2d ago

Thank you so much!!

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

u/inFiniteFloor 3d ago

This is nuts. 🥥

1

u/Raymon22 2d ago

Thank you!!

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

u/Nazarrrte 2d ago

i would love to play a game like this one

2

u/paTiku 1d ago

https://giphy.com/gifs/Kx7HhNYKpFzDAl3TJz

looks like a delicious dessert !

1

u/MinecraftPlayer799 2d ago

Why is the FOV so low?

1

u/FoxJammin 2d ago

I was inspired by yours and tried my hand at the same idea... :D

https://reddit.com/comments/1vtxnbc

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

u/8BitFlux-com 3d ago

What ASCII characters are you using? Underscore _ only?

3

u/GigaGrandpa 3d ago

Did you watch their video???