adding pixels version of index_curve_texture