Module pathfinder::tools[][src]

Modules

generic

Functions

border

Checks so that the applied adjustments stay within a u8.

gen_rgba

Returns a random Rgb color. the opacity is always 255.

get_random_item

Returns a random item from a given list.

plot

https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm Plots the pixels between two coordinate points. Checks so that the applied adjustments stay within a u8.

roll

Returns a random number between the min and maximum.

seed_rgba

Returns a Rgb color based on a seed value. the opacity is always 255.