As a challenge I've attempted to render 3d graphics from scratch using nothing but basic programming. I first made the "engine" to draw a cube the most basic 3d shape, then moved on to the sphere. The main logic behind it, is that things appear smaller as they get further away from you. So I've used a simple trigonometry equation to calculate that in order to draw things in the z direction. The sphere was drawn by taking into account that every point on the surface of the sphere is at an equal distance from the center. I have no real knowledge of computer generated 3d graphics but have completed about half a physics major and now study software engineering. The video has been sped up 4x as each dot on the sphere is calculated which slow things down especially if the sphere is big.