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 json | |
import sys | |
import math | |
import tkinter as tk | |
from tkinter import filedialog | |
from tkinter import font as tkfont | |
class MapperApp: | |
def __init__(self, width=30, height=20, cell=22, name="my_matrix"): | |
self.w, self.h, self.cell, self.name = width, height, max(1, cell), name |