Wolfram Language

Create Connecting Dots Games

You can create connecting dots games with automatic labeling in ListPlot.

Get a sample icon from icon entity. Here the icon name is hidden so as not to spoil the fun.

Identify the edge using EdgeDetect and extract edge lines with PixelValuePositions.

The edge points are not ordered. Use FindShortestTour to order the points.

Interpolate the data so the points are equally spaced.

Resample to get 100 points.

Use LabelingFunction to place labels in ListPlot.

Can you guess what it is? Here is the result and original data.

Related Examples

ja