hexaclue / pride-overlay Goto Github PK
View Code? Open in Web Editor NEWEasily turn your profile picture into an LGBTQ+ profile picture!
Home Page: https://pride-pfp.xyz
License: Apache License 2.0
Easily turn your profile picture into an LGBTQ+ profile picture!
Home Page: https://pride-pfp.xyz
License: Apache License 2.0
Users should be able to select multiple flags, to put besides each other.
Users should be able to resize the image before export (e.g. when they choose for the image to be animated, which may take a REALLY long time on low-power devices, but may become quicker if the image is first resized to a lower resolution / if the export resolution is lowered).
Note: currently, the export resolution gets limited to a hardcoded 256x256. Though this works okay-ish, the ideal situation would be as described above.
Rendering the flag with only one flag selected works fine, but when you apply rotation (no matter whether it comes from the animation or the rotation setting) the right side of the flag is cutoff (only rendered from -1/2 to 1, horizontally)
A user should be able to put in a GIF image, and export a GIF image as well.
performance.now()
.Aaaaaaaaaaah, my eyes!! Currently, there is no dark mode on this app.
Some flags (e.g. the bisexual flag, or the paragender flag) do not have a standard ratio of colours. For example, the bisexual flag has a ratio of 2:1:2.
<String, number[]>
drawToCanvas
.Currently, barely anything works with just the keyboard.
Currently, if the input image is not exactly square, the image will be stretched to a square ratio, to fill the available space. This is in almost 100% of the cases not what a user wants.
A user should be able to export the image without an input image. This would mean that the exported image is just a pride flag.
I couldn't help but notice that animated gifs made by this tool can be unreasonably large.
Using a single color table for all frames can (at times) dramatically reduce the size. (~30% in my cases)
if this method is applied during creation and not retroactively, this could also improve animation times.
since you are not supporting gifs (at least not yet) it may be worth applying this option compression method to all gifs. I'm not well versed in gif creation/editing in JS/TS so I can't offer much advice other than that.
Users should be able to offset the rotation of the flag if the export image is static (not animated).
Currently, the preview is only on the bottom of the page, just below the exporting section. This makes it hard to see what you're changing, especially for mobile devices.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.