This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PImage head; | |
| int x = 40, y = 300; | |
| void setup() | |
| { | |
| size(800, 800); | |
| head = loadImage("head.png"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void setup() { | |
| background(139,69,19); | |
| size(1000, 1000); | |
| noLoop(); //just want to run this once and use the loops that I wrote | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int topx1=500; | |
| int topy1=400; | |
| int topy2=200; | |
| int bottomleftx=100; | |
| int bottomright=700; | |
| int bottom6=600; | |
| int shortside=100; | |
| int circleX=200; | |
| int circleY=200; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //window size | |
| void setup() { | |
| size(1000,1000); // width, height | |
| } | |
| void draw() { | |
| line(500,400,200,400); //top of cube |