diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-08-24 22:54:31 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-08-24 22:54:31 +0200 |
commit | 59dfd8f21ca1a5c793a89b6af87a28df5a78a3d3 (patch) | |
tree | 65f4576f84667c2c2200b42f6c0cf1de3b850ade /metapost | |
parent | 4d2f305f0f00e1d6d6c03443596a830bfb9da69c (diff) | |
download | context-59dfd8f21ca1a5c793a89b6af87a28df5a78a3d3.tar.gz |
2021-08-24 22:16:00
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mpxl/mp-mlib.mpxl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/metapost/context/base/mpxl/mp-mlib.mpxl b/metapost/context/base/mpxl/mp-mlib.mpxl index 65146081e..f29ba9c44 100644 --- a/metapost/context/base/mpxl/mp-mlib.mpxl +++ b/metapost/context/base/mpxl/mp-mlib.mpxl @@ -1850,3 +1850,10 @@ permanent uniquelist ; def withtolerance expr n = withprescript ("tolerance=" & decimal n) enddef ; + +% fun stuff: randomseed := repeatablerandom("default") ; + +newscriptindex mfid_repeatablerandom ; mfid_repeatablerandom := scriptindex("repeatablerandom") ; + +def repeatablerandom = runscript mfid_repeatablerandom enddef ; + |