Skip to content

Instantly share code, notes, and snippets.

View pastelHex's full-sized avatar
🦎
Lizard

Ann pastelHex

🦎
Lizard
View GitHub Profile
import java.util.HashMap;
public enum EnumMap {
E1(1),
E2(2),
E3(3),
E4(4);
private int value;
public static HashMap<Integer, EnumMap> extensionMap;
@pastelHex
pastelHex / heat_simulation2d.py
Created May 8, 2019 21:29
interactive heat simulation
import numpy as np
from numpy import pi
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from matplotlib.patches import Ellipse
r=2
dt=0.1
dx=0.1
dy=0.1