Denis Simon on Sat, 20 Nov 2021 22:06:09 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GP movie


Thank you Bill for this movie !

Can you explain the command
print("\e[H\e[2J")

Denis SIMON.

----- Mail original -----
> De: "Bill Allombert" <Bill.Allombert@math.u-bordeaux.fr>
> À: "pari-users" <pari-users@pari.math.u-bordeaux.fr>
> Envoyé: Samedi 20 Novembre 2021 18:09:40
> Objet: GP movie

> Dear PARI lovers,
> 
> I offer this GP script which is actually a short movie...
> 
> install(usleep,vU);
> for(i=1,1000,plot(h=0,i,sin(h)^2);print(i);usleep(40000);print("\e[H\e[2J"))
> 
> 
> Another one:
> 
> install(usleep,vU);
> for(i=1,1000,plot(h=0,i,besselj(0,h));print(i);usleep(40000);print("\e[H\e[2J"))
> 
> Cheers,
> Bill.