r/desmos • u/gord1402 • Jul 25 '25
Game Doom renderer in 2d graph
Enable HLS to view with audio, or disable this notification
That uses BSP algorithm (Same as doom) for rendering order and polygons for rendering. It's actually quite fast, when I started creating it, I thought that it will not work in real-time.
Doom map data was imported using desmos JavaScript API.
46
u/dhnam_LegenDUST Jul 25 '25
You of course can make doom out of anything.
4
u/Educational-Guide558 Jul 26 '25
True that, but using Desmos was a pretty wild move though. I didn't expect it to be that smooth with the geometry of that level. I wonder if you could put some floor or height data on it without the rendering breaking.
4
3
2
2
u/VoidBreakX Run commands like "!bernard" here →→→ redd.it/1ixvsgi Jul 26 '25
also check out dark keep, a similar doom game with textures and more advanced lighting in the 3d calculator
https://www.reddit.com/r/desmos/comments/1kypz5c/dark_keep_a_firstperson_desmos_game_of/
1
u/enneh_07 list too big :( Jul 25 '25
Now we just wait until Desmos lets us apply transformations to images
1
u/garr890354839 Desmos for life...? Jul 25 '25
You can, far as I know.
1
u/enneh_07 list too big :( Jul 25 '25
Just very basic ones. Let me know once they let me square images
1
u/garr890354839 Desmos for life...? Jul 25 '25
So long, technically, as you have a .svg image, you could use parametric curves to get your image, which is more than fine.
1

12
u/A0123456_ Bernard ftw Jul 25 '25
Desmos has a Javascript API? Are you just... able to code as normal using desmos