def test3(): light_sim(vw=vws[6], max_run_time=100, origin=Vec(0, 1.2), v=Vec(0, -1).unit() / 20, mat=Material(disk, 1.6), density=50, perp_width=2, parallel_width=.06)
def test1(): light_sim(vw=vws[11], max_run_time=100, spawn_time=100, origin=Vec(0, 1.9), v=Vec(0, -1).unit() / 20, mat=Material(triangle, 1.3), density=30, perp_width=.09, parallel_width=.09)
def test7(): light_sim(vw=vws[10], max_run_time=200, spawn_time=75, origin=Vec(-2.6, 0), v=Vec(1, 0).unit() / 20, mat=Material(sine, 1.7), density=50, perp_width=.05, parallel_width=.06)
def test5(): light_sim(vw=vws[6], max_run_time=300, spawn_time=1, origin=Vec(.05, 1.1), v=Vec(-1.3, -1).unit() / 10, mat=Material(ring, 2.3), density=200, perp_width=.03, parallel_width=.06)
def test4(): light_sim(vw=vws[6], max_run_time=100, origin=Vec(-1, 0), v=Vec(1, 0).unit() / 20, mat=Material(lens, 1.5), density=50, perp_width=.75, parallel_width=.06, segregation=True)
def test2a(): light_sim(vw=vws[11], max_run_time=200, origin=Vec(-.5, 1.0), v=Vec(0, -1).unit() / 40, mat=Material(triangle, 1.5), density=50, perp_width=.05, parallel_width=.05, gif=True, gifres=2)
def test8(): light_sim(vw=vws[6], max_run_time=200, spawn_time=75, origin=Vec(-1, -.1), v=Vec(1, .3).unit() / 20, mat=Material(squares, 1.3), density=500, perp_width=.05, parallel_width=.05, segregation=False)
def test6(): light_sim(vw=vws[6], max_run_time=70, spawn_time=8, origin=Vec(-1, .5), v=Vec(1, 0).unit() / 20, mat=Material(div_lens, 1.5), density=2000, perp_width=.01, parallel_width=.06, segregation=False)
def test5a(): light_sim(vw=vws[6], max_run_time=500, spawn_time=1, origin=Vec(-.97, .5), v=Vec(0, -1).unit() / 20, mat=Material(ring2, 2.3), density=200, perp_width=.02, parallel_width=.06, gif=False)
def test9(): light_sim(vw=vws[6], max_run_time=350, spawn_time=100, origin=Vec(-1, 0), v=Vec(1, .3).unit() / 20, mat=Material(circles, 1.3), density=1000, perp_width=.05, parallel_width=.05, segregation=True, color_add=False)
def test3a(): light_sim(vw=vws[6], max_run_time=130, spawn_time=5, origin=Vec(0, 1.2), v=Vec(0, -1) / 20, color_add=False, mat=Material(disk, 2.0), density=500, perp_width=2, parallel_width=.06, segregation=False)
def test0a(): light_sim(vw=vws[6], origin=Vec(.5, .4), v=Vec(-.5, -.4).unit() / 20, mat=Material(surface, 1.5))
def test0(): light_sim(vw=vws[6], origin=Vec(.5, .5), v=Vec(-1, -1).unit() / 20, mat=Material(surface, 1.5))