I want to use vpython to generate a pyramid fractal using algorithms. So basically once i have the fractal pyramid i need to also generate more pyramids in a similar manner. I'm really struggling with this and would like some help.

So something like this for examble

Set up initial pyramid

def subdivide(big_pyramid, subdivisions_remaining)

if subdivisions_remaining < 1:

draw big_pyramid

Create 5 small pyramids based on big_pyramid

for each small pyramid:

subdivide(the small pyramid, subdivisions_remaining - 1)

subdivide(initial pyramid, number of subdivisions)

Obviously this isn't right and i'm missing a lot of parts. For the pyramid i need 5 points, so in vypthon i basically need to draw lines going from each point creating the 3d figure and then create the fractal which i believe copies it. If anyone can help me out with this that would be great. I can provide much more information if this is lacking.

I am also willing to pay.

# Need help with vpython fractals!

Page 1 of 1## 1 Replies - 701 Views - Last Post: 10 December 2013 - 06:03 PM

##
**Replies To:** Need help with vpython fractals!

### #2

## Re: Need help with vpython fractals!

Posted 10 December 2013 - 06:03 PM

I don't know anything about vpython, so I'm probably not the best person to advise you on this, but I would suggest that if you go into some more detail about your fractal algorithm, that would probably help draw in more responses.

This is a pretty sketchy problem description.

This is a pretty sketchy problem description.

Page 1 of 1