That's interesting.
FaceViewer is the one that interacts with the user and can input options, male/female, nose shape, eyes, hair style, etc.
The FaceComponent can be used to provide different inherited classes, nose, mouth, eyes, hair, etc. Each component can have different shapes, big nose like Cyrano, curly/straight hair, etc.
Post what you have if you need ideas, have problems, or need help debugging.
Write a program to plot a face. Provide a class FaceViewer and a class FaceComponent.
1 answer