import numpy as np import matplotlib.pyplot as plt #Krzywe Lissajous N=1000 A=B=1 a=9 b=8 d=np.pi/2 t=np.linspace(0,2*np.pi,N) x=A*np.sin(a*t+d) y=B*np.sin(b*t) plt.plot(x,y) plt.axis("scaled") plt.show()