Skip to content

python3, and made gradient a function #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reem-codes
Copy link

changes print statements so they are python3 compatible

also, made gradient a function that takes colors and size as its parameters

to run from command line:
(venv) $ python3 gradient.py 255,187,187 169,241,223 111,214,255 500,500

where args are startColor, endColorX, endColorY, and size respectively

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.

1 participant