//Soyun Kim
function setup() {
createCanvas(300, 300); //dimension
background('red'); //can use color slider or photoshop to get the information about the color. w3schools.com
}
function draw() {
ellipse(150,150,100,70); //ellipse(x,y,w,h)
}
Month: August 2016
New Post
function setup() {
createCanvas(300, 300); //
background('red');
}
function draw() {
ellipse(150,150,100,70) // ellipse(x,y,w,h)
}
Victor-Lab1-Test
function setup() {
createCanvas(500, 500); // double slashes = comments
background(210,45,45)
}
function draw() {
ellipse(60,60, 100, 100)//(x,y,w,h)
}
New Post
New Post
//Katherine Tsai
function setup() {
createCanvas(300, 300); //this create a canvas 300 pixels wide 300 tall
background('red');
}
function draw() {
ellipse(150,150,100,70); //ellipse(x,y,w,h);
}
Shannon’s Test Post
//Shannon Case
function setup() {
createCanvas(200, 200); // this creates a canvas 200 pixles by 200 pixles
background('LightGreen'); // this colors the canvas blue
}
function draw() {
ellipse(150,150,100,100); // creates an elipse (x,y,w,h)
}
this is a test post
grat bun
Here is another test post
this post has been updated~~
Lab C
This is a test post.
function setup() {
createCanvas(600, 600);
background(220);
}
function draw() {
ellipse(300,300,60,60);
text("p5.js test", 25, 15);
line(50,50, mouseX,mouseY);
}