I’m attempting to come up with a for loop to populate a dictionary of lists(don’t know if that’s the proper way to say that) evenly. I.E. I start with
world = [(0,0,0), (0,0,0), (0,0,0), (0,0,0), (0,0,0), (0,0,0), (0,0,0)...]
repeats as long as needed
And I want to assign the first two values in a fashion like
0,0
0,1
1,0
0,2
2,0
1,2
2,1
2,2
3,0
0,3
1,3
3,1
2,3
3,2
3,3
And so on
Basically I want every x and y value possibly up to a certain value to be used. I’ve tried several things all day with absolutely no success
As for the third value I just have a noise function that defines it based on the x and y of that list
this?
To apply the noise function,
[(x,y,func(x,y)) for xetc.BTW, this is “a list of tuples”, not “a dictionary of lists”.