Skip to content

Computational Art Submission#8

Open
leonardoliuuu wants to merge 5 commits into
sd17fall:masterfrom
leonardoliuuu:master
Open

Computational Art Submission#8
leonardoliuuu wants to merge 5 commits into
sd17fall:masterfrom
leonardoliuuu:master

Conversation

@leonardoliuuu

Copy link
Copy Markdown

No description provided.

@SeunginLyu SeunginLyu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall! I would definitely suggest you add more documentation in your future projects.

Comment thread recursive_art.py
"""
# TODO: implement this
pass
if len(f)==1:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend that you add one or two unit tests of your own to test the function.

Comment thread recursive_art.py
return ['x']
return ['y']
choice = random.randint(0, len(function) - 1)
if(choice > 4):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be easier to understand the code if you put an inline comment explaining why you made this choice.

Comment thread recursive_art.py
generate_art("example2.png")

# Test that PIL is installed correctly
# # Test that PIL is installed correctly

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove these comments for you final code submission

Comment thread recursive_art.py
import doctest
doctest.testmod()
# if __name__ == '__main__':
# import doctest

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove these comments for you final code submission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants