flagwaver
flagwaver copied to clipboard
Feature Request: Weight by transparency.
On exceptionally long flags, the spring/weight gets a little whacky. I am wondering if it's possible to assign 0% weight to alpha channel portions of flags, so in the above example it would get lighter as it tapers.
A bonus would be that alpha is seen as a sort of "cutting tool", such that flags with streamers can function properly, as each streamer is seen as an independent body, anchored to the main body. I am not entirely familiar with how physics engines work so I don't know how plausible that is.
Hi there,
I think what you are suggesting is certainly possible. However actually developing such a feature is easier said than done. The spring mass model uses a simple rectangular grid, that would have to somehow be modified
I imagine it would be more advanced in complexity, moving from a simple grid defined by image size to calculating new shapes through an alpha boolean. It's far more advanced than anything I know how to do, thus the request 🤣