feat: add AA in headless exports

This commit is contained in:
2026-09-28 10:44:24 +02:00
parent a15e951f84
commit 2e116ba47b
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -847,6 +847,9 @@ impl FractalApp {
if cli.de {
self.de_coloring = true;
}
if cli.antialias {
self.antialias = true;
}
if cli.buddhabrot {
self.mode = FractalMode::Buddhabrot;
}
+4
View File
@@ -74,6 +74,10 @@ pub struct Cli {
#[arg(long)]
pub de: bool,
/// Enable 2×2 antialiasing (supersampling; ~4× slower).
#[arg(long)]
pub antialias: bool,
/// Coloring palette index.
#[arg(long, value_name = "INDEX")]
pub palette: Option<u32>,