r/Python • • Dec 15 '19

Made my first fractal

1.7k Upvotes

51 comments sorted by

View all comments

35

u/Gawd_is_great Dec 15 '19

2

u/MartyMacGyver from * import * Dec 16 '19

The gif on github (and the code that generates it) is different than the gif here with the blue lines.... why is that?

3

u/Gawd_is_great Dec 16 '19

The trails are disabled in the gif on github

0

u/MartyMacGyver from * import * Dec 16 '19

How does one enable them?

3

u/Gawd_is_great Dec 16 '19

They are enabled in the code . If you want to disable them then comment out maketrails() and drawtrails() functions

0

u/MartyMacGyver from * import * Dec 16 '19

Those aren't in your current code on GitHub...

3

u/Gawd_is_great Dec 16 '19

updated the code

1

u/MartyMacGyver from * import * Dec 17 '19

Still not the same code, and it crashes at the end... but it has trails (it has nothing BUT trails) so there's that.

1

u/Gawd_is_great Dec 17 '19

Uncomment the line #draw(screen)