Releases
v23.4.0
Math utilities: Euclidean division
eucdiv - Created a function to calculate the quotient of an Euclidean division.
eucmod - Created a function to calculate the remainder of an Euclidean division.
Math utilities: Fixed step approach
approach - Created a function to approach a given target value by a fixed step.
approach_angle - Created a function to approach a given angle by a fixed step.
Math utilities: Linear interpolation
lerp_angle - Created a function to approach a given angle by a given fraction.
unlerp - Created a function to retrieve the interpolation amount for the given value and range.
relerp - Created a function to convert a value in one range to a corresponding value in another range.
String utilities
Array utilities: Number array statistics
array_max - Created a function to find the lowest value in a numbers array.
array_min - Created a function to find the greatest value in a numbers array.
array_median - Created a function to find the median value in a numbers array.
array_mean - Created a function to calculate the average value of the numbers array values.
array_sum - Created a function to calculate the sum of the numbers array values.
Array utilities: Retrieving random items
array_get_random - Created a function to get a random value from an array.
array_pop_random - Created a function to get and remove a random value from an array.
File utilities
JSON utilities
json_load - Created a function to read a JSON value from a file.
json_save - Created a function to write a given value to a JSON file.
Shader utilities
Other utilities
is_nullish - Created a function to check if the given value is nullish.
is_defined - Created a function to check if the given value is defined (not nullish).
You can’t perform that action at this time.