I have a sample of 1D diffusion model, and I wish to upgrade it to a 2D and than 3D.
![Diffusion sample][1]
I simply tried to add another coordinate in the code of my sample but from some reason it doesn't work.
![enter image description here][2]
Can someone tell what am I doing wrong? I uploaded both files, so I would appreciate if someone could give some advice on this one. Thanks
Attachments: