carwin / carwin/flag-generator

Support more flag shapes.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Right now it's possible to use the generator to produce flags of various dimensions utilizing the ratio parameter of the main Flag class, but it would be neat to have more built in support for various shapes like guidons and swallowtail pennons. These shapes typically have pretty different ratios from the standard 3:5 or 2:3, so the divisions that get generated and applied to these really long flags right now look sort of bad.

Guidon:
![image](https://user-images.githubusercontent.com/715967/102146913-73ac7880-3e2f-11eb-9bf2-c39f25543c46.png)

Swallowtail Pennant / Pennon

![image](https://user-images.githubusercontent.com/715967/102147019-a6567100-3e2f-11eb-915e-3f8c2177977f.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.