All Questions
24 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 ...
2
votes
1
answer
316
views
A program that draws a spiral
To run this program the graphics.py module that is not in the standard library is needed and can be found here https://mcsp.wartburg.edu/zelle/python/
This amateur program is for the fun of graphics ...
7
votes
3
answers
858
views
Sierpinski turtle triangle
I am working through Programming Fundamentals with Python on Udacity. The assignment was to create a recursive triangle. I am happy with the output, but I am hoping for feedback on the actual ...
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 ...
16
votes
3
answers
2k
views
Generating Julia set
So, I just wanted to post something on Rosetta Code, and I found this task of generating and plotting a Julia set: http://www.rosettacode.org/wiki/Julia_set. There was already one solution but it was ...
9
votes
2
answers
662
views
Speeding up Buddhabrot calculation in PyCuda
I've just started using PyCuda with Python 3, but I have some experience in high performance computing on CPU. I've tried to port one of my old models for generating the Buddhabrot to run on my GPU ...
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 ...
8
votes
2
answers
2k
views
Drawing fractals with Turtle
So, I have my code here:
...
7
votes
1
answer
1k
views
Python fractal tree using SVG
I made a simple program to generate fractal tree using PATH object of SVG. Any suggestions?
...
4
votes
0
answers
638
views
Python Code For Drawing a Fractal Tree using pyglet
So I've just finished doing a coding challenge that involved drawing a fractal tree. Instead of doing it recursively(which is what I did initially but it proved to be to slow for branches greater than ...
6
votes
0
answers
2k
views
Plotting the Mandelbrot set at different zoom levels [closed]
I'm interested in making an animated movie of a zoom in on a part of the Mandelbrot set. My code works well for a few zooms, but upon trying to zoom in quite far, I find that the fractal becomes "...
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 ...