We only need the position equations to plot the Lissajous Curve.
These are simple parametric curves.
This topic here is only because they look nice to me!
We will use parametric equations in the Maths FB to calculate the X,Y coordinates of the Lissajous Curve. One equation will calculate the Xaxis coordinates. Another equation will calculate the Yaxis coordinates. 

The parametric equations for the epitrochoid family of curves are:
Parameters and Variablesa = indicate the frequency of the Slider along the Xaxis b = identifies the frequency of the Slider along the Yaxis t = the independent variable: 0 to 360 (or 2*pi) Inputs: three parametricconstants: a, b, and the independent variable, t Outputs: two: x and y. 

The parametric equations, above, give the family of Lissajous Curves. This means if you change a 'parametricconstants' (a, b), you will plot a different Lissajous Curve. 
We will use Option 2. InputConnectors We need three inputconnectors: three parameters (a, b) and one variable (t)


OutputConnectors We need two outputconnectors to give the data separately to the X and Yaxes
The units for the outputchannel is dependent on the Output Data Type you specify.

Equations for the Position (Displacement) for the two outputs. The Lissajous equations for the X and Y coordinates are given here again: The parametric equations for the epitrochoid family of curves are:
We must rewrite these for the Maths FB. Each parameter or variable at the input is represented by: p(0) = a p(1) = b p(2) = t 

Parametric Equations for Lissajous Curves. 
Add the righthand side of these equations. X = cos((p(0)*1000)*p(2)) Y = sin((p(0)*1000)*p(2))
Note: The parametric constants (p(0) and p(1)) are multiplied by 1000. This is because the distances are in SI units in the Maths FB, which means 5 becomes 0.005. A more typical value is 5. 
We give the X and Y position coordinates to two outputconnectors. We can then use a wire to:
Then, a TracePoint in the Piggyback Slider will plot the Lissajous Figures  when the equations are correct! 

The Mechanical model in MechDesigner Because we will use parametric equations, it is very convenient to use Piggyback Sliders 

The 'Variable' Inputs to the Maths FB We will use MotionDimensions for Slider as the Parametric Constant The BaseValue of each MotionDimension FBs can be define a, b, or h . The Linear Motion FB can be used as the angle, t, as the independent variable 

The Maths FB  input variable connectors The Maths FB has four inputs to represent:


Maths FB  output variable connectorsThe Maths FB has two outputs:


Video of Lissajous Curves with changing parameters. 
The TracePoint of the Piggyback Slider When the outputs from the Maths FB are connected to the X and Y Piggyback Sliders, and we add a TracePoint to to show the Path, then you can see the Lissajous Curve. The video shows a number of Lissajous Curves. I have put the parameters 'a' and 'b' in a DesignSet to make them faster and easier to edit. 