I would like to produce a black image with superposed white disks.
The disk centers should start from the lower left and end at the upper right position.
The disk size should increase lineary from lower left to upper right position.
What I tried:
n = 400;
imageData = Array[0 &, {n, n}];
image = Image[imageData];
array = Table[{i, i}, {i, 1, n}];
objects = Table[Image@DiskMatrix[i/10 // N], {i, 1, n, 1}];
ImageCompose[image, objects, array]
Result:
As you see this the diagonal is not white.
My expected results should be:
How can this be done?