File:Scorigami Board.svg

Original file(SVG file, nominally 512 × 362 pixels, file size: 30 KB)

Captions

Captions

This is an NFL scorigami board generated before [[Super Bowl LVIII]]

Summary

edit
Description
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:
w:en:Creative Commons
attribution
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/TimeThumbnailDimensionsUserComment
current18:47, 2 February 2024Thumbnail for version as of 18:47, 2 February 2024512 × 362 (30 KB)1ctinus (talk | contribs)forgot an extra blacked out spot
18:41, 2 February 2024Thumbnail for version as of 18:41, 2 February 2024512 × 362 (30 KB)1ctinus (talk | contribs)Uploaded own work with UploadWizard

File usage on other wikis

Metadata