Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KmolYuan committed Oct 9, 2023
2 parents e331136 + 39a1fec commit 7ee4d92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions four-bar-ui/src/cli/syn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ fn from_runtime(
let efd = efd::Efd2::from_curve_harmonic(c, mode.is_result_open(), harmonic);
let trans = efd.as_trans().to(efd_target.as_trans());
let fb = fb.clone().trans_denorm(&trans);
let c = fb.curve(cfg.res);
let c = fb.curve(cfg.res.min(30));
let err = curve_diff(target, &c);
writeln!(log, "\n[atlas]")?;
writeln!(log, "harmonic={harmonic}")?;
Expand All @@ -316,7 +316,7 @@ fn from_runtime(
writeln!(log, "\n[atlas.fb]")?;
log_fb(&mut log, &fb)?;
write_ron(root.join("atlas.ron"), &fb)?;
fig.push_line("Atlas", c, plot::Style::Dot, GREEN_900);
fig.push_line("Atlas", c, plot::Style::Triangle, GREEN_900);
}
writeln!(log, "\n[optimized]")?;
let err = curve_diff(target, &curve);
Expand Down Expand Up @@ -374,7 +374,7 @@ fn from_runtime(
let efd = efd::Efd3::from_curve_harmonic(c, mode.is_result_open(), harmonic);
let trans = efd.as_trans().to(efd_target.as_trans());
let fb = fb.clone().trans_denorm(&trans);
let c = fb.curve(cfg.res);
let c = fb.curve(cfg.res.min(30));
let err = curve_diff(target, &c);
writeln!(log, "\n[atlas]")?;
writeln!(log, "harmonic={harmonic}")?;
Expand All @@ -383,7 +383,7 @@ fn from_runtime(
writeln!(log, "\n[atlas.fb]")?;
log_sfb(&mut log, &fb)?;
write_ron(root.join("atlas.ron"), &fb)?;
fig.push_line("Atlas", c, plot::Style::Dot, CYAN);
fig.push_line("Atlas", c, plot::Style::Triangle, GREEN_900);
}
writeln!(log, "\n[optimized]")?;
let err = curve_diff(target, &curve);
Expand Down

0 comments on commit 7ee4d92

Please sign in to comment.