Created
April 20, 2021 06:05
-
-
Save danielcristofani/3809b718e01cb7da1a174ead51729344 to your computer and use it in GitHub Desktop.
Sierpinski Carpet program
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[siercarpet.b -- Sierpinski Carpet | |
(c) 2021 Daniel B. Cristofani | |
http://brainfuck.org/] | |
>-->->->>>>>(>>>>>>>>>)+++++[>++++++<-]>+[>+>+++<<-]>+[ | |
[<]<++[<++]--<[>>[-->]>..<<<]>>[[-->]>>--.++.<<]<<<<<<<+[ | |
[--->++++++<[+++>--------->>[->>>]->>>]+<<<+] | |
>[<->>>[->>>]++++++++++.[-]<<+>+++[-]]< | |
]>>>->> | |
] | |
[This program outputs a Sierpinski Carpet fractal. | |
Add 3 > per iteration in first row to enlarge. (Default: 3 iterations.) | |
This program is licensed under a Creative Commons Attribution-ShareAlike 4.0 | |
International License (http://creativecommons.org/licenses/by-sa/4.0/).] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment