0
$\begingroup$

Let's say that I have a normal square plane.

enter image description here

Now, I want a script that plots points on the plane from -128 to 128 from one end to the other on both the x-axis and y-axis.

Then, I like to display those points as pixels and control their RGB values. I want to use them for, as an example, applying a gradient. If this is possible, then I can change the values of each pixel according to a given function.

enter image description here

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy