I have a pretty simple grid in variables in my program.
The actual grid goes from 0 to 1 on each axis.
What I’d like is to essentially translate the origin to where -1,-1 is in my current setup. How can I change these axes mathematically to get rid of all negative numbers, have my origin at the bottom left, and have x and y range from 0 to 1?
For each axis, add one and multiply by two. So,