Javascript Javascript Basic Math Extension
Introduction
- Javascript Math chanceRoll(chance)
- Javascript Math clip(number, min, max){
- Javascript Math degToRad(deg)
- Javascript Math dist( point1, point2 )
- Javascript Math distance(x1, y1, x2, y2)
- Javascript Math getHex
- Javascript Math getQuarant(deg)
- Javascript Math getRandBetween(lo, hi)
- Javascript Math getRandomArbitrary(min, max)
- Javascript Math getRandomInt(min, max)
- Javascript Math interpolate(a, b, t)
- Javascript Math isPrime
- Javascript Math limitToRange(lo, hi, number) {
- Javascript Math radians(degrees)
- Javascript Math radToDeg(rad)
- Javascript Math rand(l, u)
- Javascript Math rand(min, max)
- Javascript Math random(min, max)
- Javascript Math randomInt()
- Javascript Math randomIntBetween(lo, hi) {
- Javascript Math range(a, b)
- Javascript Math rnd(i, j)
- Javascript Math round(num, dec)
- Javascript Math roundTo(num, dec)
- Javascript Math sign() method
- Javascript Math sign(x)
- Javascript Math sum()
- Javascript Math toDegrees(radians) {
- Javascript Math toRadians(degrees)
- Javascript Math vectorFromAngle(a)