Question

How can I convert input into 14 segment characters using turtle graphics?

I don't need a complete answer with code pasted in; I just need some ideas for how to go about it.

Était-ce utile?

La solution

This is pretty straightforward. Write a function that draws the complete "union jack" and make it accept up to 14 parameters (or a list thereof) saying which segments should be omitted. For each character, call this function with appropriate number of parameters.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top