Python Forum
Koch fractal with iteration
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Koch fractal with iteration
#2
The recursive version starts from the biggest curve, and then breaks each part of the curve into smaller ones. I would start at the bottom, with the smallest curve of just four lines. Calculate the length each line in that for that curve. Each iteration you draw that curve. The trick is to turn correctly at the end of each iteration, so that the next curve is drawn in the right direction.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Koch fractal with iteration - by drimades - Oct-06-2017, 01:19 PM
RE: Koch fractal with iteration - by ichabod801 - Oct-06-2017, 01:40 PM
RE: Koch fractal with iteration - by drimades - Oct-06-2017, 02:00 PM
RE: Koch fractal with iteration - by ichabod801 - Oct-06-2017, 02:32 PM
RE: Koch fractal with iteration - by drimades - Oct-06-2017, 02:38 PM
RE: Koch fractal with iteration - by ichabod801 - Oct-06-2017, 04:46 PM
RE: Koch fractal with iteration - by drimades - Oct-11-2017, 02:20 PM
RE: Koch fractal with iteration - by ichabod801 - Oct-11-2017, 08:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020