Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 895 Bytes

README.md

File metadata and controls

43 lines (25 loc) · 895 Bytes

Tau.js

JavaScript Math Library

Tau.js provides TAU, a simpler alternative to Math.PI.

Read more about why TAU reduces complexity at The Tau Manifesto and have a look at the example.

Usage:

Global TAU

Download the library and include it in your html.

<script src="tau.js"></script>

TAU is compatible to all standard Math functions:

var x = Math.cos( TAU );

console.log( x ); // result: 1

AMD

Tau.js can also be used via AMD.

define( [ "path/to/TAU" ], function( TAU ) {

	// ...

} );

Support

If you want to support Tau.js, leave a comment on the support issue or contribute another example.