qrohlf / trianglify

Algorithmically generated triangle art
http://qrohlf.com/trianglify/
GNU General Public License v3.0
10.08k stars 669 forks source link

Additional settings for y_colors #92

Closed Saucistophe closed 6 years ago

Saucistophe commented 6 years ago

I wanted to use simple vertical and horizontal gradients, without having to write a function. Would you accept a PR in which :

qrohlf commented 6 years ago

@Saucistophe this seems reasonable. The only suggestion I have is that instead of using empty string, I'd rather have the user pass false to signify that they don't want to have an x or y component to the gradient.

Aside from that, I'd happily take that PR. Thanks for checking in!

qrohlf commented 6 years ago

closing this as resolved by #93, thanks @Saucistophe