First try at printing a gradient-index lens based on a variable wall-thickness gyroid lattice with the lattice surface meshes calculated using MATLAB code, then stitched and repaired, imported into Fusion 360, smoothed and then exported as STL into Prusaslicer and printed in PLA on the MK3S+ in the Prusa Enclosure.
@g4dbn wow that's impressive! Back then in university our teachers were not confident about such things and in 2023 it's 3D printable.
BTW, Maybe calculations can be done internally in OpenSCAD? Something like a factory of lenses, based on input parameters and it just generates an .stl, voila. I've also seen gyroid as an infill pattern option in Creality slicer, can it be related?