When I run the schemetic in LTSPICE,waves don't change direction.Why aren't waves changing direction here?
Break the shape into simpler more realizable sub shapes. Apply the simpler sub shape to a generator. Apply the 2nd sub shape to a 2nd generator. Connect generators in series.