View previous topic :: View next topic |
Author |
Message |
Evil_Intentions Expert Cheater
Reputation: 65
Joined: 07 Jan 2010 Posts: 214
|
|
Back to top |
|
 |
Nirojan How do I cheat?
Reputation: 108
Joined: 16 Sep 2008 Posts: 0 Location: seshville
|
Posted: Sun Jun 19, 2011 2:24 am Post subject: |
|
|
lol iuno
looks cool, but I don't really understand what's happening
pretty sure this shit got too complicated for me a while ago
_________________
Quote: | yo i b 22 tryna make it in dis rap game but da steetz dont got luv for no wun na mean so im out hea tryna holla at da fams on dis innernet shit u no way i sayin |
|
|
Back to top |
|
 |
Evil_Intentions Expert Cheater
Reputation: 65
Joined: 07 Jan 2010 Posts: 214
|
Posted: Sun Jun 19, 2011 2:40 am Post subject: |
|
|
Loopal wrote: | lol iuno
looks cool, but I don't really understand what's happening
pretty sure this shit got too complicated for me a while ago |
Well the program draws using turtle graphics. You have a point(x,y) and a direction. when there is an "f", the program calculates the new (x,y) based on the direction. What "[" does is saves the (x,y) and direction in a stack. When the program parses a "]" it loads the last entry and continues drawing from that point instead. So basically the program will backtrack when something gets loaded.
Say I had a length of 10, and I'm starting from the point 0,0
fff would draw 3 lines back to back, making one big line from 0,0 to 30,0
if I had f[f]f, I draw one line, save the new point(10,0) draw another line(20,0) then I LOAD my info(10,0) before drawing another line forward(20,0). Even though I still have 3 f's, I doubled back and moved thus giving me a shorter line.
The advantages of this technique are, obviously, not shown using simply a straight line, but in short, it will provide those who experiment greater power when making fractals.
Stuff like below
Description: |
|
Filesize: |
6.1 KB |
Viewed: |
3508 Time(s) |

|
|
|
Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
|
Back to top |
|
 |
Evil_Intentions Expert Cheater
Reputation: 65
Joined: 07 Jan 2010 Posts: 214
|
Posted: Sun Jun 19, 2011 5:56 am Post subject: |
|
|
Thanks for those, I'll look over some sometime soon.
While you're in the thread though, anything you would like to see added to fractalGen? Besides obviously a color picker... More functionality wise, perhaps another symbol with a special purpose.
|
|
Back to top |
|
 |
Up2Admin I'm a spammer
Reputation: 126
Joined: 17 Oct 2007 Posts: 6548 Location: Texas
|
Posted: Sun Jun 19, 2011 12:15 pm Post subject: |
|
|
Looks alright. As long as the original stuff is still able to be used; from what I can tell, it is.
_________________
|
|
Back to top |
|
 |
|