Look I made a mug!
I think it’s based on my worried-thinking-about-how-little-I-know mug. Yeah yeah, it’s really basic stuff, but helped me get to grips with drawing spatially.
Here’s the process and the code I used:
void setup (){ size (400, 500); background (255); } void draw () { //body stroke (0); fill (0); rect (0, 200, 400, 300); //face stroke (0); fill (255); ellipse (175, 200, 200, 275); //hair line (80, 125, 130, 50); line (100, 140, 133, 45); line (122, 130, 140, 47); line (135, 136, 152, 50); line (155, 137, 162, 50); line (179, 137, 170, 50); line (200, 128, 180, 50); line (237, 136, 200, 50); line (289, 139, 230, 50); line (300, 142, 250, 50); //cheeks stroke (0); fill (255); ellipse (120, 228, 30, 30); stroke (0); fill (255); ellipse (230, 230, 30, 30); //eyes stroke (0); fill (255); ellipse (130, 180, 55, 15); stroke (0); fill (255); ellipse (220,182, 55, 15); stroke (0); fill (0); ellipse (151, 180, 10, 10); stroke (0); fill (0); ellipse (241,182, 10, 10); //nose stroke (0); fill (0); ellipse (165, 240, 3, 3); stroke (0); fill (0); ellipse (185, 240, 3, 3); //mouth line (130, 280, 210, 281); line (134, 282, 213, 283); line (136, 284, 215, 283); }