If you’re curious, this is the book I’m using to help develop mine. The digital version is available freely online (it’s a $50 book but I’m borrowing it from my local library)
I’ll be honest, some of the explanations go over my head (I’ve never been the best at understanding textbook math, even though it makes sense to me when I actually try it), but the most important parts are the pseudocode. If you can find out how to put a pixel on the screen, you’re good to start.
I also might recommend peeking at the code inside @Brohann’s 3D stuff - it was a great starting point for me.