- Joined
- Dec 2, 2018
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This is a janky bunch of [...] code to draw fractals. I chose to write a program as I saw from your posts that you do Python. It has been tested exclusively on my own machine with Python 3.10.12. You need the following external modules:
PIL
docopt
You also need GhostScript for the EPS support.
I hope it works. I haven't had time to try and get things like the centering and sizes perfect- I think they both depend on the actual fractal being drawn. Nor have I been able to look at the relationship between what I see on the screen as its plotting the path and what ends up in the gif.
As long as it doesn't turn into a total PITA I would recommend getting it running cos its very satisfying watching them build up and it looks way better on the black background. I don't get why that turtle module doesn't include the background in the screenshots it takes and I wasn't gonna go down the rabbit hole of [directly] editing eps files.
An example command is as follows:
python draw_fractals.py RINGS --iterations=5 five_iterations_rings.gif
If you don't run it, I've included a bunch of screenshots plus output gifs for each supported fractal.
As this approach using Turtle draws the fractal being built up, and the number of steps increases exponentially, it does get very slow as the number of allowed steps increases, increase the hardcoded max steps at your own risk.
Please please please give some feedback in the thread and let me know which your favourite is.
[... I] really hope you like it.
If you prefer to twat about in numpy [...], this is probably more up your street: https://github.com/dl1683/FractalGeneration/blob/main/Fractals.py
Merry Christmas
.orig
suffix.I'm still waiting for my gift. Haven't gotten it yet.have all the gifts been handed out yet?
Nope they are still working through them, @TheCuntler will update if you've not received your gift yet just be patient.have all the gifts been handed out yet?