You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
996 B
JavaScript
28 lines
996 B
JavaScript
let NN = [];
|
|
let NNP = [];
|
|
let VB = ["embrace", "flow", "understand", "argue","perform"];
|
|
let AC = ["boundless","political","pluralistic","accessible","liquid", "tense", "organic"];
|
|
var TS = ["?!", "atata", "resurgence", "hope", "practical vision", "otherness","undecidability","eco swaraj","punctuation", "communities", "Kanye West"]
|
|
|
|
|
|
function shuffleArray(inputArray){
|
|
inputArray.sort(()=> Math.random() - 0.5);
|
|
}
|
|
|
|
shuffleArray(NN);
|
|
shuffleArray(NNP);
|
|
shuffleArray(VB);
|
|
shuffleArray(AC);
|
|
shuffleArray(TS);
|
|
|
|
|
|
|
|
|
|
let message = `In the future, the world could be full of `+TS[3]+`.\n\
|
|
Humans could `+VB[0]+` and `+VB[1]+` in `+AC[0]+` `+TS[6]+`.\n\
|
|
The `+TS[1]+` would no longer be `+AC[4]+`, but `+AC[2]+` and `+AC[1]+`.\n\
|
|
Only with the `+AC[3]+` `+TS[2]+`, there could finally be `+TS[5]+`.\n\
|
|
Without `+TS[8]+`, `+AC[5]+` `+TS[7]+` could never exist.\n\
|
|
This is why we have to `+VB[4]+` for the `+TS[10]+` of new `+TS[9]+`.`
|
|
|
|
document.querySelector('#showMessage').innerHTML = message |