The points trace out a spirograph approximation of a star, with whatever definition you give. Depending on how you connect these points, you can get two sets of regular polygons that spin around each other.
Both numbers must be integers greater than 0, and the first number must be greater than the second. For best results, make sure the two numbers are relatively prime.
Inspired by this Mathologer video.
Star: / GO