Skip to content
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

Implement drawing a flag #2

Open
ErdaradunGaztea opened this issue Aug 9, 2022 · 1 comment
Open

Implement drawing a flag #2

ErdaradunGaztea opened this issue Aug 9, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ErdaradunGaztea
Copy link
Collaborator

By default the flag should contain n strips of equal width with colors in order, but some flags work differently. For example, the transgender flag has symmetrical stripes. These flags should have custom plotting functions.

@ErdaradunGaztea ErdaradunGaztea added the enhancement New feature or request label Aug 9, 2022
@ErdaradunGaztea ErdaradunGaztea self-assigned this Aug 9, 2022
@ErdaradunGaztea
Copy link
Collaborator Author

Return a structure instead and implement a plotting function for it. The structure should consist of a vector of colors, sometimes duplicated (as in the case of trans flag, for example). Then there should be an attribute that describes the shape. Perhaps a function that translates this shape to a ggplot2 call, but not an attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant