From C chord and C scale

This video shows a screenshot of a software I designed to show how the transformation works.
You create a very simple melody based on a single chord and a single scale.
The lines in the table show the degrees and not the notes.
You can then change the harmonic structure and the scales to be used.
The software helps us to choose the scales according to the average similarity.