kittsville / pride-flag-generator

Procedurally generates an infinite number of pride flags
https://myflag.lgbt
MIT License
1 stars 2 forks source link

Support flags with differing colour heights #8

Closed kittsville closed 4 years ago

kittsville commented 4 years ago

I would like to create flags with coloured bars of different heights e.g. bi pride, demi pride

This is currently half-supported in that you can create flags with multiple bars of the same colour, if the bar's height form an integer ratio. The bi flag would be 2 pink bars, 1 lavender bar and 2 blue bars. It's possible flags exist with ratios that would be nasty to represent with raw bars.

It would be easier if bars had a customisable height, relative to their peers, defaulting to 1. That way the bi flag would have 3 bars, with the pink and blue bars specifying a custom height of 2.