Htree
Minimal crate for HTree fractals.
Example Usage
The following code snippet will draw an HTree of order $6$ scaled by a factor of $700$.
use HTree;
use ;
use draw_line_segment_mut;
let order=5;
let htree: = new;
// scale fractal by a factor of 700
let scale = 700f32;
//dimensions of resulting image
let width = as u32;
let height = as u32;
let mut image: = new;
// white background
image.fill;
let black = Luma;
for in htree.into_iter.map
let path=format!;
image.save;
The output of this code snippet is :
