feat: Add background color setting and apply it to HTML and WebGL output.
This commit is contained in:
@@ -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 =============
|
||||
|
||||
Reference in New Issue
Block a user