{"id":91,"date":"2023-02-21T14:37:54","date_gmt":"2023-02-21T14:37:54","guid":{"rendered":"http:\/\/www.qchartist.net\/blog\/?p=91"},"modified":"2023-02-21T16:02:24","modified_gmt":"2023-02-21T16:02:24","slug":"l-systems","status":"publish","type":"post","link":"https:\/\/www.qchartist.net\/blog\/l-systems\/","title":{"rendered":"L-Systems"},"content":{"rendered":"\n<p>Lindenmayer L-Systems Rules<br>Creating turtle fractal art with L-Systems just for the fun<br><br>These fractals are created with my free L-System app that you can download here:<br>First install Python 3.8 for Windows :<br><a href=\"http:\/\/www.qchartist.net\/files\/programming\/fractals\/python-3.8.0.exe\">http:\/\/www.qchartist.net\/files\/programming\/fractals\/python-3.8.0.exe<\/a><br>Then extract this zip file in a folder inside your Python38-32 folder :<br><a href=\"http:\/\/www.qchartist.net\/files\/programming\/fractals\/lsystem-master_RQ_Py.zip\">http:\/\/www.qchartist.net\/files\/programming\/fractals\/lsystem-master_RQ_Py.zip<\/a><br>Enjoy!<br><br><a href=\"https:\/\/www.deviantart.com\/jul-zen\">https:\/\/www.deviantart.com\/jul-zen<\/a><br><br>Hive<br>Axiom: F<br>Production 1: F<br>Rule 1: +F++DF++D[F]D+<br>Production 2: D<br>Rule 2: D<br>Iterations: 7<br>Angle: 30<br><img decoding=\"async\" loading=\"lazy\" width=\"311\" height=\"301\" class=\"wp-image-100\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/hive.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/hive.png 311w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/hive-300x290.png 300w\" sizes=\"(max-width: 311px) 100vw, 311px\" \/><\/p>\n\n\n\n<p><br><br>von Koch &#8211; acute snowflake<br>axiom=&#8221;F+(120)F+(120)F&#8221;<br>rules={&#8220;F&#8221;: &#8220;F-F++F-F&#8221;}<br>iters=4<br>angle=75<br><img decoding=\"async\" loading=\"lazy\" width=\"284\" height=\"265\" class=\"wp-image-112\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/von_koch_-_acute_snowflake.png\" alt=\"\"><br><br>Cesaro curve #1<br>axiom=&#8221;F+(90)F+(90)F+(90)F&#8221;<br>rules={&#8220;F&#8221;: &#8220;F+F&#8211;F+F&#8221;}<br>iters=5<br>angle=85.3<br><img decoding=\"async\" loading=\"lazy\" width=\"254\" height=\"254\" class=\"wp-image-99\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/cesaro_curve_1.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/cesaro_curve_1.png 254w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/cesaro_curve_1-150x150.png 150w\" sizes=\"(max-width: 254px) 100vw, 254px\" \/><br><br>Mango Leaf<br>axiom=&#8221;Y&#8212;Y&#8221;<br>rules={&#8220;X&#8221;: &#8220;F-FF-F&#8211;[&#8211;X]F-FF-F&#8211;F-FF-F&#8211;&#8220;, &#8220;Y&#8221;: &#8220;f-F+X+F-fY&#8221;}<br>iters=10<br>angle=60<br><img decoding=\"async\" loading=\"lazy\" width=\"257\" height=\"159\" class=\"wp-image-101\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/mango_leaf.png\" alt=\"\"><br><br>Weed, P. Bourke<br>axiom=&#8221;F&#8221;<br>rules={&#8220;F&#8221;: &#8220;FF-[XY]+[XY]&#8221;,&#8221;X&#8221;:&#8221;+cFY&#8221;,&#8221;Y&#8221;:&#8221;-dFX&#8221;,&#8221;c&#8221;:&#8221;&#8221;,&#8221;d&#8221;:&#8221;&#8221;}<br>iters=6<br>angle=22.5<br><img decoding=\"async\" loading=\"lazy\" width=\"246\" height=\"634\" class=\"wp-image-114\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/weed_p_bourke.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/weed_p_bourke.png 246w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/weed_p_bourke-116x300.png 116w\" sizes=\"(max-width: 246px) 100vw, 246px\" \/><br><br>poetasters weed, after, P. Bourke<br>axiom=&#8221;F&#8221;<br>rules={&#8220;F&#8221;: &#8220;F-[XY]+[XY]F+[XY]-[XY]&#8221;,&#8221;X&#8221;:&#8221;+dFY&#8221;,&#8221;Y&#8221;:&#8221;-cFX&#8221;,&#8221;c&#8221;:&#8221;&#8221;,&#8221;d&#8221;:&#8221;&#8221;}<br>iters=6<br>angle=22.5<br><img decoding=\"async\" loading=\"lazy\" width=\"286\" height=\"640\" class=\"wp-image-106\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/poetasters_weed_after_p_bourke.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/poetasters_weed_after_p_bourke.png 286w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/poetasters_weed_after_p_bourke-134x300.png 134w\" sizes=\"(max-width: 286px) 100vw, 286px\" \/><br><br>Unlikely bush (after Bourke)<br>axiom=&#8221;F&#8221;<br>rules={&#8220;F&#8221;: &#8220;eF[+cFF][-FF]cF[-F]d[+F]F&#8221;,&#8221;c&#8221;:&#8221;&#8221;,&#8221;d&#8221;:&#8221;&#8221;,&#8221;e&#8221;:&#8221;&#8221;}<br>iters=3<br>angle=330<br><img decoding=\"async\" loading=\"lazy\" width=\"293\" height=\"328\" class=\"wp-image-111\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/unlikely_bush_after_bourke.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/unlikely_bush_after_bourke.png 293w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/unlikely_bush_after_bourke-268x300.png 268w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><br><br>von Koch &#8211; islands and lakes<br>axiom=&#8221;F+F+F+F&#8221;<br>rules={&#8220;F&#8221;: &#8220;F+f-FF+F+FF+Ff+FF-f+FF-F-FF-Ff-FFF&#8221;, &#8220;f&#8221;: &#8220;ffffff&#8221;}<br>iters=2<br>angle=90<br><img decoding=\"async\" loading=\"lazy\" width=\"350\" height=\"364\" class=\"wp-image-113\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/von_koch_-_islands_and_lakes.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/von_koch_-_islands_and_lakes.png 350w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/von_koch_-_islands_and_lakes-288x300.png 288w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><br><br>2D bush #9<br>axiom=&#8221;G&#8221;<br>rules={&#8220;G&#8221;: &#8220;GfX[+G][-G]&#8221;, &#8220;X&#8221;: &#8220;X[-FFF][+FFF]FX&#8221;}<br>iters=5<br>angle=25.71<br><img decoding=\"async\" loading=\"lazy\" width=\"311\" height=\"438\" class=\"wp-image-98\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/2d_bush_9.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/2d_bush_9.png 311w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/2d_bush_9-213x300.png 213w\" sizes=\"(max-width: 311px) 100vw, 311px\" \/><br><br>Snake Kolam<br>axiom=&#8221;F+XF+F+XF&#8221;<br>rules={&#8220;X&#8221;: &#8220;XF-F-F+XF+F+XF-F-F+X&#8221;}<br>iters=4<br>angle=90<br><img decoding=\"async\" loading=\"lazy\" width=\"254\" height=\"255\" class=\"wp-image-108\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/snake_kolam.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/snake_kolam.png 254w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/snake_kolam-150x150.png 150w\" sizes=\"(max-width: 254px) 100vw, 254px\" \/><br><br>peano_gosper_curve_1<br>axiom=&#8221;FX&#8221;<br>rules={&#8220;X&#8221;: &#8220;X+YF++YF-FX&#8211;FXFX-YF+&#8221;, &#8220;Y&#8221;: &#8220;-FX+YFYF++YF+FX&#8211;FX-Y&#8221;}<br>iters=4<br>angle=60<br><img decoding=\"async\" loading=\"lazy\" width=\"406\" height=\"417\" class=\"wp-image-104\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/peano_gosper_curve_1.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/peano_gosper_curve_1.png 406w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/peano_gosper_curve_1-292x300.png 292w\" sizes=\"(max-width: 406px) 100vw, 406px\" \/><br><br>segments 1<br>axiom=&#8221;FB&#8221;<br>rules={&#8220;A&#8221;: &#8220;FBFA+HFA+FB-FA&#8221;, &#8220;B&#8221;: &#8220;FB+FA-FB-JFBFA&#8221;, &#8220;H&#8221;: &#8220;-&#8220;, &#8220;J&#8221;: &#8220;+&#8221;, &#8220;F&#8221;: &#8220;&#8221;}<br>iters=5<br>angle=90<br><img decoding=\"async\" loading=\"lazy\" width=\"438\" height=\"432\" class=\"wp-image-107\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/segments_1.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/segments_1.png 438w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/segments_1-300x296.png 300w\" sizes=\"(max-width: 438px) 100vw, 438px\" \/><br><br>Tree<br>axiom=&#8221;X&#8221;<br>rules={&#8220;F&#8221;: &#8220;FF&#8221;, &#8220;X&#8221;: &#8220;F-[[X]+X]+F[+FX]-X&#8221;}<br>iters=6<br>angle=22.5<br><img decoding=\"async\" loading=\"lazy\" width=\"358\" height=\"496\" class=\"wp-image-109\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/tree.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/tree.png 358w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/tree-217x300.png 217w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/><br><br>Wheel<br>axiom=&#8221;WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW&#8221;<br>rules={&#8220;W&#8221;: &#8220;[X]+&#8221;, &#8220;X&#8221;: &#8220;[+++++++++++++Y[X]]&#8212;&#8212;&#8212;&#8212;-Y[X]&#8221;, &#8220;Y&#8221;: &#8220;YFYF&#8221;}<br>iters=8<br>angle=5<br><img decoding=\"async\" loading=\"lazy\" width=\"429\" height=\"429\" class=\"wp-image-115\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/wheel.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/wheel.png 429w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/wheel-300x300.png 300w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/wheel-150x150.png 150w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><br><br>Tree 2<br>axiom=&#8221;FFFFFFX&#8221;<br>rules={&#8220;F&#8221;: &#8220;F&#8221;, &#8220;X&#8221;: &#8220;FFF-[-F+F[Y]-[X]]+[+F+F[X]-[X]]&#8221;, &#8220;Y&#8221;: &#8220;FF-[-F+F]+[+F+FY]&#8221;}<br>iters=6<br>angle=15<br><img decoding=\"async\" loading=\"lazy\" width=\"357\" height=\"271\" class=\"wp-image-110\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/tree_2.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/tree_2.png 357w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/tree_2-300x228.png 300w\" sizes=\"(max-width: 357px) 100vw, 357px\" \/><br><br>P. Bourke after Saupe<br>axiom=&#8221;VZFFF&#8221;<br>rules={&#8220;V&#8221;: &#8220;[+++W][&#8212;W]YV&#8221;,&#8221;W&#8221;:&#8221;+X[-W]Z&#8221;,&#8221;X&#8221;:&#8221;-W[+X]Z&#8221;,&#8221;Y&#8221;:&#8221;YZ&#8221;,&#8221;Z&#8221;:&#8221;[-FcFF][+FdFF]F&#8221;,&#8221;c&#8221;:&#8221;&#8221;,&#8221;d&#8221;:&#8221;&#8221;}<br>iters=8<br>angle=20<br><img decoding=\"async\" loading=\"lazy\" width=\"292\" height=\"237\" class=\"wp-image-102\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/p_bourke_after_saupe.png\" alt=\"\"><br><br>poetasters succulent 1<br>axiom=&#8221;A&#8221;<br>rules={&#8220;A&#8221;: &#8220;[FL]gAhg[FLA]&#8221;,&#8221;F&#8221;:&#8221;cSF&#8221;,&#8221;S&#8221;:&#8221;dFL&#8221;,&#8221;L&#8221;:&#8221;c[F+F+F]fe[F-F-F]&#8221;,&#8221;c&#8221;:&#8221;&#8221;,&#8221;d&#8221;:&#8221;&#8221;,&#8221;e&#8221;:&#8221;&#8221;,&#8221;g&#8221;:&#8221;&#8221;,&#8221;h&#8221;:&#8221;&#8221;}<br>iters=7<br>angle=17<br><img decoding=\"async\" loading=\"lazy\" width=\"219\" height=\"413\" class=\"wp-image-105\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/poetasters_succulent_1.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/poetasters_succulent_1.png 219w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/poetasters_succulent_1-159x300.png 159w\" sizes=\"(max-width: 219px) 100vw, 219px\" \/><br><br>Pean-c flower after Gary Teachout<br>axiom=&#8221;FXhFXiFX&#8221;<br>rules={&#8220;F&#8221;: &#8220;&#8221;,&#8221;X&#8221;:&#8221;[FX-FY][-cFX-FY-FX][ZZ]-dFY-FX+FY+FX&#8221;,&#8221;Y&#8221;:&#8221;FY&#8221;,&#8221;Z&#8221;:&#8221;-cFX-FY-FX&#8221;,&#8221;c&#8221;:&#8221;&#8221;,&#8221;d&#8221;:&#8221;&#8221;,&#8221;h&#8221;:&#8221;&#8221;,&#8221;i&#8221;:&#8221;&#8221;}<br>iters=3<br>angle=340<br><img decoding=\"async\" loading=\"lazy\" width=\"359\" height=\"269\" class=\"wp-image-103\" style=\"width: 150px;\" src=\"http:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/pean-c_flower_after_gary_teachout.png\" alt=\"\" srcset=\"https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/pean-c_flower_after_gary_teachout.png 359w, https:\/\/www.qchartist.net\/blog\/wp-content\/uploads\/2023\/02\/pean-c_flower_after_gary_teachout-300x225.png 300w\" sizes=\"(max-width: 359px) 100vw, 359px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lindenmayer L-Systems RulesCreating turtle fractal art with L-Systems just for the fun These fractals are created with my free L-System app that you can download here:First install Python 3.8 for Windows :http:\/\/www.qchartist.net\/files\/programming\/fractals\/python-3.8.0.exeThen extract this zip file in a folder inside your Python38-32 folder :http:\/\/www.qchartist.net\/files\/programming\/fractals\/lsystem-master_RQ_Py.zipEnjoy! https:\/\/www.deviantart.com\/jul-zen HiveAxiom: FProduction 1: FRule 1: +F++DF++D[F]D+Production 2: DRule 2: DIterations: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":""},"categories":[28],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/posts\/91"}],"collection":[{"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":5,"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":118,"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/posts\/91\/revisions\/118"}],"wp:attachment":[{"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qchartist.net\/blog\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}