You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fschatbot edited this page Feb 9, 2021
·
1 revision
This is a wiki on how to use this script
Over here are the functions and there explanations
Math.PI2(digit) can be used to get PIs value till the digit. Math.PI2() //3.14 Math.PI2(3) //3.142
Math.randomNum(max,min) returns random number from the number passed in Math.randomcolor() returns a random color in string format using rgb format. Math.range(number,max,min,strict) returns true if the number falls between max & min. Strict mode[by default false] could be used to make sure the number is between them and will return false if the number is same as max or min. new Date().preset(format) returns the date by the format passed. Try the format 'MM/DD/YYYY hh:mm:ss' new Date().getFullMonth() returns the date's Month by Full name instead of a number.
The variable cursourInfo has the info if the mouse is clicking, is the mouse on the page, the last recorded mouse position HexToRgb(hex) returns the rgb from a hex RgbToHex(rgb) returns the hex from a rgb