Skip to main content

Math

Surprisingly, computers have slightly different ways of calculating. Some calculations utilize inprecise approximations for certain operations. The Math component uses this and instructs the browser to calculate a handful of numbers.

This isn't a great source of entropy, but it does provide some added information.

Example

"math": {
"acos": 1.0471975511965979,
"asin": -9.614302481290016e-17,
"cos": -4.854249971455313e-16,
"largeCos": 0.7639704044417283,
"largeSin": -0.6452512852657808,
"largeTan": -0.8446024630198843,
"sin": -1.9461946644816207e-16,
"tan": 6.980860926542689e-14
},

Code

Check out the implementation