This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"userCSSoptions":{"theme":"default","font":"font%3A%2016px%2F20px%20monospace","width":"400","height":"300","dock":"right","opacity":"100"},"userCSSstyles":[{"site":"play.hbomax.com","styles":"video{\n height: calc(100vh * 1.238) !important;\n top: calc(-100vh * 0.238/2) !important;\n}","toggle":1}]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let list = [{ | |
"name": "MARIO", | |
"codeName": "mario", | |
"id": "01", | |
"full": "https://www.smashbros.com/assets_v2/img/fighter/mario/main.png", | |
"thumb": "https://www.smashbros.com/assets_v2/img/fighter/thumb_h/mario.png", | |
"icon": "https://www.smashbros.com/assets_v2/img/fighter/mario/mark.svg", | |
"description": "Cappy, Wedding and Builder outfits added" | |
}, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let matrix = new Array(width * height); | |
function coordinatesToIndex(x, y) { | |
return x + (width * y); | |
} | |
function indexToCoordinates(index) { | |
let x = index % width; | |
let y = (index - x) / width; | |
return { x: x, y: y }; |