miller/scripts/u/random-walk.mlr
2021-11-11 14:15:13 -05:00

5 lines
60 B
Text

begin {
@x = 0.0
}
@x += 0.01 * (urand() - 0.5);
$x = @x;