xxxxxxxxxx
169
let pressed = false;
let adj = [
"Joyful",
"Tense",
"Euphoric",
"Relaxing",
"Angry",
"Cozy",
"Regretful",
"Frustrated",
"Calm",
"Nostalgic",
"Stuck",
"Defeated",
"Serene",
"Aggressive",
"Rational",
"Anxious",
"Snarky",
"Playful",
"Somber",
"Numb",
"Meditative"
/*
"Obnoxious",
"Ecstatic",
"Avoidant",
"Exuberant",
"Confused",
"Boisterous",
"Emphatic",
"Reserved",
"Serenity",
"Ecstatic",
"Hysterical",
"Energized",
"Hopeful",
"Sorrow",
"Desparate",
"Longing",
"Solitary",
"Freeing",
"Airy",
"Expansive",
"Numb",
"Fatigued ",
*/
];
let body = [
"arm",
"blinking",
"head",
"speaking",
"ears",
"feet",
"fingers",
"toes",
"smiling",
"a nose",
"jumping",
"hair",
"collar bone",
"shoulder / shrugging",
"knees",
"waving",
"waist",
"butt",
"nodding",
"facial expressions",
"eyebrows",
"neck",
"breath",
"elbows",
];
let performance = [
"Speech",
"Poem",
"Song",
"Ballet",
"Concert",
"Sound",
"Story",
"Drama",
"Video",
"Instrument",
"Intervention",
"TV Show",
"Installation",
"Live Stream",
"Opera",
"Miming",
"Performance art",
"Projection",
"Dance",
"Role Play",
"Solo",
"Slam poetry",
"Streaming",
"Seminar",
"Circus",
"Live theater"
];
let a = " ";
let b = " ";
let c = " ";
let y;
let counter = 0;
let tsz = 26;
let pairs = [];
let ct = 1;
let track = [];
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
background(255, 255, 0);
if (mouseIsPressed) {
pressed = true;
a = adj[round(random(adj.length - 1))];
b = body[round(random(body.length - 1))];
c = performance[round(random(performance.length - 1))];
//console.log(a + " " + c + " controlled by" + b);
}
if (pressed) {
textSize(tsz);
text(a + " " + c + " controlled by " + b, 50, 100);
} else {
textSize(tsz);
for (var i = 0; i < adj.length; i++) {
text(adj[i], 20, (i + 1) * (tsz + 5));
}
for (var i = 0; i < body.length; i++) {
text(body[i], width / 3, (i + 1) * (tsz + 5));
}
for (var i = 0; i < performance.length; i++) {
text(performance[i], (width / 3) * 2, (i + 1) * (tsz + 5));
}
}
}
function mousePressed() {
pressed = true;
a = adj[round(random(adj.length - 1))];
b = body[round(random(body.length - 1))];
c = performance[round(random(performance.length - 1))];
//console.log(a + " " + b + " " + c);
}