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

Implement math function, shader like #150

Open
maifeeulasad opened this issue Nov 28, 2020 · 0 comments
Open

Implement math function, shader like #150

maifeeulasad opened this issue Nov 28, 2020 · 0 comments

Comments

@maifeeulasad
Copy link

Implement mathematical function to an image. Like a Shader, but way more easier format.

Like :

px.r = (px.r > 127) * 255
px.g = 0
px.b = 0

By running this script, we can easily make an image's pixels red or black based based on reddish portion.

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

1 participant