MediaWiki:Common.js
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Any JavaScript here will be loaded for all users on every page load. */ mw.loader.load('https://github.com/processing/p5.js/releases/download/v1.4.0/p5.js'); /* The cover image is derived from Multi Remix, an Open Source and cross-platform interpretation by Winnie Soon and Geoff Cox of the software app Multi by David Reinfurt. Multi updates the idea of the multiple from industrial production to the dynamics of the information age. Each cover presents an iteration of a possible 1,728 arrangements, each a face built from minimal typographic furniture, and from the same source code. https://o-r-g.com/apps/multi https://aesthetic-programming.net/pages/2-variable-geometry.html */ /* --- Variable Geometry 1 (cover) --- */ /*Inspired by David Reinfurt's work - Multi*/ function setup() { var c = createCanvas(600, 600); c.parent('variable-geometry'); } function draw() { //left noStroke() fill(0); // x, y, w, h rect(77, 169, 100, 16); //right rect(395, 184, 32, 25); fill(0); beginShape(); vertex(395, 209); vertex(427, 209); vertex(407, 241); vertex(383, 241); endShape(CLOSE); //bottom noFill(); stroke(0); strokeWeight(8); ellipse(255, 400, 70, 70); }