clean up
This commit is contained in:
parent
5bd290db57
commit
0d92049889
12
rainbow.py
12
rainbow.py
@ -96,16 +96,4 @@ def water_refraction_index(t, wavelength):
|
||||
n = np.sqrt((2*C+1)/(1-C))
|
||||
return n
|
||||
|
||||
# init()
|
||||
# # stack.append(Ray([0.8, 2*r], [0,-1], 1))
|
||||
# trace(disk, stack, max_ray)
|
||||
|
||||
# with open("result.csv", 'w', newline='') as f:
|
||||
# writer = csv.writer(f)
|
||||
# writer.writerows(result)
|
||||
|
||||
# with open("points.csv", 'w', newline='') as f:
|
||||
# writer = csv.writer(f)
|
||||
# writer.writerows(points)
|
||||
|
||||
print(water_refraction_index(10, 226.5))
|
||||
|
Loading…
Reference in New Issue
Block a user