Python Forum
Koch fractal with iteration
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Koch fractal with iteration
#4
Like I said, the turns at the end of the loop are a trick. It's not a simple formula. Think about the turns in the base curve: L60, R120, L60. In The second level, the turns are L60, R120, L60, L60, L60, R120, L60, R120, L60, R120, L60, L60, L60, R120, L60. Now, if we set A to be L60, R120, L60, that's A, L60, A, R120, A, L60, A. Do you see the pattern? Note that you don't have to make a formula to figure out those turns. You could just build up a list of them iteratively.
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