feat: Add background color setting and apply it to HTML and WebGL output.

This commit is contained in:
syntaxbullet
2026-02-10 21:08:38 +01:00
parent 2cdc9bd0b6
commit cabf963e94
6 changed files with 64 additions and 9 deletions

View File

@@ -30,6 +30,7 @@ export interface AsciiOptions {
scanlines?: number;
vignette?: number;
monoColor?: string;
backgroundColor?: string;
}
export interface AsciiResult {
@@ -69,6 +70,7 @@ export interface AsciiSettings {
scanlines: number;
vignette: number;
monoColor: string;
backgroundColor: string;
}
// ============= Constants =============