Any references to good javascript algorithms for drawing 3d rooms like retro doom? [closed]

Ive got a basic idea here: https://ibb.co/KsK5Yz4 I can have a enemy that can move towards you and hit you but you can also shoot the enemy with your gun. So everything but a 3d world to move around in at the moment the background is static and you can not move the player either. Ive, also got sprite animation for the enemies and weapons.

So, I lack what I need to do in order to create a 3d room to move around in.
Any, libraries to achieve this can webgl do this or is there any others you recommend to do this task Im asking.