Skip to content

Instantly share code, notes, and snippets.

@swinton
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swinton/1068d08da1e01489da8c to your computer and use it in GitHub Desktop.
Save swinton/1068d08da1e01489da8c to your computer and use it in GitHub Desktop.
Minecraft villager. First Processing sketch, by Annabelle, aged 9. (I helped a little).
background(#ffffff);
size(400, 400);
// body
rect(276, 186, -127, 212);
rect(100, 186, 230, 73);
rect(100, 186, 230, 55);
// head
rect(276, 45, -127, 141);
rect(233, 136, -43, 86);
rect(192, 97, -31, 25);
rect(192, 97, -13, 25);
rect(265, 97, -31, 25);
rect(265, 97, -19, 25);
rect(161, 88, 104, 9);
rect(161, 164, 29, 9);
rect(233, 164, 30, 9);
save("villager.png");
@swinton
Copy link
Author

swinton commented Aug 23, 2014

Output:

@swinton
Copy link
Author

swinton commented Aug 23, 2014

Colour added manually:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment