xxxxxxxxxx
// example code adapted from listing 8.4 of Pearson (2011: 173-174)
// draw a pentagon using rotation
// adding midpoint marks
// adding extrusion from midpoint
// schien@mail.ncku.edu.tw, Fall 2020
let pentagon;
let _strutFactor = 0.2;
function setup() {
createCanvas(600, 600);
pentagon = new FractalRoot();
pentagon.drawShape();
}
function draw() {
//empty for now
}