En esta imagen la edite en textedit y luego la edite en photoshop.
lunes, 23 de mayo de 2016
Sketch V
// declare global variables
int xspeed, yspeed;
int xpos,ypos,wdth,ht;
// initialize sketch
void setup() {
// set sketch window size + background color
size(600,400);
background(0);
// ball speed
xspeed=3;
yspeed=6;
// ball size
wdth = 200;
ht=690;
// turn off shapestroke rendering
noStroke ();
// initial ball placement
xpos=width/2;
ypos=height/2;
frameRate(30);
}
// begin animation loop
void draw(){
// draw ball
smooth ();
fill ((random (250)),(random (290)),(random (290)));
ellipse(xpos,ypos,wdth,ht);
// upgrade position values
xpos+=xspeed;
ypos+=yspeed;
/*conditionals
detects ball collission with sketch window edges
also accounts for thickness of ball
*/
if(xpos>=width-wdth/2 || xpos<=wdth/2){
xspeed*=-1;
}
if (ypos>=height-ht/2 || ypos<=ht/2){
yspeed*=-1;
}
}
int xspeed, yspeed;
int xpos,ypos,wdth,ht;
// initialize sketch
void setup() {
// set sketch window size + background color
size(600,400);
background(0);
// ball speed
xspeed=3;
yspeed=6;
// ball size
wdth = 200;
ht=690;
// turn off shapestroke rendering
noStroke ();
// initial ball placement
xpos=width/2;
ypos=height/2;
frameRate(30);
}
// begin animation loop
void draw(){
// draw ball
smooth ();
fill ((random (250)),(random (290)),(random (290)));
ellipse(xpos,ypos,wdth,ht);
// upgrade position values
xpos+=xspeed;
ypos+=yspeed;
/*conditionals
detects ball collission with sketch window edges
also accounts for thickness of ball
*/
if(xpos>=width-wdth/2 || xpos<=wdth/2){
xspeed*=-1;
}
if (ypos>=height-ht/2 || ypos<=ht/2){
yspeed*=-1;
}
}
Sketch VI
void setup() {
size (600,400);
background (764367563);
}
void draw () {
stroke (100);
fill (78,25,123);
rectMode (CENTER);
rect (mouseX, mouseY, 30,10);
fill (12,180,180);
ellipse ((random(600)),(random(400)),20,20);
}
size (600,400);
background (764367563);
}
void draw () {
stroke (100);
fill (78,25,123);
rectMode (CENTER);
rect (mouseX, mouseY, 30,10);
fill (12,180,180);
ellipse ((random(600)),(random(400)),20,20);
}
Sketch III
void setup() {
size (750,520);
background (0);
}
void draw () {
strokeWeight (1);
smooth (500);
fill (random(500));
rectMode (CENTER);
rect ((random(1200)),(random(1000)),20,20);
fill (17,180,180,500);
ellipse
((random(1200)),(random(1200)),50,50);
}
size (750,520);
background (0);
}
void draw () {
strokeWeight (1);
smooth (500);
fill (random(500));
rectMode (CENTER);
rect ((random(1200)),(random(1000)),20,20);
fill (17,180,180,500);
ellipse
((random(1200)),(random(1200)),50,50);
}
Sketch II
size (700,520);
background (999,60,60);
smooth ();
strokeWeight (4);
fill (9080);
rectMode (CENTER);
rect (100,100,100,900);
rect (10,100,100,900);
fill (12,90,808);
ellipse (300,220,50,50);
ellipse (300,220,0,50);
ellipse (300,0,0,50);
ellipse (0,300,50,0);
ALGORITMO
-COMO CAMBIAR EL PAÑAL A UN BEBE-
1.-Lavarse las manos con jabón y agua.
2.-Secarse las manos si están fríos calentarse las manos.
3.-Descubrir el bebe de la cintura hacia abajo.
4.-Tomar los pies del bebe hacia arriba.
5.-Despegar las cintas adheribles de cada lado.
6.-Utilize las toallas húmedas y limpie sobre las pompis del bebe.
7.-Una vez limpio coloque el pañal nuevo.
8.-Pege las cintas adheribles.
9.-Cubra nuevamente al bebe.
10.-Lavarse las manos nuevamente con jabón y agua.
-COMO CAMBIAR EL PAÑAL A UN BEBE-
1.-Lavarse las manos con jabón y agua.
2.-Secarse las manos si están fríos calentarse las manos.
3.-Descubrir el bebe de la cintura hacia abajo.
4.-Tomar los pies del bebe hacia arriba.
5.-Despegar las cintas adheribles de cada lado.
6.-Utilize las toallas húmedas y limpie sobre las pompis del bebe.
7.-Una vez limpio coloque el pañal nuevo.
8.-Pege las cintas adheribles.
9.-Cubra nuevamente al bebe.
10.-Lavarse las manos nuevamente con jabón y agua.
Suscribirse a:
Entradas (Atom)