Gradient Utilities! (#9695)

Gradient Utilities is a set of verbs built to create dazzling gradient effects on text for Pueblo. Beware, this is known to look like complete garbage when viewed in ANSI.
Due to the processor usage, use the verbs on $gu as sparingly as possible, storing results as variables or properties for repeat use, rather than regenerating the same gradient again and again.
Type ?$gu:[verb] for further information and prototypes of each verb.
With that aside, here are the verbs:

linear_grad: performs a basic two-colour linear gradient.

multi_grad: creates a gradient involving any number of colours greater than two.

random_grad: creates a gradient involving any number of colours greater than two and randomizes the colour sequence.

literal_linear_grad: returns a list of colours that would create a gradient of two colours, but makes no actual gradient.

literal_multi_grad: returns a list of colours that would create a gradient of two or more colours, but makes no actual gradient.

hex_to_int/int_to_hex: converts 8-bit integers to hexadecimal values and back.

chomp_by_float: separates a string into a list of strings with a floating-point length as accurately as possible.

has_pueblo: up-to-date pueblo checking.


You are not logged in.

[home | help | who | search | setup | code]