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 FILE_A = 'a.json' | |
const FILE_B = 'b.json' | |
const files = [FILE_A,FILE_B] | |
const contents = {} | |
window.api.receive("sendReadContent", (file_name,data) => { | |
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
fetch('/load_file', { | |
method: "POST", | |
headers: {'Content-Type': 'application/json'}, | |
body: JSON.stringify({file: "public/example.json"}) | |
}).then(response => response.text()).then(a=>{console.log(a)}) |
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
from tkinter import * | |
tk=Tk() | |
WIDTH=4000 | |
HEIGHT=4000 | |
canvas=Canvas(tk,width=WIDTH,height=HEIGHT) | |
tk.title('conduction') | |
canvas.pack() | |
COLUMNS=20 |
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 numpy as np | |
import math | |
from tkinter import * | |
tk=Tk() | |
WIDTH=5000 | |
HEIGHT=4000 | |
canvas=Canvas(tk,width=WIDTH,height=HEIGHT) | |
tk.title('mesh') | |
canvas.pack() |
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
from tkinter import * | |
import random | |
import time | |
import math | |
tk=Tk() | |
WIDTH=500 | |
HEIGHT=400 | |
canvas=Canvas(tk,width=WIDTH,height=HEIGHT) | |
tk.title('Spring') | |
canvas.pack() |
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
from tkinter import * | |
import math | |
tk=Tk() | |
WIDTH=5000 | |
HEIGHT=400 | |
canvas=Canvas(tk,width=WIDTH,height=HEIGHT) | |
tk.title('Viscosity') | |
canvas.pack() | |
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
from tkinter import * | |
import time | |
import numpy as np | |
import math | |
tk=Tk() | |
WIDTH=500 | |
HEIGHT=400 | |
canvas=Canvas(tk,width=WIDTH,height=HEIGHT) | |
tk.title('Mesh') | |
canvas.pack() |
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
from tkinter import * | |
import time | |
import numpy as np | |
import math | |
tk=Tk() | |
WIDTH=500 | |
HEIGHT=500 | |
canvas=Canvas(tk,width=WIDTH,height=HEIGHT) | |
tk.title('Viscosity') | |
canvas.pack() |
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
from tkinter import * | |
import random | |
import math | |
import pickle | |
SIDE=500 | |
DIAM=5 | |
dt=.001 | |
R=8.314 |