I am trying to build a pyramid made of chocolate bars.
Right now I build a small part of it by hand and it very specific way but in the end I just need a pyramid-look, not the specific (and quite complicated way) I built it now.
There must be a math behind it, but I am bad at math.
Basically the chocolate bars behind the front one have to move - in my case 2,9cm left/right and 2,2 up/down.
Then there are also the corners, which I right now solved in a more interesting fashion by putting four chocolate bars infront of the ones that move just up and down. Makes for a more appealing visual but also complicates the matter.
How would I achieve that?
See also my current setup.
Thanks in advance for any help!