# Simple bouncing molecules with surfaces graphics opengl dim 2 species red green blue max_mol 500 difc red 3 difc green 2 difc blue 3 color red 1 0 0 color green 0 1 0 color blue 0 0 1 time_start 0 time_stop 1000 time_step 0.01 boundaries 0 0 100 boundaries 1 0 100 frame_thickness 0 mol 100 red 40 80 mol 10 red 12 12 mol 10 red 25 25 mol 100 green 30 50 mol 100 blue 30 50 mol 50 red 70 40 mol 50 green 62 25 mol 50 blue 78 25 max_surface 10 start_surface walls action both all reflect color both 0 0 0 max_panels rect 4 panel rect +0 0 0 100 panel rect -0 100 0 100 panel rect +1 0 0 100 panel rect -1 0 100 100 end_surface start_surface surf action both red reflect action both green absorb action both blue transmit color front 1 0.7 0 color back 0.6 0 0.6 thickness 2 max_panels rect 2 panel rect +0 10 10 30 panel rect +1 10 10 30 max_panels tri 3 panel tri 20 20 30 37 panel tri 30 37 40 20 panel tri 40 20 20 20 max_panels c 1 panel cyl 30 80 60 80 10 max_panels h 2 panel hemi 30 80 10 1 0 20 panel hemi 60 80 10 -1 0 20 max_panels sph 1 panel sph 10 10 8 15 end_surface start_surface tunnel action both all reflect color both 0 0 0 thickness 2 max_panels cyl 1 max_panels disk 1 panel cyl 10 60 30 60 4 panel disk 20 60 4 1 0 end_surface start_surface jump action front all jump action back all reflect color front 0.6 0 0.5 color back 0.2 0.6 0.3 thickness 2 max_panels disk 2 panel disk 15 60 4 -1 0 panel disk 25 60 4 1 0 jump disk0 f <-> disk1 f end_surface start_surface vennout action both all reflect color both 0 0 0 max_panels sph 1 panel sph 70 30 25 20 end_surface start_surface vennred action back all transmit action front red reflect action front green transmit action front blue transmit color both 1 0 0 max_panels sph 1 panel sph 70 40 -12 15 end_surface start_surface venngreen action back all transmit action front red transmit action front green reflect action front blue transmit color both 0 1 0 max_panels sph 1 panel sph 62 25 -12 15 end_surface start_surface vennblue action back all transmit action front red transmit action front green transmit action front blue reflect color both 0 0 1 max_panels sph 1 panel sph 78 25 -12 15 end_surface end_file