function torus_points = maketorus2d

thing = [];

for j = pi/6:pi/6:2*pi
   for a = (1:2)
      x = (a*cos(j));
      y = (a*sin(j));
      thing = [thing; x y];
   end
end


thing = addindex(thing);

jimplot(thing);

torus_points = thing;