An advanced Javascript math library