1 Replies - 295 Views - Last Post: 10 December 2013 - 06:03 PM Rate Topic: -----

#1 wildfire12  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-December 13

Need help with vpython fractals!

Posted 09 December 2013 - 11:43 PM

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.

Is This A Good Question/Topic? 0
  • +

Replies To: Need help with vpython fractals!

#2 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7747
  • View blog
  • Posts: 13,105
  • Joined: 19-March 11

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1