def floor_material(): material = Material() material.color = Color(1, .9, .9) material.specular = 0 material.pattern = stripe_pattern(RED, BLUE) material.pattern.transform = Scaling(.2, .2, .2) * rotation_z(math.pi / 4) return material
def floor_material(): material = Material() material.color = Color(1, .9, .9) material.specular = 0 return material