-
-
Notifications
You must be signed in to change notification settings - Fork 50
colorized effect does not work in hexa, but fine in rgb #1070
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
Comments
Hi @mrbbp and thanks for sharing your example. From what I understand, the issue you’re seeing might be related to how the colors and blending are handled in your sketch, rather than a bug in Processing itself. If you would like support, I recommend posting on the Processing forum. When you do, it would be important to create a minimal example: a very small sketch that shows the unexpected behavior without anything extra. This makes it much easier for others to reproduce and investigate the issue. You also mentioned that you don’t code yourself and use AI-generated code. In that case, learning a bit more about coding could make it easier for you to troubleshoot problems and communicate what you’re trying to achieve. The Processing tutorials page is a good place to start learning :) |
@SableRaf Not agree with your point of view! the minimal exemple is not good because it works (rgb) or not(hexa). In my own sketch (more complexe with a lot of useless things in it and don't have time to clean my code, the mess is not the point) the pb is weird because there is no logical way about the hole! Thanks for the advice about learning code... "c'est l'histoire de la paille et de la poutre." |
Thanks for sharing more details. To better understand the issue, could you please also share the sprite image you are using I also want to kindly remind you that we follow a Code of Conduct, which asks everyone to communicate with respect and care, even when there are misunderstandings or disagreements. Gardons en tête que ce projet est developé par des êtres humains, qui font de leur mieux 😌 I appreciate your contribution and the time you spent analyzing this. |
i'm going nuts! i am unable to reproduce the bug.
with color defined with 0xRRGGBB it produce white sprite. i would put my hand on fire (sorry literal translation from a french idiomatic), i lost 2 hours with this strange behaviour of hole and worked with Claude to test different attempts to solve the prob! Looking back, I think that Processing and the Mac were behaving abnormally. I do not restart my mac i do not understand what the difference between yesterday and today but now the behaviour is totally different. at a time when i attempted to open a file by doubleclicking file, it was not lauching the last version of Processing but the 4.3.1 and no file was opened! and i said to myself "oh they push the ability to open distant files but it break local link..." So there was a stange behaviour but i'am enable to reproduce it's... a ghost bug... finaly i lost some time to find an other way but the prob is unsolved for me... |
i was working on a 1bit sprite sheet sketch with color effect to tint() black pixel.
sorry i do not code my self, it's ia coded.
by filling the screen with sprites, some "hole" in the filling appearing.
i was looking for a beat to understand that the problem was coming from the way i define color for the custom blendMode.
in the example, nothing is show (all is white) in hexa color, and color is shown in rgb.
on my project the result is a more weird. i have some sprite displayed, and some white hole.
if think it's a bug
i can purpose my all script if this does not convince you (but it's the mess)
on this image, there is only few hole in the blue area and more in the green area... but it is more hasardous

MacOs 14.7.3
Processing 4.3.1 and 4.4.1
macbook pro 14" M1 2020
The text was updated successfully, but these errors were encountered: