Polygon Fractal Tree: Coloured and Save to Png lazarus / 39-Graphics ---------------------------------------------------------------------- Boleeman · 2024-09-28 15:02 Made a Fractal Tree out of an array of polygon points in the shape of trapeziums. Rendering using a TBgrabmp and a TPaintbox. Got the idea from https://www.codeproject.com/Articles/5269971/Fractal-Tree-with-Lines- Polygons-Written-in-Java Fractal Tree with Lines/Polygons Written in Java By Marijan Nikic  Made the initial trunk in the shape of a trapezium (the java version just had a rectangle). Noticed at higher thickness levels I am not getting exact alignment at the edges of the V branch meeting points. Also needed to do  SetLength(newStartPoints, System.Length(newStartPoints) + 1); instead of SetLength(newStartPoints, Length(newStartPoints) + 1); Not exactly sure why System. was needed if I have uses SysUtils Also notice the Java version has better defined top level line branches (see attached png of Java version). I needed to increase the thickness to get those lines being more defined in the Lazarus version. ---------------------------------------------------------------------- Boleeman · 2024-09-28 22:55 Coloured and Save to png (opaque and transparent).