Gr1N / EasyPaint

Yet another painting software
MIT License
87 stars 42 forks source link

Implement math function, shader like #150

Open maifeeulasad opened 3 years ago

maifeeulasad commented 3 years ago

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.