This very much reminds me of Imagine Logo. It was a drawing software with a cute turtle in the middle, and was used to teach programming back in my primary school.
You could definitely take inspirations from the Logo programming language. With a major ones, being obviously the ability to change color / line style, and the ability to allow/disallow drawing the line.