File:Scorigami Board.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 750 × 530 pixels. Other resolutions: 320 × 226 pixels | 640 × 452 pixels | 1,024 × 724 pixels | 1,280 × 905 pixels | 2,560 × 1,809 pixels.
Original file (SVG file, nominally 750 × 530 pixels, file size: 30 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionScorigami Board.svg |
English: Generated via front end javascript |
Date | |
Source | Own work |
Author | 1ctinus |
code used to generate the board (unoptimized):
document.getElementById("demo").innerHTML = data.matrix[17][20].count
let board = ''
board += '<g text-anchor="middle" font-size="6pt" font-family="monospace">'
for(let i = 0; i <= 73; i++){
board += `<text alignment-baseline="middle" y="5" x="${10*(i+1.5)}">${i}</text>`
}
for(let i = 0; i <= 51; i++){ // i is losing score
board += `<text alignment-baseline="middle" x="5" y="${10*(i+1.5)}">${i}</text>`
}
board += '</g>'
for(let i = 0; i <= 51; i++){
board += `<rect width="${(i == 1) ? 60: 10*i}" height="10" x="10" y="${10*(i+1)}" fill="black"/>`
for(let j = i; j <= 73; j++){ // j is winning score
if(data.matrix[i][j].count > 0){
board += `<rect width="10" height="10" x="${(j+1)*10}" y="${(i+1)*10}" fill="#0c0" />`
}
}
}
board += '<rect width="10" height="10" x="80" y="20"/>'
board += '<rect width="10" height="10" x="20" y="10"/>'
document.getElementById("demo").innerHTML = board.length
document.getElementById("svg").innerHTML = board
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:45, 10 September 2024 | 750 × 530 (30 KB) | 1ctinus (talk | contribs) | update after 32-19 scorigami between 49ers and Jets | |
18:47, 2 February 2024 | 512 × 362 (30 KB) | 1ctinus (talk | contribs) | forgot an extra blacked out spot | ||
18:41, 2 February 2024 | 512 × 362 (30 KB) | 1ctinus (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 3 pages use this file:
File usage on other wikis
The following other wikis use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 750 |
---|---|
Height | 530 |
Structured data
Einige Werte ohne einen Wikidata-Eintrag
2 February 2024
image/svg+xml
Hidden categories: