Pythagoras fractal tree: Step 1
Video reference
Step 1: https://youtu.be/UY1-xXJjcs4?feature=shared&t=72
Step 1: GGB Script
[code][/code]t = Slider(0, 1, 0.01, 1, 200)[br]SetValue(t, 0.5)[br][br]A = (0,0)[br]B = (1, 0)[br][br]s = Polygon(A, B, 4)[br][br]C0 = Centroid(s)[br][br]VC = Vertex(s, 3)[br]VD = Vertex(s, 4)[br][br]F = Point(Semicircle(VD, VC), t)[br][br]CR = Centroid(Polygon(F, VC, 4))[br]CL = Centroid(Polygon(VD, F, 4))[br][br]dL = Length(Segment(VD, F))[br]dR = Length(Segment(VC, F))[br]side = Perimeter(s)/4[br][br]angR = Angle(F, VC, VD)[br]angL = Angle(VC, VD, F)[br][br]sR = Translate( Rotate( Dilate(s, dR/side, C0), -angR, C0), Vector(C0, CR) )[br]sL = Translate( Rotate( Dilate(s, dL/side, C0), angL, C0), Vector(C0, CL) )[br][br]Output = {sR, sL}
Thanks for your support: [url=https://www.patreon.com/jcponce]https://www.patreon.com/jcponce[/url][br][br]Have fun!