xxxxxxxxxx
47
let insultParts = {
adjective1: ['artless', 'bawdy', 'beslubbering', 'bootless', 'churlish', 'cockered', 'clouted', 'craven', 'currish', 'dankish', 'dissembling', 'droning', 'errant', 'fawning', 'fobbing', 'froward', 'frothy', 'gleeking', 'goatish', 'gorbellied', 'impertinent', 'infectious', 'jarring', 'loggerheaded', 'lumpish', 'mammering', 'mangled', 'mewling', 'paunchy', 'pribbling', 'puking', 'puny', 'qualling', 'rank', 'reeky', 'roguish', 'ruttish', 'saucy', 'spleeny', 'spongy', 'surly', 'tottering', 'unmuzzled', 'vain', 'venomed', 'villainous'],
adjective2: ['base-court', 'bat-fowling', 'beef-witted', 'beetle-headed', 'boil-brained', 'clapper-clawed', 'clay-brained', 'common-kissing', 'crook-pated','dismal-dreaming','dizzy-eyed','doghearted','dread-bolted','earth-vexing','elf-skinned','fat-kidneyed','fen-sucked','flap-mouthed','fly-bitten','folly-fallen','fool-born','full-gorged','guts-griping','half-faced','hasty-witted','hedge-born','hell-hated','idle-headed','ill-breeding','ill-nurtured','knotty-pated','milk-livered','motley-minded','onion-eyed','plume-plucked','pox-marked','reeling-ripe','rough-hewn','rude-growing','rump-fed','shard-borne','sheep-biting','spur-galled','swag-bellied','tardy-gaited','tickle-brained'],
noun: ['apple-john','baggage','barnacle','bladder','boar-pig','bugbear','bum-bailey','canker-blossom','clack-dish','clotpole',
'coxcomb','codpiece','death-token','dewberry',
'flap-dragon',
'flax-wench',
'flirt-gill',
'foot-licker',
'fustilarian',
'giglet',
// More nouns can be added here
]
};
let insult = '';
function setup() {
createCanvas(600, 400);
textAlign(CENTER, CENTER);
generateInsult();
}
function draw() {
background(255); // White background
// Draw insult text
fill(0); // Black text
textSize(24);
text('Thou art:', width / 2, height / 2 - 50);
text(insult, width / 2, height / 2 + 20);
// Draw instruction
textSize(16);
text('Click to generate a new insult!', width / 2, height - 30);
}
function mousePressed() {
generateInsult();
}
function generateInsult() {
let adj1 = random(insultParts.adjective1);
let adj2 = random(insultParts.adjective2);
let n = random(insultParts.noun);
insult = adj1 + " " + adj2 + " " + n + "!";
}