enable stepping through solution with slider in makie

feat/diff_Jaguar
Nikola Sebastian Munder 2025-06-07 13:33:07 +02:00
parent b675e17c88
commit 1d3540bfbe
1 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,10 @@
include("../src/AnimalFurFHN.jl") # this loads the module code
using .AnimalFurFHN
# include optional visualizer only if needed:
# include("../src/visualization.jl")
# using .Visualization
include("../src/visualization.jl")
using .Visualization
# N = 100
N = 256
# tspan = (0.0, 1000.0)
# sol = AnimalFurFHN.run_simulation(tspan, N)
@ -26,4 +26,6 @@ end
# set time to more than 1000
sol = AnimalFurFHN.run_simulationG((0.0, 10000.0), 256)
animate_gray_scott(sol, 256, var=:U)
Visualization.step_through_solution(sol, N)
# animate_gray_scott(sol, 256, var=:U)