MathUtils Class

Module: Utils

MathUtils contains auxiliary values and function to help with mathematical operations.

Item Index

Methods

Attributes

Methods

randomColor

() String

Generates a random color code.

Uses the #RRGGBB format.

Returns:

String:

Generated color code.

Attributes

pi2

Number

Value of PI*2. 360 degrees.

pid2

Number

Value of PI/2. 45 degrees.

pid3

Number

Value of PI/3. 60 degrees.