diff --git a/src/hct/cam16.rs b/src/hct/cam16.rs index 3695036..630b660 100644 --- a/src/hct/cam16.rs +++ b/src/hct/cam16.rs @@ -226,12 +226,6 @@ impl Cam16 { 0.73, ) }; - { - extern crate std; - - std::println!("{t}^0.9 * (1.64 - 0.29^{})^0.73", viewing_conditions.background_ytowhite_point_y); - std::println!("{t}^0.9 = {}", libm::powf(t as f32, 0.9)); - } // CAM16 chroma, colorfulness, chroma let c = alpha @@ -240,11 +234,6 @@ impl Cam16 { } else { libm::sqrt(j / 100.0) }; - { - extern crate std; - - std::println!("{alpha} * sqrt({j} / 100)"); - } let m = c * viewing_conditions.f_lroot; let s = 50.0 * if cfg!(feature = "std") { diff --git a/src/score.rs b/src/score.rs index de750ab..22a64fa 100644 --- a/src/score.rs +++ b/src/score.rs @@ -63,11 +63,6 @@ impl Score { let mut population_sum = 0.0; for (argb, population) in colors_to_population { - { - extern crate std; - - std::println!("{argb}"); - } let hct: Hct = (*argb).into(); let hue = if cfg!(feature = "std") { @@ -123,11 +118,6 @@ impl Score { Self::WEIGHT_CHROMA_ABOVE }; let chroma_score = (hct.get_chroma() - Self::TARGET_CHROMA) * chroma_weight; - { - extern crate std; - - std::println!("{proportion_score} + ({} * {chroma_weight})", hct.get_chroma()); - } let score = proportion_score + chroma_score; scored_hcts.push(ScoredHCT { hct, score });