xxxxxxxxxx
35
function setup() {
createCanvas(300, 300);
background(255);
strokeWeight(2);
text("A",20,145);
text("B",270,145);
line(40,135,50,140);
line(40,145,50,140);
line(240,135,250,140);
line(240,145,250,140);
line(30,140,75,140)
line(220,140,265,140);
line(75,50,75,230);
line(220,50,220,230);
for(var i=0;i<3;i++){
line(75,50+30*i,130,50+30*i);
line(160,50+30*i,220,50+30*i);
line(130,50+30*i,155,40+30*i);
text(""+i,150,50+30*i+5);
}
for(var j=0;j<3;j++){
text(".",150,120+30*j+5);
}
i=6
line(75,50+30*i,130,50+30*i);
line(160,50+30*i,220,50+30*i);
line(130,50+30*i,155,40+30*i);
text("n",150,50+30*i+5);
}
function draw() {
}