vis4d.vis.util

Utilities for visualization.

Functions

generate_color_map(length)

Generate a color palette of [length] colors.

generate_color_map(length)[source]

Generate a color palette of [length] colors.

Parameters:

length (int) – Number of colors to generate.

Returns:

List with different colors ranging

from [0,255].

Return type:

list[tuple[int, int, int]]