We show a generalization of the well-known Lissajous figures, changing the two orthogonal simple harmonic oscillations to triangular and square-wave-type oscillations. All figures cross the origin of axes when there is no phase difference between the oscillations. Aside from this common feature, square-wave-type figures show a very different behavior, with discontinuous phase changes and impossibility of using a simple formula to get the frequency ratio between the two component oscillations.