fn init(_url: Url, _orders: &mut impl Orders<Msg>) -> Model {
    Model {
        canvas: ElRef::default(),
        selected_fractal: SelectedFractal::BarnsleyFern,
        current_config: FractalConfig::NoConfig,
        current_animation: None,
        current_animation_status: FractalAnimationStatus::NotStarted,
        cursor_coords: [0, 0],
        fractal_coords: None,
        zoom_start_coords: None,
    }
}
/// Initializes the Model at app launch
Initializes the Model at app launch
Initializes the Model at app launch
fn init(_url: Url, _orders: &mut impl Orders<Msg>) -> Model {
    Model {
        canvas: ElRef::default(),
        selected_fractal: SelectedFractal::BarnsleyFern,
        current_config: FractalConfig::NoConfig,
        current_animation: None,
        current_animation_status: FractalAnimationStatus::NotStarted,
        cursor_coords: [0, 0],
        fractal_coords: None,
        zoom_start_coords: None,
    }
}
fn init ( _url : Url , _orders : & mut impl Orders < Msg > ) -> Model { Model { canvas : ElRef :: default ( ) , selected_fractal : SelectedFractal :: BarnsleyFern , current_config : FractalConfig :: NoConfig , current_animation : None , current_animation_status : FractalAnimationStatus :: NotStarted , cursor_coords : [ 0 , 0 ] , fractal_coords : None , zoom_start_coords : None , } }
Initializes the Model at app launch
Initializes the Model at app launch
_url
Url
_orders
&mut impl Orders<Msg>