This browser doesn't support HTML5 canvas!
Condition for a maximum:
d sin α  =  k λ

d ... spacing between slits
α ... angle
k ... order of the maximum (0, 1, 2, ...)
λ ... wavelength