Skip to content

[FEATURE] Investigate True Color (RGB) Viability #33

@cmorman89

Description

@cmorman89

True Color (RGB) is a feature that allows for 24-bit color support in the terminal. Using this full color palette would make the rendered output much more vibrant and visually appealing. It would also prevent the gray-washing of colors that occurs when using the 256-color palette in dark scenes.

The ANSI code is much longer (12 bytes, represented by the escape sequence \x1b[38;2;R;G;Bm) than the 8-byte 256-color palette code (\x1b[38;5;Nm), increasing overall character printing to the therminal.

Viability will most likely be determined by the ability to integrate this feature into the delta framebuffer in a way that still allows for efficient rendering. Even small changes in the color value would be detected as a pixel-redrawing change, which could be a significant performance hit. A threshold system would need to be implemented to prevent this.

Additional Context

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions