dx = (10.0 * x/width)-5.0 dy = (10.0 * y/depth)-5.0 dz = (10.0 * z/height)-5.0 if dz < math.sin(dx*dy): return Color(180, 100, 50, 255) else: return empty