Computer Graphics, Python, Mathematics, Game Development, Game Design.
dict, but you could make classes, figure out what’s specific to spheres and what’s not, make a base class, and implement other objects such as planes or triangles; Same thing goes for light. Add some POO here and make it so you can add multiple lights in the scene; Separate the material properties