I should plot randomly oriented ellipses in rows and columns, at fixed nodes. Some rows should be grey, some black. Result should look like the following image (texture drawn by hand):
I moved from a code like this:
dimensiontex = {400, 300};
nobj = 40; distanceobj = 5;
myrow = Table[{i, j}, {i, 1, nobj, distanceobj}, {j, 1, nobj,
distanceobj}];
myobj = Graphics[Disk[{1, 1}, Offset[{10, 4}]]];
rotatemyobj = Rotate[myobj, RandomReal[{0, 2 Pi}]];
mytexture =
ListPlot[myrow, Axes -> False, ImageSize -> {dimensiontex[[1]],dimensiontex[[2]]},
AspectRatio -> 1, PlotMarkers -> rotatemyobj]
but obviously the "random" orientation is the same for all objects and all rows are evenly spaced:
I guess I should use a Do loop, but how to manage rotation of the single ellipse? Any help is greatly appreciated