seflless / arbitrary

A deterministic and reversible random number generator.

Home Page:https://npmjs.org/arbitrary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this TinyMT?

leo60228 opened this issue · comments

Is this TinyMT?

Hey. Nope. I played around with tinymt. But went with just a classic LCG as it was good enough for my use cases and was easily made reversible. And only requires 32bits of state. TinyMT I think was 128bits of state and I didn't know enough of the math to reverse the state transition.

Why do you ask?

I was going to use this to add Pokemon Sun and Pokemon Moon support to zaksabeast/RNGWareCore. As you are not using the tinymt module, could you please transfer it to me? It didn't look finished, so I made a library to use actual TinyMT on node.

Hey. Sure. I hate when people end up taking good names and not using them.

What's your npm handle?

@francoislaberge leo60228

Ok. Try out publishing to it now. I added you as contributor and removed myself