Dots is a Tomytec toy product found in Japan. It is used to assemble pictures, some of which are Mario and Luigi sprites.
Each set contains a different number of pegs in various colors, used to create pictures. Also included is a number of trays that can be attached to create larger pictures.
These are some of the sets: