I am studying Lissajous curves with the following code, that works as expected.
```
import numpy as np
tmin = -30*np.pi
tmax = 30*np.pi
@interact
def _(a = slider(np.linspace(-1,1,100),default=0.39),
b = slider(np.linspace(-1,1,100),default=0.49),
delta= slider(np.linspace(-1,1,100),default=-1),
tt=slider(tmin,tmax,default=0,step_size=0.001,label="t"),
trace=checkbox(default=False,label="Trace")):
t=var('t')
p=parametric_plot( (sin(a*t+delta), sin(b*t)), (t, tmin, tmax),
plot_points = 4000,
aspect_ratio = 1,
gridlines = 'major',figsize=5)
if trace:
p += point((sin(a*tt+delta),sin(b*tt)), color="red", size=100)
show(p)
```
However, I would like to have a "PLAY" button so that I can see the position of the point gets updated by incrementing the value of `t` automatically. It would be nice to have a "PAUSE" button as well.
How can I do that?