Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup () {
- size (800, 600);
- background (200, 230, 230);
- noStroke ();
- fill (255, 255, 255);
- circle (400, 300, 200); // vidurys
- circle (400, 150, 150); // viršus
- circle (400, 450, 250); // apačia
- fill (0, 0, 0);
- circle (370, 150, 30); // kairė akis
- circle (430, 150, 30); // dešinė akis
- // nosis
- fill (255, 170, 0);
- circle (400, 170, 20);
- // burna
- //strokeWeight (10);
- //stroke (0, 0, 0);
- //line (390, 195, 410, 195);
- // sagos
- //noStroke (); // tik tuo atveju, jei piešiu burną kaip liniją
- fill (0, 0, 0);
- circle (400, 250, 20);
- circle (400, 300, 20);
- circle (400, 350, 20);
- circle (400, 400, 20);
- circle (400, 450, 20);
- // rankos
- strokeWeight (15);
- stroke (130, 90, 0);
- line (500, 300, 600, 200);
- line (300, 300, 200, 200);
- // kojos
- noStroke ();
- fill (255, 255, 255);
- circle (310, 540, 70);
- circle (490, 540, 70);
- // skrybėlė
- fill (0, 0, 0);
- rect (320, 90, 160, 20, 10);
- rect (350, 10, 100, 100, 10);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement