A starfield generator class for the Löve 2D framework