[pstricks] Create a random path

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Jan 26 12:18:31 CET 2010


Am 26.01.2010 10:15, schrieb Herbert Voss:

>> The command usertime srand ->  srand gives me an integer. What does
>> usertime do with this integer? I know usertime return time in millisecond.
> 
> srand initialias the random generator with the usertime

I just realized that my system doesn't return the usertime
it is always zero. I tried it with

realtime srand

which works, at least for me ... :-)

Herbert


> 
>> Last but not least the numbers:
>> 0 0
> 
> the starting point, can be omit, then the curve starts at the first
> random point
> 
>> 30
> 
> the number of the repeat loops:  n{ ... } repeat
> 
> Herbert



More information about the PSTricks mailing list