Grassmannians for scattering amplitudes in 4d N=4 SYM and 3d ABJM | Synapse