I guess you're looking for something like this:
wave[x_, y_, x0_, y0_, l_, t_] :=
Sin[Sqrt[(x - x0)^2 + (y - y0)^2]/l + t];
Manipulate[
DensityPlot[
wave[x, y, d, 0, l1, t l1 l2] +
wave[x, y, -d, 0, l2, t l1 l2], {x, -100, 100}, {y, -100, 100},
Mesh -> 10, PlotPoints -> 50],
{d, 5, 20},
{l1, 5, 20},
{l2, 5, 20},
{t, 0, 1}]
d
controls the distance between sources, l1
and l2
changes their wavelengths.
Another example
Manipulate[
ContourPlot[
wave[x, y, d, 0, l1, t l1 l2] +
wave[x, y, -d, 0, l2, t l1 l2], {x, -100, 100}, {y, -100, 100},
Mesh -> 10, PlotPoints -> 100, Contours -> {-0.5, 0.5}], {d, 5,
20}, {l1, 5, 20}, {l2, 5, 20}, {t, 0, 1}]
Table[ Sin[Norm[{x + 4, y}]] + Sin[Norm[{x - 4, y}]], {x, -30., 30., .1}, {y, -30., 30, .1} ], ColorFunction -> "Aquamarine" ]
Also look upDensityPlot
. $\endgroup$