Way to adress a pixel of in input in jit.expr

Veqtor's icon

Hi, I want to do some stuff where I need to adress a relative adress.
I would like something like
in[0].p[2].x((cell[0]+1)%dim[0]).y((cell[1]-1)%dim[1])

also, why can't we provide the current output plane no so we can shift planes?

Another thing, wouldn't it be great if expr could adress previous inputs or outputs of itself?

something like d[1].in[0] for last input one?

Would open up a lot of possibilities, especially for generative graphics!

And yeah, I know I can do it with jit.repos but I think it's too messy.