All Questions
Tagged with fractals python-3.x
11 questions
1
vote
0
answers
802
views
Python fractal tree generators
I wrote the scripts several days ago, they do exactly what I intended, but the performance is not very good, I am still stuck on for loops and don't know how to vectorize things, I wrote both scripts ...
6
votes
0
answers
139
views
A Python script that creates n-flakes
I have written a simple Python script that generates n-flakes using matplotlib.
Wikipedia article on N-flake.
I wrote two functions, one function generates pentaflake, the other generates hexaflake, I ...
40
votes
7
answers
8k
views
Increase performance creating Mandelbrot set in python
I created a program in python that generates an image of the mandelbrot set. The only problem I have is that the program is quite slow, it takes about a quarter of an hour to generate the following ...
13
votes
2
answers
812
views
Sierpiński's carpet fractal animation for teaching Python 3
I am teaching programming (in this case - 1 on 1 tutoring of a teenager interested in programming) and this code will be a final stage of a progression toward program generating a nice image of ...
4
votes
2
answers
1k
views
Python the Dragon's Curve with turtle
I'm kind of new to Python, and I'm trying to improve (especially) my object oriented programming, and getting to know Python syntax better.
I'd love to know if there is something to improve, (...
17
votes
1
answer
1k
views
Barnsley's Fern
I recently watched the Numberphile video entitled 'Chaos Game', and in that they showed how Sierpinski's triangle could be made from random numbers. But at the end of the video, they showed how this ...
2
votes
2
answers
2k
views
Generating fractals and space filling curves, using a general function for L-systems
An L-system is a rewriting system that can be used to generate fractals and space filling curves, because of its recursive nature.
Some L-systems for mathematical curves can be found here.
An example ...
1
vote
1
answer
1k
views
Playing the game of Chaos
According to Rosetta Code:
The Chaos Game is a method of generating the attractor of an iterated
function system (IFS). One of the best-known and simplest examples
creates a fractal, using a polygon ...
7
votes
2
answers
495
views
Small turtle program using instruction strings to draw patterns
A while ago, I wrote a program that combined L-systems and turtles. This was before I understood OOP (I still don't fully understand classes, or if they are even needed here). I tried to add some ...
9
votes
2
answers
2k
views
Mandelbrot Set Fractal
I thought I would give this months community challenge a try. This is my first time using Python.
It does take quite a while to run and it's not very colourful but it works.
...
12
votes
1
answer
818
views
Fractal rendering fun time
I wrote up a script a while back to let me play around with fractals. The idea was to have direct access to the script that creates the fractal. None of that close, edit, then run hassle; just edit ...