Sierpinski triangle/Graphical: Difference between revisions

Content deleted Content added
Laurence (talk | contribs)
Chkas (talk | contribs)
 
(2 intermediate revisions by one other user not shown)
Line 1,197:
 
=={{header|EasyLang}}==
[https://easylang.devonline/show/#cod=fY3BCoMwEETv+Yq5l65RCOghH1PCKoG0kShS+/UmuiAe7O7pzczOjik6zMm/PgMCL/hixeR/DAIpAL7fZQtdKM87LlxSgs4nFxiaalMUDhOLU86eFrXgXlpZNMKXn4/DPl7/CVRockjgLnu2kCIlVguTt9NqAw== Run it]
 
<syntaxhighlight lang="easylang">
proc triang lev x y size . .
if lev = 0
Line 1,417:
=== By chaos game ===
 
There is a function written in Fōrmulæ to creategenerate Sierpiński n-gonsfractals by the method known as chaos game in the page [[Chaos game#Fōrmulæ | chaos game]].
 
The script that creates a Sierpiński triangle is:
 
[[File:Fōrmulæ - Chaos game - Sierpiński triangle 0105.png]]
 
[[File:Fōrmulæ - Chaos game - Sierpiński triangle 0206.png]]
 
=== By Kronecker product ===