Computer Graphics, Python, Mathematics, Game Development, Game Design.
that rectangle into smaller squares (pixels), akin the figure above. This is going to determine the size of the final image. In other words, you can create a 3x2 rectangle and split it into 300x200 pixels, that will work just fine. Given the scene, this is the ray tracing algorithm: for each pixel