Verified Commit f7e527c1 authored by betseg's avatar betseg 🏳🌈

removed unnecessary code

parent e0f48b89
......@@ -4,7 +4,7 @@ use ansi_term::{
Style,
};
use num_complex::Complex64;
use palette::{Hsv, Hue, Pixel, Srgb};
use palette::{Hsv, Pixel, Srgb};
use std::fmt;
#[derive(Debug)]
......@@ -85,7 +85,7 @@ impl Mandelbrot {
if i == 36 {
Black
} else {
let colour: [u8; 3] = Srgb::from(Hsv::new(0., 1., 1.).shift_hue(i as f64 * 10.))
let colour: [u8; 3] = Srgb::from(Hsv::new(i as f64 * 10., 1., 1.))
.into_linear()
.into_format()
.into_raw();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment