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

Flag Addition Request #30

Open
sapsicle opened this issue Oct 25, 2022 · 2 comments
Open

Flag Addition Request #30

sapsicle opened this issue Oct 25, 2022 · 2 comments

Comments

@sapsicle
Copy link

Description

Add demisexual flag please.

@hykilpikonna
Copy link
Owner

Thank you for the request. I would be happy to add the demisexual flag, but the current framework of displaying colors wouldn't allow hyfetch to display the triangle at the left.


image

The current framework stores flags as a list of colors, which means that it can only display flags that are made of horizontal/vertical lines. This is definitely a design mistake and a bad assumption I made early in the project's development.

image

I want to restructure the framework to be compatible with all flags, but it would be very difficult since the entire code base was implemented around this bad assumption. A lot of code needs to change, and I currently don't have time to redesign the framework because of my midterm exams and papers.

If anyone has any suggestions on creating the new framework, feel free to comment or create a pull request. If not, I'll try redesigning the project when I have time.

@LilyIsTrans
Copy link

I've got an idea for a framework for arbitrary flags based on storing them as functions/callable things that take an x and y coordinate normalized between 0 and 1, and return a colour. That way, literally any potential arrangement of colours in a 2D rectangle could be represented. I'm not sure if it's feasible for me to go through and change everything myself, but I'll give it a shot and if it seems to work I'll make a PR.

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

No branches or pull requests

3 participants