Skip to content

Commit

Permalink
Make the lissajous plots smoother. Maybe overdone, will need to test …
Browse files Browse the repository at this point in the history
…on real plotter(s). Makes the HPGL quite a bit bigger, which may be a problem with serial interfaced plotters (e.g. HP 7550A).
  • Loading branch information
anachrocomputer committed Aug 25, 2020
1 parent e8a081d commit 3eda065
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lissajous.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ int main(int argc, char * const argv[])
lineto(xc, maxy);

/* Draw four simple Lissajous curves */
lissajous(w4, h4, side, 1.0, 3.0, 0.0, 144);
lissajous(xc + w4, h4, side, 5.0, 6.0, 0.0, 144);
lissajous(w4, yc + h4, side, 3.0, 5.0, 0.0, 144);
lissajous(xc + w4, yc + h4, side, 7.0, 9.0, 0.0, 144);
lissajous(w4, h4, side, 1.0, 3.0, 0.0, 3 * 72);
lissajous(xc + w4, h4, side, 5.0, 6.0, 0.0, 5 * 6 * 72);
lissajous(w4, yc + h4, side, 3.0, 5.0, 0.0, 3 * 5 * 72);
lissajous(xc + w4, yc + h4, side, 7.0, 9.0, 0.0, 7 * 9 * 72);

plotend();

Expand Down

0 comments on commit 3eda065

Please sign in to comment.