Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions 2025/mariquita/mariquita.pde
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
void setup() {
size(400, 400); // Tamaño del lienzo
background(255); // Fondo blanco
noStroke(); // Sin bordes en las formas
}

void draw() {
// Cuerpo de la mariquita
fill(255, 0, 0); // Color rojo
ellipse(200, 200, 150, 120); // Cuerpo principal

// Cabeza de la mariquita
fill(0); // Color negro
ellipse(200, 140, 80, 80); // Cabeza

// Ojos
fill(255); // Color blanco
ellipse(180, 130, 20, 20); // Ojo izquierdo
ellipse(220, 130, 20, 20); // Ojo derecho
fill(0); // Color negro
ellipse(180, 130, 10, 10); // Pupila izquierda
ellipse(220, 130, 10, 10); // Pupila derecha

// Línea divisoria del cuerpo
stroke(0); // Color negro para la línea
strokeWeight(2); // Grosor de la línea
line(200, 140, 200, 260); // Línea vertical

// Manchas en el cuerpo
noStroke(); // Sin bordes
fill(0); // Color negro
ellipse(170, 180, 30, 30); // Mancha 1
ellipse(230, 180, 30, 30); // Mancha 2
ellipse(160, 220, 30, 30); // Mancha 3
ellipse(240, 220, 30, 30); // Mancha 4

// Patas
stroke(0); // Color negro
strokeWeight(3); // Grosor de las patas
line(150, 200, 120, 220); // Pata izquierda 1
line(150, 220, 120, 240); // Pata izquierda 2
line(250, 200, 280, 220); // Pata derecha 1
line(250, 220, 280, 240); // Pata derecha 2
}