if you wanted the graph to look like this:
would the equations for converting 2d to 1d be x+((height-y)*width)?
0 1 2 3 4
+---------------
0 |21 22 23 24 25
1 |16 17 18 19 20
2 |11 12 13 14 15
3 | 6 7 8 9 10
4 | 1 2 3 4 5
would the equations for converting 2d to 1d be x+((height-y)*width)?