DEV Community

Cover image for 🌀 Simulating Time Loops in a Shed: A Spin-Biased FDTD Journey
Dan McCoy
Dan McCoy

Posted on

🌀 Simulating Time Loops in a Shed: A Spin-Biased FDTD Journey

Toroidal CTC sim is a Python-based wave simulation that models directional delay in a closed-loop waveguide.

It’s built to explore what happens when you drag a refractive index perturbation around a torus—and how that messes with time-of-flight.

I’m not a physicist. I’m a shed enthusiast. But I wanted to see if I could build a desktop analogue for closed timelike curves (CTCs) using classical wave mechanics. Turns out, you can.


🔧 What It Does

  • Simulates 1D FDTD wave propagation in a toroidal geometry
  • Applies a rotating index perturbation to bias wave direction
  • Measures arrival-time shifts across a sweep of angular velocities (Ω)
  • Outputs reproducible CSV timing data, plots, and animations
  • Explores delay-based logic, recursive computation, and metaphysical edge cases

📦 Built for Reproducibility

  • All parameters in parameters.json
  • Results in timing_data.csv
  • Modular code, clean CLI, and full documentation
  • Zenodo DOI: 10.5281/zenodo.17592350

🖼️ Visuals

figure1.png

Arrival time vs. Ω — directional delay emerges as the perturbation spins


🔗 Links


🧠 Why?

Because time loops are cool.

Because reproducible metaphysics is underrated.

Because sometimes the best place to simulate a paradox is a shed.


If you're on arXiv or ResearchGate and resonate with delay-based logic, wave simulations, or metaphysical modeling—I'd love an endorsement or a nudge. This project is open-source, reproducible, and built for curious minds. Ping me or star the repo if it made you think weird thoughts.

🏷️ Tags

opensource #simulation #python #physics #fdtd #reproducibility #timetravel #computationalphysics


Top comments (0)