Advertisement
samogitian

Art Theory Generator

Nov 12th, 2024 (edited)
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Fake Art Theory Generator</title>
  7. <style>
  8. body {
  9. font-family: Arial, sans-serif;
  10. margin: 20px;
  11. padding: 20px;
  12. background-color: #f4f4f9;
  13. }
  14. button {
  15. padding: 10px 20px;
  16. font-size: 16px;
  17. cursor: pointer;
  18. }
  19. textarea {
  20. width: 100%;
  21. height: 200px;
  22. margin-top: 20px;
  23. padding: 10px;
  24. font-family: monospace;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29.  
  30. <h1>Fake Art Theory Generator</h1>
  31. <p>Click the button below to generate some random fake art theory!</p>
  32. <button onclick="generateArtTheory()">Generate Theory</button>
  33.  
  34. <textarea id="artTheory" readonly></textarea>
  35.  
  36. <script>
  37. const conceptualWords = [
  38. "theory", "concept", "framework", "paradigm", "discourse",
  39. "aesthetics", "semiotics", "ontology", "epistemology", "praxis"
  40. ];
  41.  
  42. const nouns = [
  43. "artwork", "medium", "viewer", "artist", "institution",
  44. "canon", "practice", "context", "critique", "representation"
  45. ];
  46.  
  47. const verbs = [
  48. "constructs", "questions", "intersects", "deconstructs",
  49. "engages", "challenges", "defines", "translates", "frames", "negotiates"
  50. ];
  51.  
  52. const adjectives = [
  53. "postmodern", "contextual", "critical", "conceptual", "theoretical",
  54. "aesthetic", "institutional", "pluralistic", "deconstructive", "transdisciplinary"
  55. ];
  56.  
  57. const prepositions = [
  58. "of", "in", "with", "through", "by",
  59. "for", "against", "on", "around", "between"
  60. ];
  61.  
  62. function generateArtTheory() {
  63. let text = '';
  64.  
  65. for (let i = 0; i < Math.floor(Math.random() * 5) + 3; i++) { // Generate between 3 and 7 sentences
  66. const randomAdjective1 = adjectives[Math.floor(Math.random() * adjectives.length)];
  67. const randomConceptualWord = conceptualWords[Math.floor(Math.random() * conceptualWords.length)];
  68. const randomNoun1 = nouns[Math.floor(Math.random() * nouns.length)];
  69. const randomVerb = verbs[Math.floor(Math.random() * verbs.length)];
  70. const randomAdjective2 = adjectives[Math.floor(Math.random() * adjectives.length)];
  71. const randomNoun2 = nouns[Math.floor(Math.random() * nouns.length)];
  72. const randomPreposition = prepositions[Math.floor(Math.random() * prepositions.length)];
  73.  
  74. text += `The ${randomAdjective1} ${randomConceptualWord} of ${randomNoun1} ${randomVerb} the ${randomAdjective2} ${randomNoun2} ${randomPreposition} ${adjectives[Math.floor(Math.random() * adjectives.length)]} ${nouns[Math.floor(Math.random() * nouns.length)]}.\n`;
  75. }
  76.  
  77. document.getElementById('artTheory').value = text;
  78. }
  79. </script>
  80.  
  81. </body>
  82. </html>e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement