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

triangles with gradient #9

Open
jadsongmatos opened this issue Apr 24, 2021 · 5 comments
Open

triangles with gradient #9

jadsongmatos opened this issue Apr 24, 2021 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@jadsongmatos
Copy link

it would be possible to use overlapping triangles with gradient to get different results

@rh12503
Copy link
Owner

rh12503 commented Apr 25, 2021

Could you please elaborate on your desired effect? I'm trying to keep Triangula less bloated, so you might also want to consider using a vector editor (eg. Illustrator) instead if possible.

@jadsongmatos
Copy link
Author

I made this demonstration of a triangle with gradient, where in the image on the left we have the test image converted to opaque triangles and in the image on the right we have the image of the test with gradient triangle

bitmap

here you have a demonstration done manually in inkscape

Screenshot_20210424_231057

I chose to do a test with a black and white image because I thought it would be easier to show a gradient in just one color channel

esferas-metalicas-01-1

@rh12503
Copy link
Owner

rh12503 commented May 2, 2021

Sorry about the late reply, I thought I'd already left one earlier!

I understand your desired effect now, but I don't think there is a way to easily implement it, as there are too many factors involved, for example the direction of the gradient and the colors.

The gradient effect option when exporting would probably be the closest thing you can get. Applying a Gaussian blur in an external editor could work too.

@jadsongmatos
Copy link
Author

yes, I understand that it would be very complex, maybe an alternative to colors would be to analyze one channel at a time, varying only in intensity

@rh12503 rh12503 added the help wanted Extra attention is needed label May 7, 2021
@rh12503
Copy link
Owner

rh12503 commented May 7, 2021

There may be a way to do it, but I feel implementing it is beyond my current abilities.

I'll be happy to accept a PR from anyone who gets it working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants