import numpy as npimport matplotlib.pyplot as pltfrom matplotlib.backends.backend_tkagg import FigureCanvasTkAggimport tkinter as tk# Vortex simulation function using Ginzburg-Landau parametersdef generate_vortex_pattern(B, xi, lambda_, grid_size=100): x = np.linspace(-grid_size / 2, grid_size / 2, grid_size) y = np.linspace(-grid_size / 2, grid_size / 2, grid_size) X, Y = np.meshgrid(x..