made with esnextbin
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
import { | |
computed, | |
Line, | |
Node, | |
NodeProps, | |
Rect, | |
RectProps, | |
signal, | |
useScene2D, | |
vector2Signal, |
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
const FLAG = '\x1b[104m \x1b[41;30m▒▒\x1b[40m \x1b[41m \n\x1b[105m \x1b[104m \x1b[41;30m▒▒\x1b[40m \x1b[33;41m░░░░░░░░░░░░░░\n\x1b[47m \x1b[105m \x1b[104m \x1b[41;30m▒▒\x1b[40m \x1b[43m \n\x1b[47m \x1b[105m \x1b[104m \x1b[41;30m▒▒\x1b[40m \x1b[42m \n\x1b[105m \x1b[104m \x1b[41;30m▒▒\x1b[40m \x1b[44m \n\x1b[104m \x1b[41;30m▒▒\x1b[40m \x1b[45m '; |
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
.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch |
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
window.onload = () => { | |
if(typeof pyodide !== 'undefined') { | |
languagePluginLoader.then(() => { | |
document.querySelectorAll("script[src]").forEach(e => {if(e.type == 'python' || e.type == 'text/python') { | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET",e.src) | |
xhr.onreadystatechange = function () { | |
if(xhr.readyState === XMLHttpRequest.DONE && xhr.status === 200){ | |
pyodide.runPython(xhr.responseText); | |
} |