UNPKG

js-2dmath

Version:

Fast 2d geometry math: Vector2, Rectangle, Circle, Matrix2x3 (2D transformation), Circle, BoundingBox, Line2, Segment2, Intersections, Distances, Transitions (animation/tween), Random numbers, Noise

22 lines (12 loc) 519 B
<a name="Xorshift"></a> ## Xorshift <a name="Xorshift-create"></a> * **create** (*seeds*: [, Number...]): Object Random numbers generator Returns an object with three methods * uint32() * random() * fract53() **see**: [http://baagoe.com/en/RandomMusings/javascript/](#Xorshift-http://baagoe.com/en/RandomMusings/javascript/) **see**: [http://en.wikipedia.org/wiki/Xorshift](#Xorshift-http://en.wikipedia.org/wiki/Xorshift) **source**: [http://jsdo.it/akm2/fhMC/js](http://jsdo.it/akm2/fhMC/js)